I am trying to compile CLucene for iOS and run into some problems.
Here are the steps I took
- Modify CLucene CMakeLists.txt to disable multithreading
- Create the "build-ios" directory in the CLucene source directory
- Drop the cmake file from this site into the cmake directory http://code.google.com/p/ios-cmake/
- run the following command: cmake -DCMAKE_TOOLCHAIN_FILE =. / iOS.cmake -GXcode ../ "
Here is the output from this command. Can someone help me with an error?
- Toolkit using the default SDK for iOS: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk - Search for include files CMAKE_HAVE_PTHREAD_H - Search for include files CMAKE_HAVE_PTHREAD_H - not found. - Could not find Boost Boost not found using local: /Users/aschuler/Desktop/clucene-core-2.3.3.4/src/ext CMake error in / Applications / CMake 2.8-6.app/Contents/share/cmake-2.8 /Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could not find threads (missing: Threads_FOUND) Call stack (last call first): / Applications / CMake 2.8-6.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs .cmake: 252 (_FPHSA_FAILURE_MESSAGE) / Applications / CMake 2.8-6.app/Contents/share/cmake-2.8/Modules/FindThreads.cmake:157 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) src / shared / CMakeLists.txt: 38 (find_package)
- Configuring incomplete, errors have occurred!
Thank you for your help!
source share