taka-no-me / android-cmake

CMake toolchain file and other scripts for the Android NDK
1.22k stars 438 forks source link

Problem building with Crystax 10.1.0 and add-rendermanager branch #79

Closed russell-taylor closed 8 years ago

russell-taylor commented 8 years ago

I get the following error when trying to build. It looks from the code like maybe the first element in the + operation is empty, making the overall expression be +0 rather than 0+0 or some other number +0.

CMake Error at /home/taylorr/sensics/src/OSVR-Android-Build/android-cmake/android.toolchain.cmake:429 (math): math cannot parse the expression: "+0": syntax error, unexpected exp_PLUS, expecting exp_OPENPARENT or exp_NUMBER (1) Call Stack (most recent call first): /usr/share/cmake-3.2/Modules/CMakeDetermineSystem.cmake:98 (include) CMakeLists.txt:2 (project)

This was not an issue with bbfa867e97c69ad41d160f2b2d4d5a1241c86620, which is what I started out using to develop a RenderManager port.

russell-taylor commented 8 years ago

This is happening on Linux.

russell-taylor commented 8 years ago

Sorry, meant to create this issue on a fork. Moving over there