adobe-flash / crossbridge

Welcome to visit the homepage!
http://www.crossbridge.io
542 stars 194 forks source link

how do i link a static lib which build by cygwin #65

Open mingye224 opened 7 years ago

mingye224 commented 7 years ago

well, i want use cgal library in actionscript. but, it can not build by crossbridge sdks, so i compiled it with cygwin and succeeded Now I need to link the CGAL library when I compile the SWC file, but it failed. So, could crossbridgeSDK use static library file with other compiler?

alexmac commented 7 years ago

If you compile a library with Cygwin you'll end up with a normal x86 binary - you need to compile the lib with alchemy to turn it into a swc.

If there are bugs preventing this library from compiling with alchemy then I think you'll be better off switching to JavaScript and using something like emscripten to compile it given that both alchemy and Flash are dead at this point