Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I was able to successfully build NavIt on Windows for Android, but with one caveat. App crashes upon start while loading libnavit.so. I traced the failure down to dynamic linking with libz.so. For some reason libz.so is being searched in
stat64("/system/lib/C:\\Android\\android-ndk\\toolchains\\arm-linux-androideabi-4.4.3\\prebuilt\\windows\\bin\\..\\..\\..\\..\\..\\platforms\\android-8\\arch-arm\\usr\\lib\\libz.so", 0xbeebb388) = -1 ENOENT (No such file or directory)
It seems cmake finds the library in C:\Android\android-ndk\platforms\android-8\arch-arm\usr\lib\libz.so and hard-codes this path.
Has anybody ran into something similar before?
I guess I should also mention my build commands. They are simply
cmake -DCMAKE_TOOLCHAIN_FILE=../src/Toolchain/arm-eabi.cmake -DCACHE_SIZE="(20*1024*1024)" -DAVOID_FLOAT=1 -DANDROID_PERMISSIONS="CAMERA" -G "MinGW Makefiles"../src