Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error on OS X with Flex 4.6 #304

Open
fantastic-fox opened this issue Jun 9, 2015 · 6 comments
Open

Compile error on OS X with Flex 4.6 #304

fantastic-fox opened this issue Jun 9, 2015 · 6 comments

Comments

@fantastic-fox
Copy link

I'm getting a bunch of build errors, any idea what might be causing this?

FLEXPATH=/flex_sdk_4 sh ./build.sh
Compiling bin/debug/flashls.swc
Loading configuration file /flex_sdk_4/frameworks/flex-config.xml
/flashls/src/org/mangui/hls/playlist/Manifest.as(12): col: 32 Error: Definition org.mangui.hls.event:HLSEvent could not be found.

import org.mangui.hls.event.HLSEvent;
                           ^
@mangui
Copy link
Owner

mangui commented Jun 9, 2015

Hi @fantastic-fox
strange ...
I am using AIR SDK on mac to compile flashls
http://www.adobe.com/devnet/air/air-sdk-download-mac.html
I downloaded Flex SDK but it requires me to install a 32bit JVM
Error: This Java instance does not support a 32-bit JVM

will try on a linux machine + Flex later on, I don't have any in hands right now

@fantastic-fox
Copy link
Author

I am using AIR SDK on mac to compile flashls

Ok, using the AIR SDK it works without an issue. Thank you!

@aevange
Copy link
Contributor

aevange commented Jun 15, 2015

I am running into this compilation issue as well.

You should be able to compile without installing the 32-bit version of if you just comment out part of the compc file the following section:

if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
D32='-d32'
fi

see
http://stackoverflow.com/questions/13302427/mxmlc-in-flex-sdk-4-5-doesnt-work-on-mac-os-10-8
JamesMGreene/grunt-mxmlc#3

@mangui
Copy link
Owner

mangui commented Jun 18, 2015

FYI I am able to successfully compile flashls using flex_sdk_4.6 on linux/x86_64

@mangui
Copy link
Owner

mangui commented Jun 29, 2015

i just tested compiling using flex_sdk_4.6 on OS-X and it is now working fine.

FLEXPATH=../../../app/flex_sdk_4.6/ sh ./build.sh
Compiling bin/release/flashlsChromeless.swf
Chargement du fichier de configuration /Users/g.dupontavice/workdir/app/flex_sdk_4.6/frameworks/flex-config.xml
/Users/g.dupontavice/workdir/github/flashls/src/org/mangui/chromeless/ChromelessPlayer.as: Avertissement: Cette unité de compilation ne disposait pas d'entrée factoryClass indiquée dans les métadonnées Frame en vue de charger les bibliothèques d'exécution partagées configurées. Pour compiler sans bibliothèque d'exécution partagée, définissez l'option -static-link-runtime-shared-libraries sur vraie ou désactivez l'option -runtime-shared-libraries.

/Users/g.dupontavice/workdir/github/flashls/bin/release/flashlsChromeless.swf (50715 octets)

@hparra
Copy link

hparra commented Jul 28, 2015

Strange error, but that Event is not being used in file, so commenting it out also works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants