« Return to Thread: How to install Player from SVN source...
gbiggs wrote:I highly recommend you start performing an out-of-source build, rather
than doing an in-source build. It keeps your source tree clean.
On to the specific problems:
1) You should run cmake instead of ccmake and look for the lines
relating to its search for the Boost libraries, and what it found. This
will give more detail. Also, run make in verbose mode by using
"VERBOSE=1 make", then post the command line that gives the error.
2) You need to add the location of the artoolkitplus pkg-config file to
your PKG_CONFIG_PATH environment variable. It will probably be something
like /usr/local/lib/pkgconfig. So something like the following should work:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH
Geoff
jiapei100 wrote:
>
>
> Thank you for your prompt reply. Thank you so much. :clap:
>
>
> Yes, I did follow your suggestion and grab the most recent SVN player half
> an hour ago (2008-10-28), and tried two ways to build the source:
>
>
> 1)
> cd player-svn
> ccmake .
> make
> I got the errors as
>
> [ 85%] Building CXX object
> examples/libplayerc++/CMakeFiles/example1.dir/example1.o
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:2:28:
> error: boost/signal.hpp: No such file or directory
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:3:26:
> error: boost/bind.hpp: No such file or directory
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:
> In function ‘int main(int, char**)’:
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:72:
> error: ‘bind’ is not a member of ‘boost’
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:78:
> error: ‘bind’ is not a member of ‘boost’
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:78:
> error: ‘ref’ is not a member of ‘boost’
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:79:
> error: ‘bind’ is not a member of ‘boost’
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:79:
> error: ‘ref’ is not a member of ‘boost’
> /home/jiapei/Tools/playerstagegazebo/player-svn/examples/libplayerc++/example1.cc:105:
> error: ‘bind’ is not a member of ‘boost’
> make[2]: *** [examples/libplayerc++/CMakeFiles/example1.dir/example1.o]
> Error 1
> make[1]: *** [examples/libplayerc++/CMakeFiles/example1.dir/all] Error 2
> make: *** [all] Error 2
>
>
> But, during "ccmake ." step, what I've got in the advanced mode "t" is
>
> Boost_INCLUDE_DIR /usr/local/include/boost-1_36
> Boost_LIBRARY_DIRS /usr/local/lib
> Boost_SIGNALS_LIBRARY
> /usr/local/lib/libboost_signals-gcc42-mt-1_36.so
> Boost_SIGNALS_LIBRARY_DEBUG Boost_SIGNALS_LIBRARY_DEBUG-NOTFOUND
> Boost_SIGNALS_LIBRARY_RELEASE
> /usr/local/lib/libboost_signals-gcc42-mt-1_36.so
> Boost_THREAD_LIBRARY
> /usr/local/lib/libboost_thread-gcc42-mt-1_36.so
> Boost_THREAD_LIBRARY_DEBUG Boost_THREAD_LIBRARY_DEBUG-NOTFOUND
> Boost_THREAD_LIBRARY_RELEASE
> /usr/local/lib/libboost_thread-gcc42-mt-1_36.so
>
>
> 2)
> cd player-svn
> cmake .
>
> What I've got is
>
> -- ----- Processing driver make files -----
> -- checking for module 'artoolkitplus'
> -- package 'artoolkitplus' not found
> -- checking for module 'libgarcia'
> -- package 'libgarcia' not found
> -- checking for module 'flexiport'
> -- package 'flexiport' not found
> -- checking for module 'GbxSickAcfr'
> -- package 'GbxSickAcfr' not found
> -- checking for module 'hokuyo_aist'
> -- package 'hokuyo_aist' not found
> -- ----- Done -----
>
> and
>
> -- ----- Processing driver make files -----
> -- checking for module 'artoolkitplus'
> -- package 'artoolkitplus' not found
> -- checking for module 'libgarcia'
> -- package 'libgarcia' not found
> -- checking for module 'flexiport'
> -- package 'flexiport' not found
> -- checking for module 'GbxSickAcfr'
> -- package 'GbxSickAcfr' not found
> -- checking for module 'hokuyo_aist'
> -- package 'hokuyo_aist' not found
> -- ----- Done -----
>
>
>
> Although I've already successfully installed "artoolkitplus" under
> /usr/local, with head files in
> /usr/local/include/ARToolKitPlus and libraries under /usr/local/lib,
> I still get the error
> -- checking for module 'artoolkitplus'
> -- package 'artoolkitplus' not found
>
>
> It's pretty strange to always have such configuration problems.
>
> BTW, I'm using Ubuntu 8.04 and cmake 2.6
>
> jiapei@jiapei-laptop:~/Tools/playerstagegazebo/player-svn$ uname -a
> Linux jiapei-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
> i686 GNU/Linux
> jiapei@jiapei-laptop:~/Tools/playerstagegazebo/player-svn$ cmake --version
> cmake version 2.6-patch 2
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users
« Return to Thread: How to install Player from SVN source...
| Free embeddable forum powered by Nabble | Forum Help |