WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: How to install Player from SVN source...

Re: How to install Player from SVN source...

by jiapei100 :: Rate this Message:

| View in Thread


Thank you for your prompt reply. Thank you so much.


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

-- The following drivers will not be built:
-- amtecm5 - Could not find header Device.h
-- artoolkitplus - Could not find package artoolkitplus
-- yarpimage - Could not find header yarp/os/all.h
-- unicapimage - Could not find header unicap.h
-- eedhcontroller - Disabled - probably doesn't build
-- lifomcom - Disabled by default
-- chatterbox - Experimental
-- garcia - Could not find package libgarcia
-- phidgetifk - Could not find header phidget21.h
-- reb - Disabled by default
-- segwayrmp - Disabled by default
-- robotino - Could not find header robotinocom.h
-- sr3000 - Could not find header libusbSR.h
-- flexiport - Could not find package flexiport
-- isense - Could not find header isense/isense.h
-- gbxsickacfr - Could not find package GbxSickAcfr
-- hokuyo_aist - Could not find package hokuyo_aist
-- phidgetRFID - Could not find header phidget21.h
-- service_adv_mdns - Disabled by default
-- stoc - Could not find header SVS/svsclass.h
-- postgis - Could not find header geos_c.h
-- vec2map - Could not find header geos_c.h
-- linuxwifi - Could not find header linux/wireless.h
-- rcore_xbridge - Could not find header libparticle.h
-- phidgetAcc - Could not find header phidget21.h
-- ===================



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

Really can't figure it out till now.



Regards
JIA



gbiggs wrote:
None of the items in CMake_Todo.txt are major or will prevent Player
from compiling correctly.

I suggest you perform a clean checkout of svn, then follow the
instructions in the README and INSTALL files.

Geoff

jiapei100 wrote:
>
>
> Yup, you are totally right.
>
> After I configured by "ccmake ." and then "make"
>
> I got the following errors.
>
> So, can you help to expain why it is so? I did find there is a
> CMake_Todo.txt file, which seems to summarize the defects of the current
> version of player. I doubt that the current SVN version is really able to be
> correctly compiled.
>
> Any suggestions?
>
>
> Best Regards
> JIA
>
>
> Assembler messages:
> Fatal error: can't create CMakeFiles/playererror.dir/error.o: No such file
> or directory
> make[2]: *** [libplayercore/CMakeFiles/playererror.dir/error.o] Error 1
> make[1]: *** [libplayercore/CMakeFiles/playererror.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
>
>
> gbiggs wrote:
>> That output is from the old autotools configure script. If you're using
>> Player SVN trunk, then you shouldn't be able to get that at all, as the
>> autotools scripts have been completely removed. Is your check out of
>> trunk clean, or are you actually using the Player 2.1 branch (which is
>> still using autotools). There are instructions in the wiki on how to
>> build the trunk version of Player.
>>
>> To answer your question, those are the drivers that it won't build
>> because one or more requirements are not met. Unless you need one of
>> those drivers, you don't have to do anything. If you do need one of
>> them, you should fix the dependency of it, then re-run configure.
>>
>> Geoff
>>
>> jiapei100 wrote:
>>> It seems the current player SVN is based on cmake, right?
>>>
>>> After a feasible configuration, what I've got is:
>>>
>>>
>>> The following device drivers will NOT be included:
>>> - alsa -- disabled by default; use --enable-alsa to enable
>>> - amtecM5 -- couldn't find (at least one of) Device.h
>>> - artoolkitplus -- couldn't find required package artoolkitplus >= 2.1
>>> - chatterbox -- disabled by default; use --enable-chatterbox to enable
>>> - garcia -- disabled by default; use --enable-garcia to enable
>>> - gbxsickacfr -- disabled by default; use --enable-gbxsickacfr to enable
>>> - isense -- couldn't find (at least one of) isense/isense.h
>>> - lasertoranger -- disabled by default; use --enable-lasertoranger to
>>> enable
>>> - lifomcom -- disabled by default; use --enable-lifomcom to enable
>>> - linuxwifi -- couldn't find (at least one of) linux/wireless.h
>>> - mixer -- disabled by default; use --enable-mixer to enable
>>> - nomad -- disabled by default; use --enable-nomad to enable
>>> - phidgetRFID -- couldn't find (at least one of) phidget.h
>>> - phidgetIFK -- couldn't find (at least one of) phidget.h
>>> - rcore_xbridge -- couldn't find (at least one of) libparticle.h
>>> - reb -- disabled by default; use --enable-reb to enable
>>> - robotino -- couldn't find (at least one of) robotinocom.h xtimer.h
>>> xthread.h
>>> - segwayrmp -- disabled by default; use --enable-segwayrmp to enable
>>> - service_adv_mdns -- disabled by default; use --enable-service_adv_mdns
>>> to
>>> enable
>>> - sphinx2 -- disabled by default; use --enable-sphinx2 to enable
>>> - sonartoranger -- disabled by default; use --enable-sonartoranger to
>>> enable
>>> - sr3000 -- couldn't find (at least one of) libusbSR.h
>>> - urg_nz -- disabled by default; use --enable-urg_nz to enable
>>>
>>>
>>>  Anybody help to explain what's happening here? and what should I do to
>>> remove those "couldn't" in the above?
>>
>> -------------------------------------------------------------------------
>> 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
>>
>>
>
>
> -----
> Welcome to Vision Open
> http://www.visionopen.com http://www.visionopen.com 
>

-------------------------------------------------------------------------
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
Welcome to Vision Open
http://www.visionopen.com

 « Return to Thread: How to install Player from SVN source...