-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build errors: expression error and missing boost_program_options #21
Comments
The CMake |
Yes. Crystax 10.1.0. I have also tried building with the latest Crystax 10.3.1. I have also tried a local branch of the android-cmake submodule which merges the three pull requests we have up there (and then tried building with both 10.1.0 and 10.3.1) but no change. I've never been able to build with the official NDK (no boost). Hmm.. I did notice one difference. It looks like my CMake version on the "working" PC is 3.4.1, where the CMake version on the non-working PC was 3.4.3 or 5.x. Did something change in 3.4.2 or 3.4.3 that broke the build? |
Tried building with CMake 3.5.2 upstairs. Build succeeded. So, it's probably not the CMake version. |
So I tracked this down to the RELEASE.TXT file included in the crystax SDK. It looks like the android-cmake toolchain is expecting the official NDK release number scheme to be used in these files, but the one in crystax has "crystax-ndk-10.1.0 (64-bit)". And that's not all - it seems it's forgotten all about crystax because even if I add an r10 to the RELEASE.TXT to get past the expression error, it can't find either boost or -lcrystax. |
This may be difficult to reproduce - it only occurs on one of my PCs. I haven't determined what is different between the two.
Setup:
Crystax 10.1.0
CMake 3.4.3 (latest 3.5.x is exhibiting the same problem)
Using master of OSVR-Core, android-cmake, libusb, jsoncpp, hidapi (the git submodules are out of date, but they have the same errors)
The config scripts don't work for me, so I configured through cmake-gui
CMake target is Visual Studio 12 (2013) 32-bit.
host boost version is 1.57.0, I set CMAKE_PREFIX_PATH to the root of my boost download.
You'll note multiple errors in this log. The first is some kind of expression parsing error (search for "+0"), and the second one is about missing boost_program_options for json to c tool.
The text was updated successfully, but these errors were encountered: