Archive for the ‘Alchemy Errors’ category

MS-DOS style path detected [...]

July 22nd, 2011

Full error text:

cygwin warning:
    MS-DOS style path detected: C:/alchemy/alchemy0.5a/alchemy-setup
    Preffered POSIX equivalent is: /cygdrive/c/alchemy/alchemy05.a/alchemy-setup
    CYGWIN enviroment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
        http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

What caused the warning?
I was configuring Alchemy on Windows XP and I run ./confing in $ALCHEMY_HOME direcory.

What is the solution?

  • Open System Properties (Right-click My Computer and select Properties, then select “Advanced system settings”).
  • Select the Advanced tab, then click Environment Variables…
  • Under the System Variables section, click New.
  • In the Variable name field, enter CYGWIN.
  • In the Variable value field, enter nodosfilewarning.
  • Click OK on each of the dialogs to save your settings.
  • Restart Cygwin console.

[Compiler] Error #1063: Unable to open file: … /global.abc

July 20th, 2011

Full error text:

[Compiler] Error #1063: Unable to open file: [...]/global.abc
[Compiler] Error #1063: Unable to open file: [...]/playerglobal.abc

What caused the error?
The erorr happened when I tried to compile sample C application with Alchemy.

What is the solution?
Open $ALCHEMY_HOME/achacks/hacks.pl and change line #27 from:

if(`uname` =~ /CYGWIN/)

to

if(`/bin/uname` =~ /CYGWIN/)

ERROR: “java” not available

July 20th, 2011

What caused the error?
The error happened in the Alchemy installation process when I tried to run ./confing in $ALCHEMY_HOME directory.

What is the solution?
I had installed Java JRE for Windows x64. The problem was solved by installing Java JRE for Windows x86.

RangeError: Error #1506: The specified range is invalid.

June 17th, 2011

Full error code:

RangeError: Error #1506: The specified range is invalid.
at cmodule.as3_jpeg_wrapper::FSM_imalloc$/start()
at cmodule.as3_jpeg_wrapper::FSM_pubrealloc/work()

What caused the error?
The error happened when I tried to encode more than one bitmap with Alchemy JPEG encoder.

What is the solution?
Make sure that you don’t initialize you C library more than once or use the code below to avoid this:

var cLibInit:CLibInit;
var cLib:Object;
if (cLib == null) {
    cLibInit = new CLibInit;
    cLib = cLibInit.init();            
}
Flexmaniaks on Facebook