hi, i tried as suggested, but get the same error: $ cmake -DBOOST_COMPILER=xgcc40 -DBOOST_DIR=/usr/local/include/boost-1_38 -DBOOST_VERSION=1_38 ../ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done ** Using supplied mxml library. -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE ** Error finding Wt required library: ** Could not find a boost installation in /usr/local/include/boost-1_38. ** It may be necessary to set appropriate values for the variables BOOST_DIR, BOOST_COMPILER, and BOOST_VERSION CMake Error at src/CMakeLists.txt:10 (MESSAGE): ** Wt requires the following C++ boost libraries: boost_date_time, boost_regex, and boost_program_options, boost_signals, and optionally boost_thread
All the boost files are set up in the right places. Following the boost setup guide all the tests worked fine: $ cd ~/Documents/Tutorials/Boost/ $ c++ -I /Users/khinester/downloads/boost_1_38_0 example.cpp -o example /Users/khinester/downloads/boost_1_38_0/libs/regex/build/gcc/libboost_regex-gcc-d-1_38.a $ ./example < jayne.txt Will Success Spoil Rock Hunter? So, I changed the BOOST_DIR: $ cmake -DBOOST_COMPILER=xgcc40 -DBOOST_DIR=/Users/khinester/downloads/boost_1_38_0 -DBOOST_VERSION=1_38 ../ ** Using supplied mxml library. ** Error finding Wt required library: ** Could not find a boost installation in /Users/khinester/downloads/boost_1_38_0. ** It may be necessary to set appropriate values for the variables BOOST_DIR, BOOST_COMPILER, and BOOST_VERSION CMake Error at src/CMakeLists.txt:10 (MESSAGE): ** Wt requires the following C++ boost libraries: boost_date_time, boost_regex, and boost_program_options, boost_signals, and optionally boost_thread -- Configuring incomplete, errors occurred! Still the same problem. Thanks Norman --- On Wed, 1/4/09, Wim Dumon <[email protected]> wrote: From: Wim Dumon <[email protected]> Subject: Re: [Wt-interest] Could not find a boost installation in /usr/local/include/boost-1_38/boost To: [email protected] Date: Wednesday, 1 April, 2009, 5:12 PM Norman, I think you have to add -DBOOST_COMPILER=xgcc40 I modified the wiki to reflect that. Can you confirm this works? If it would still not work, look in cmake/WtFindBoost.txt, where you can see how Wt tries to find boost. Regards, Wim. 2009/4/1 norman <[email protected]>: > Hi, > Following the > http://www.webtoolkit.eu/wt/wiki/index.php/Installing_Wt_on_Mac_OS_X_Leopard > > I got the following error: > -- <snip> ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
_______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
