Hi Rich,

Thanks for your answer. I install c++ compiler and don't work with python bindings. Any suggestions?



2011/8/27 Rich Mattes <jpgr87@gmail.com>
On 08/27/2011 09:28 AM, Rômulo Cerqueira wrote:
> How can I fix it?
>
> romulo@linux-020a:/opt/player-3.0.2> sudo cmake .
> Senha:
> -- The CXX compiler identification is unknown
> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not
> found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
> -- Player version 3.0.2
> -- Operating system is Linux
> -- Got System Processor x86_64
> -- Linux x86_64 Detected
> -- Player will be installed to /usr/local
> -- Player libraries will be in lib64
> CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37
> (GET_FILENAME_COMPONENT):
>   get_filename_component called with incorrect number of arguments
> Call Stack (most recent call first):
>   CMakeLists.txt:2 (PROJECT)
>
>
> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
> -- Large file support is disabled.
> -- ===== Client Libraries =====
> -- Python bindings for C client library will be built
> -- Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES
> PYTHON_INCLUDE_DIRS)
> -- Could NOT find Ruby (missing:  RUBY_EXECUTABLE RUBY_INCLUDE_DIR
> RUBY_LIBRARY) (found version "1.8.0")
> -- Ruby bindings for C client library will not be built - could not
> find Ruby
> -- Python bindings for C++ client library will not be built -
> playerc++ client library disabled
> -- Could NOT find Ruby (missing:  RUBY_EXECUTABLE RUBY_INCLUDE_DIR
> RUBY_LIBRARY) (found version "1.8.0")
> -- Ruby bindings for C++ client library will not be built - playerc++
> client library disabled
> -- PlayerC++ client library will not be built - STL is not available.
> -- ============================
> -- JPEG support not included.
> --
> -- ----- Processing driver make files -----
> -- checking for module 'artoolkitplus>=2.1'
> --   package 'artoolkitplus>=2.1' not found
> -- checking for module 'libgarcia'
> --   package 'libgarcia' not found
> -- checking for module 'GbxSmartBatteryAcfr=1.0.0'
> --   package 'GbxSmartBatteryAcfr=1.0.0' not found
> -- checking for module 'hokuyo_aist=1.0.0'
> --   package 'hokuyo_aist=1.0.0' not found
> -- ----- Done -----
> --
> -- ===== Drivers =====
> -- The following drivers will be built:
> -- acts
> -- amcl
> -- amtecpowercube
> -- aodv
> -- bitlogic
> -- blobposition
> -- blobtodio
> -- blobtracker
> -- bumper2laser
> -- bumpersafe
> -- bumpertodio
> -- camerauvc
> -- camerav4l
> -- camerav4l2
> -- camfilter
> -- canonvcc4
> -- clodbuster
> -- cmdsplitter
> -- cmucam2
> -- cmvision
> -- create
> -- deadstop
> -- diocmd
> -- diodelay
> -- diolatch
> -- dummy
> -- er1
> -- fakelocalize
> -- flexiport
> -- flockofbirds
> -- garminnmea
> -- gbxgarminacfr
> -- gbxsickacfr
> -- globalize
> -- goto
> -- gridmap
> -- gripcmd
> -- imgcmp
> -- imgsave
> -- inhibitor
> -- insideM300
> -- iwspy
> -- khepera
> -- laserbar
> -- laserbarcode
> -- lasercspace
> -- lasercutter
> -- laserposeinterpolator
> -- laserrescan
> -- lasersafe
> -- lasertoranger
> -- linuxjoystick
> -- mapcspace
> -- mapfile
> -- mapscale
> -- mbicp
> -- microstrain
> -- motionmind
> -- nd
> -- nomad
> -- obot
> -- opaquecmd
> -- p2os
> -- passthrough
> -- pbslaser
> -- portio
> -- ptu46
> -- rangerposeinterpolator
> -- rangertodio
> -- rangertolaser
> -- readlog
> -- relay
> -- rflex
> -- roboteq
> -- robotracker
> -- roomba
> -- rs4leuze
> -- rt3xxx
> -- searchpattern
> -- segwayrmp400
> -- serialstream
> -- serio
> -- sickLDMRS
> -- sickRFI341
> -- sicklms200
> -- sicknav200
> -- sicks3000
> -- skyetekM1
> -- sonartoranger
> -- sonyevid30
> -- speechcmd
> -- sphere
> -- sphereptz
> -- stalltodio
> -- statgrab
> -- suppressor
> -- tcpstream
> -- vec2map
> -- velcmd
> -- vmapfile
> -- wavefront
> -- wbr914
> -- writelog
> --
> -- The following drivers will not be built:
> -- AioToSonar - STL not found.
> -- accel_calib - STL not found.
> -- acr120u - Could not find header usb.h
> -- alsa - Could not find header alsa/asoundlib.h
> -- amtecm5 - Could not find header Device.h
> -- artoolkitplus - Could not find package artoolkitplus
> -- camera1394 - Could not find header libraw1394/raw1394.h
> -- cameracompress - playerjpeg is not available.
> -- cameragst - Could not find package gstreamer-base-0.10
> -- camerauncompress - playerjpeg is not available.
> -- cvcam - Could not find package opencv
> -- eedhcontroller - Disabled - probably doesn't build
> -- epuck - STL not found
> -- erratic - STL not found.
> -- festival - STL not found.
> -- garcia - Could not find package libgarcia
> -- hokuyo_aist - Could not find package hokuyo_aist
> -- imageseq - Could not find package opencv
> -- isense - Could not find header isense/isense.h
> -- kartowriter - STL not found.
> -- laserptzcloud - STL not found
> -- laservisualbarcode - Has not been updated to use dynamic message
> structures
> -- laservisualbw - Has not been updated to use dynamic message structures
> -- linuxwifi - Could not find header linux/wireless.h
> -- localbb - STL not found.
> -- mica2 - STL not found.
> -- mricp - STL not found
> -- nimu - Could not find header usb.h
> -- oceanserver - Could not find package GbxSmartBatteryAcfr
> -- phidgetAcc - Could not find header phidget21.h
> -- phidgetRFID - Could not find header phidget21.h
> -- phidgetifk - Could not find header phidget21.h
> -- postgis - STL not found
> -- postlog - Could not find package libpqxx
> -- rcore_xbridge - STL not found.
> -- reb - Disabled by default
> -- robotino - Could not find header robotinocom.h
> -- segwayrmp - Disabled by default
> -- service_adv_mdns - Disabled by default
> -- shapetracker - Could not find package opencv
> -- sicklms400 - STL not found.
> -- simpleshape - Could not find package opencv
> -- snd - STL not found
> -- sphinx2 - Disabled by default
> -- sr3000 - Could not find header libusbSR.h
> -- stoc - Could not find header SVS/svsclass.h
> -- swissranger - Could not find header libMesaSR.h
> -- unicapimage - Could not find header unicap.h
> -- upcbarcode - Could not find package opencv
> -- vfh - STL not found.
> -- videocanny - Could not find package opencv
> -- xsensmt - Disabled by default - set XSENSMT_SOURCE_DIR
> -- yarpimage - Could not find header yarp/os/all.h
> -- ===================
> --
> -- ===== Examples =====
> -- playerc++ examples will not be built - playerc++ client library is
> disabled
> -- ====================
> --
> -- ===== Player utilities =====
> -- playerjoy will not be built - playerc++ client library is disabled
> -- playerprint will not be built - playerc++ client library is disabled
> -- playerprop will not be built - playerc++ client library is disabled
> -- XMMS plugin will not be built - XMMS not found
> -- ============================
> --
> 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:
> PYTHON_INCLUDE_DIR (ADVANCED)
>    used as include directory in directory
> /opt/player-3.0.2/client_libs/libplayerc/bindings/python
> PYTHON_LIBRARY (ADVANCED)
>     linked by target "_playerc" in directory
> /opt/player-3.0.2/client_libs/libplayerc/bindings/python
>
> -- Configuring incomplete, errors occurred!

install a c++ compiler and, if you want python bindings, the python
development libraries?


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
Rômulo Guedes Cerqueira

Master Student in Electrical Engineering at UFBA
Bachelor in Computer Science at UESC-BA
GNU/Linux User #451467