Issue
How do I get a cpp file in my project to find the header cstdint?
Solution
The problem was that I had to add my source files to the add_library method in CMakeList.txt.
Also, I added arguments "-DANDROID_STL=c++_shared" to the android.defaultConfig.externalNativeBuild.cmake method in the build.gradle for Module.app. I think this is the default behavior and isn't necessary though.
I made the mistake of assuming the source files were added to CMakeList.txt automatically.
Answered By - Al G Johnston
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.