-
Notifications
You must be signed in to change notification settings - Fork 112
make error in linux #14
Comments
I also experienced the same problem. For the other people who encountered this problem, here is the solution: Just re-generate test constants definition file with following commands: src/test/bin/generate_test_constants.sh src/test/data/TestConstants.txt src/test/cpp/TestConstants.h src/test/java/com/spotify/jni/TestConstants.java This command generates After giving above commands, You can now build the project without any problem. |
It sometimes generated improperly, if you build failed, you should add manually like: also, you should add JNI_INCLUDE_DIRS JNI_LIBRARIES environment variable |
hello, I followed your comand line, but find this error:
JniHelpers/src/test/cpp/NativeObjectTest.cpp:49:24: error: ‘TEST_INTEGER’ was not declared in this scope
The text was updated successfully, but these errors were encountered: