Skip navigation
sascha/hdrs
Currently Being Moderated

Error during sample compile

Mar 20, 2009 12:14 PM

I've followed the install and test guide (at http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Sta rted for Window). Everything seemed to went right until I started to compile the test file (stringecho). There I get two error messages that the two files global.abc and playerglobal.abc could not be found ....

[Compiler] Error #1063: Unable to open file: /cygdrive/c/Users/sascha/Applications/Alchemy/flashlibs/global.abc.
[Compiler] Error #1063: Unable to open file: /cygdrive/c/Users/sascha/Applications/Alchemy/flashlibs/playerglobal. abc.

therefore the resulting swc file in not valid (1.23Kb). It would be cool to get some help here, I'm a total beginner with Cygwin/Unix and Alchemy and have no clue where the problem could be.

Thanks,
sascha
  • Currently Being Moderated
    Community Member
    Mar 20, 2009 2:19 PM
    There must be correct script hacks.pl
    it is in the folder / ahacks /
    if ( `uname` = ~ / CYGWIN /)
    change in
    if ( `/ bin / uname` = ~ / CYGWIN /)
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Jul 30, 2009 8:38 AM

    Thanks so much, I had this problem too but it worked like a charm. This step should really be added to the installation guide.

    |
    Mark as:
  • Currently Being Moderated
    Adobe Employee
    Jan 11, 2010 12:08 AM

    notnick, I also faced this problem. Thanks for posting the work-around.

    |
    Mark as:
  • Currently Being Moderated
    Jul 1, 2010 5:59 AM

    Thanks notnick. Solved my problem too

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Jan 18, 2011 6:06 AM

    Thanks also. Fixed mine also.


    |
    Mark as:
  • Currently Being Moderated
    Jan 30, 2011 10:19 PM

     

    When I did the change as described above

    I did get this response ...

     

    $ gcc stringecho.c -O3 -Wall -swc -o stringecho.swc

    cygwin warning:

      MS-DOS style path detected: N:/cygwin/alcsdk05/avm2-libc/include

      Preferred POSIX equivalent is: /alcsdk05/avm2-libc/include

      CYGWIN environment 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

    WARNING: While resolving call to function 'main' arguments were dropped!

     

    This is cygwin 1.7.

     

    In the end, the new stringecho.swc worked.

    EchoTest.as printed echo to the Output console as expected.

     

    My thread

    http://forums.adobe.com/thread/784401?tstart=0

    |
    Mark as:
  • Currently Being Moderated
    Jun 30, 2011 3:40 PM

    thanks, worked for me

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points