I apologize, I was confused for a moment: I thought those topic was about compiling only.
What Iβm doing wrong now ?
~/cocos2d-x/build/linux-build/engine/tests/cpp-tests$ make -j 4
[ 1%] Built target xxhash
[ 1%] Built target tinyxml2
[ 3%] Built target recast
[ 3%] Built target unzip
[ 4%] Built target flatbuffers
[ 83%] Built target cocos2d
[100%] Built target cpp_tests
joe@PC:~/cocos2d-x/build/linux-build/engine/tests/cpp-tests$ ls
CMakeFiles cmake_install.cmake Makefile
Failure again (android project was working though):
joe@PC:~/cocos2d-x/build/linux-build$ make -j 4
[ 0%] Built target unzip
[ 0%] Built target tinyxml2
[ 1%] Built target flatbuffers
[ 3%] Built target recast
[ 4%] Built target xxhash
[ 70%] Built target cocos2d
[ 70%] Built target cpp_empty_test
[ 70%] Built target TemplateCpp
[ 79%] Built target luacocos2d
[ 83%] Built target jscocos2d
[ 84%] Built target lua_empty_test
[ 84%] Built target lua_tests
[ 85%] Built target TemplateLua
[ 86%] Built target js_tests
[ 86%] Built target TemplateJS
[100%] Built target cpp_tests
joe@PC:~/cocos2d-x/build/linux-build$ cd bin
joe@PC:~/cocos2d-x/build/linux-build/bin$ ls
Debug
joe@PC:~/cocos2d-x/build/linux-build/bin$
The older cmake build didnβt distinguish Debug and Release mode, the latest cmake build do it. So, just move into the bin/Debug dir, you will see the cpp-tests.
Yeah, there they are, thanks.
But canβt run them:
joe@PC:~/cocos2d-x/build/linux-build/bin/Debug/cpp_tests$ ./cpp_tests
./cpp_tests: error while loading shared libraries: /home/user/cocos2d-x/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so.6: file too short