Repository navigation
|
Hello, adt has a new target ane -platform "Linux-x86-64" since Air 33.1.1.533, but how to create an Air Native Extensions for Linux (Ubuntu for example) ? I tried to create a static library *.a in C like iOS (and a shared library *.so too) but it doesn't work ? Thanks |
Replies: 9 comments 14 replies
|
Any help ? |
|
Hi It should be a dynamic/shared library, .so file. If you're using C++ then the only thing to watch out for is the name decoration, so e.g. declare any exported functions as For example: Looking at one of our demos, we had the build commands of: I believe the Also just looking at your code: we don't clean up any memory so you may want to free the structure that you malloced, within the context finalizer. Or if you know all the details at compile-time then you can use static/global memory for them, e.g. |
|
I tried but I have this error to compile a captive runtime : |
|
the same code work on Windows, I don't understand...
for the ane need a platform.xml ? |
|
Thanks, I will wait an update. |
|
Great job, adl and adt work now, thanks. |
|
Great, adl return |
|
The Captive Runtime created on Ubuntu 20 doesn't work on Ubuntu 16. and adl return : |
|
On Fedora 34, I have this error : I need to install : |
Great job, adl and adt work now, thanks.
Any news about Ubuntu 20 ?