Hello,
After a short break ;) I finally managed yesterday to build Wt, although the
procedure seems a bit hackish in that I had to modify the WtFindBoost.txt which
is in the cmake directory so that:
diff --git a/cmake/WtFindBoost.txt b/cmake/WtFindBoost.txt
index ad5801a..acba146 100644
--- a/cmake/WtFindBoost.txt
+++ b/cmake/WtFindBoost.txt
@@ -24,15 +24,11 @@
FIND_PATH(BOOST_INCLUDE_DIRS
boost/lexical_cast.hpp
PATHS
- ${BOOST_DIR}/include
- ${BOOST_DIR}/include/${BOOST_VERSION}
- ${BOOST_DIR}/include/boost-${BOOST_VERSION}
- ${BOOST_DIR}
- NO_DEFAULT_PATH
+ /usr/local/include/boost-1_38/boost
)
#SET (BOOST_LIB_DIRS "${BOOST_DIR}/lib ${BOOST_DIR}/lib64")
-SET (BOOST_LIB_DIRS ${BOOST_DIR}/lib)
+SET (BOOST_LIB_DIRS /usr/local/lib)
IF(WIN32)
After which:
$ rm -rf build
$ mkdir build
$ cd build
$ cmake -DBOOST_VERSION=1_38 -DBOOST_COMPILER=xgcc40 ../
-- 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
** Enabling multi threading.
** Disabling FastCGI.
** Enabling built-in httpd.
-- ** hangman example needs mysql++-2.x library... Skipping.
-- ** Wt/Qt interopability example (wtwithqt) needs Qt4... Skipping.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/khinester/sandboxes/wt/build
Now on to the next stage, building my application in Wt.
Have I omitted anything from my configuration that I should be aware of?
Many thanks
Norman
--- On Thu, 2/4/09, norman <[email protected]> wrote:
> From: norman <[email protected]>
> Subject: Re: [Wt-interest] Could not find a boost installation in
> /usr/local/include/boost-1_38/boost
> To: [email protected]
> Date: Thursday, 2 April, 2009, 11:31 AM
>
> What was the procedure of installing boost correctly?
>
> --- On Thu, 2/4/09, Mykola Konyk <[email protected]>
> wrote:
>
> > From: Mykola Konyk <[email protected]>
> > Subject: Re: [Wt-interest] Could not find a boost
> installation in /usr/local/include/boost-1_38/boost
> > To: [email protected]
> > Date: Thursday, 2 April, 2009, 3:03 AM
> > Hi Norman,
> >
> >
> > On my 10.5 I installed 1.38 boost to /usr/local
> > (that is, boost headers are in
> /usr/local/include/boost..
> > and boost libs are in /usr/local/lib/..)
> > Then did the described cmake
> > -DBOOST_COMPILER=xgcc40
> > -DBOOST_DIR=/usr/local -DBOOST_VERSION=1_38 ../
> >
> >
> > .. and it all worked.
> >
> >
> > Hope this helps,
> > mykola
> >
> >
> > -----Inline Attachment Follows-----
> >
> >
> ------------------------------------------------------------------------------
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > 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
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest