Boost logo

Boost-Build :

Subject: Re: [Boost-build] setup the environment variable correctly on OS X 10.4
From: norman_khine_at_[hidden]
Date: 2009-04-02 05:25:23


--- On Wed, 1/4/09, Vladimir Prus <ghost_at_[hidden]> wrote: From: Vladimir Prus <ghost_at_[hidden]> Subject: Re: [Boost-build] setup the environment variable correctly on OS X 10.4 To: "Boost.Build developer's and user's list" <boost-build_at_[hidden]> Date: Wednesday, 1 April, 2009, 7:23 PM On Wednesday 01 April 2009 17:01:56 norman wrote: > But, I would like to know what do I need to do to setup the > environment variable correctly so that I don't need to > specify -I /Path/to/Boost when compiling. > > Do I have to update my: > > $ vim ~/.profile > > DYLD_LIBRARY_PATH= > export DYLD_LIBRARY_PATH >  > What should be the correct way to do this? Well, that's not a really Boost.Build question, I think. 'man gcc' will probably tell what variable can be used to specify include paths, it's C_INCLUDE_PATH and CPP_INCLUDE_PATH for me. OK, I will look into this. But could you tell me how to make the following work: From the setup tutorial on the boost site, section 6.2 $ c++ -I /Users/khinester/Installed/include/boost-1_38 example5.cpp -o example6 /Users/khinester/downloads/boost_1_38_0/libs/regex/build/gcc/libboost_regex-gcc-d-1_38.a $ ./example6 < jayne.txt Will Success Spoil Rock Hunter? So far so good. But when I try to setup Wt, using the http://www.webtoolkit.eu/wt/wiki/index.php/Installing_Wt_on_Mac_OS_X_Leopard $ cd ~/sandboxes/wt/ $ rm -rf build $ mkdir build $ cd build $ cmake -DBOOST_DIR=/Users/khinester/Installed/include ../ .. ** Error finding Wt required library: ** Could not find a boost installation in /Users/khinester/Installed/include. ** 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 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: BOOST_INCLUDE_DIRS used as include directory in directory /Users/khinester/sandboxes/wt used as include directory in directory /Users/khinester/sandboxes/wt/src used as include directory in directory /Users/khinester/sandboxes/wt/examples used as include directory in directory /Users/khinester/sandboxes/wt/src/web used as include directory in directory /Users/khinester/sandboxes/wt/src/Wt -- Configuring incomplete, errors occurred! I know this post is more to do with setting up Wt rather than boost, but for some reason or another I cannot get Wt to find the BOOST_DIR Any advise much appreciated. Norman - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk