-
Notifications
You must be signed in to change notification settings - Fork 0
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
Using native libraries #13
Comments
C++ dependency In c++ compile is needed into dynamic libraries, that contain the functionality of the code, meaning you don't use What you get are these files: (Hopefully they will work and are the actually intended lib output) On mac the include /usr/local/include needs to specified as an includePath in the .vscode/c_cpp_properties.json, otherwise VSCode complains. I learned from this video that, you take the lib and include folder of a c++ project and put into a folder in your own project. |
I see the best strategy right now is to use as little dependencies as possible, so the solution can be compiled to as many platforms as possible and used. |
Setup cpp -> haxe (-> cpp/objC)
|
Using native libraries
The current understanding (unfortunately) is that you cannot use a C# dependency, and target Java in the compile. Your solution become specific and tied to the dependency's platform. In the C, C++, Objective-C realm it seem to possible to a great extend though - to pick an Objective-C dependency and then consume the project later on in C++.
I still need to learn and understand more about Haxe and it's limitations.
The text was updated successfully, but these errors were encountered: