cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android/toolchain-android.cmake
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_MODULE_PATH=/opt/android/wt/cmake
-DSHARED_LIBS=OFF -DENABLE_POSTGRES=false -DCMAKE_INSTALL_PREFIX=/opt/
-DANDROID_SDK_DIR=/opt/android/android/android-sdk-linux_x86
-DANDROID_NDK_TOOLS_DIR=/opt/android/android/android-ndk-r4-crystax/build/tools
-DANDROID_STAGING_DIR=/opt/android/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0
-DANDROID_SDK_TARGET_ID=8 -DBOOST_ROOT=/opt/android/boost ..
-DBOOST_INCLUDEDIR=/opt/android/boost/include/boost-1_47
-DBOOST_LIBRARYDIR=/opt/android/boost/lib -DBOOST_COMPILER=gcc44
-DBOOST_VERSION=1_47 -DTHREADS_PTHREAD_ARG=-rpath




rashad@rashad-laptop:/opt/android/wt/build$ cmake
-DCMAKE_TOOLCHAIN_FILE=/opt/android/toolchain-android.cmake
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_MODULE_PATH=/opt/android/wt/cmake
-DSHARED_LIBS=OFF -DENABLE_POSTGRES=false -DCMAKE_INSTALL_PREFIX=/opt/
-DANDROID_SDK_DIR=/opt/android/android/android-sdk-linux_x86
-DANDROID_NDK_TOOLS_DIR=/opt/android/android/android-ndk-r4-crystax/build/tools
-DANDROID_STAGING_DIR=/opt/android/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0
-DANDROID_SDK_TARGET_ID=8 -DBOOST_ROOT=/opt/android/boost ..
-DBOOST_INCLUDEDIR=/opt/android/boost/include/boost-1_47
-DBOOST_LIBRARYDIR=/opt/android/boost/lib -DBOOST_COMPILER=gcc44
-DBOOST_VERSION=1_47 -DTHREADS_PTHREAD_ARG=-rpath
CMake Error at CMakeLists.txt:318 (MESSAGE):
  Could not find a boost installation in /opt/android/boost.



  There are two methods in Wt to find boost:



  1.  Find boost through cmake (recommended)

  This requires cmake 2.6, and is in that case the default (unless
  BOOST_COMPILER or BOOST_VERSION is defined).  This method requires a
  multi-threaded boost installation.

  You may need to add your boost version number to
Boost_ADDITIONAL_VERSIONS,
  and/or set BOOST_PREFIX to the location where boost is installed.



  2.  Use the Wt-proprietary method to find boost.

  This requires you to define three variables:

  BOOST_PREFIX: set to the directory where you installed boost

  BOOST_COMPILER: set to the compiler signature as you find them in library
  names (e.g.: gcc42)

  BOOST_VERSION: set to the boost version, again as you find them in the
  library names (e.g.: 1_38)



  Note 1: WT_BOOST_DISCOVERY is the variable that selects the boost
discovery
  method.  When set to false, method 1 is used (default if cmake version is
  recent enough and BOOST_COMPILER and BOOST_VERSION are not defined).  When
  set to true, method 2 is used.

  Note 2: the code to discover boost is located in cmake/WtFindBoost.txt

  Note 3: on windows, set BOOST_PREFIX to the full path, eg c:/Program
  Files/boost/boost_1_38



  Wt requires the following C++ boost libraries: date_time, regex,
  program_options, signals, and optionally thread


-- Configuring incomplete, errors occurred!



-- 
Thanks && Regards
Rashad
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to