Menu

#365 Trouble while installing Player 3.0.1

trunk
closed-out-of-date
player (137)
9
2014-02-16
2012-01-30
ksolid
No

Hello all,
I am fine problem to install Player 3.0.1 (for gazebo) error is bellow, more detaled are in the attached file (cmake make messages).
.
.
.
.
[ 69%] Building CXX object server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/ptz/sonyevid30.o
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sonyevid30.cc: In member function ‘int SonyEVID30::Receive(unsigned char*)’:
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sonyevid30.cc:801:7: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable]
[ 69%] Building CXX object server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/ptz/sphereptz/sphereptz.o
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sphereptz/sphereptz.cc: In member function ‘virtual int SpherePTZ::MainSetup()’:
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sphereptz/sphereptz.cc:198:26: error: aggregate ‘SpherePTZ::MainSetup()::v4l2_capability cap’ has incomplete type and cannot be defined
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sphereptz/sphereptz.cc:215:23: error: ‘VIDIOC_QUERYCAP’ was not declared in this scope
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sphereptz/sphereptz.cc:222:28: error: ‘V4L2_CAP_STREAMING’ was not declared in this scope
/home/bkhelifa/Downloads/player-3.0.1/server/drivers/ptz/sphereptz/sphereptz.cc:226:28: error: ‘V4L2_CAP_READWRITE’ was not declared in this scope
make[2]: *** [server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/ptz/sphereptz/sphereptz.o] Error 1
make[1]: *** [server/libplayerdrivers/CMakeFiles/playerdrivers.dir/all] Error 2
make: *** [all] Error 2

Any help thank you in advance,

Discussion

  • ksolid

    ksolid - 2012-01-30
     
  • ksolid

    ksolid - 2012-01-30
    • priority: 5 --> 9
     
  • ksolid

    ksolid - 2012-01-30

    by changing the include of videodev.h to videodev2.h it compile till:
    .
    .
    .
    Scanning dependencies of target player
    [ 78%] Building CXX object server/CMakeFiles/player.dir/server.o
    Linking CXX executable player
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQresultErrorMessage'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQstatus'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQsetdbLogin'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQgetvalue'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQclear'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQgetlength'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQntuples'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQexecParams'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQfinish'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQexec'
    libplayerdrivers/libplayerdrivers.so.3.0.1: undefined reference to `PQresultStatus'
    collect2: ld returned 1 exit status
    make[2]: *** [server/player] Error 1
    make[1]: *** [server/CMakeFiles/player.dir/all] Error 2
    make: *** [all] Error 2
    *** Failed ***

     
  • ksolid

    ksolid - 2012-01-31

    RESOLVED by instaling:
    libpq-dev
    libpqxx-dev

     
  • ksolid

    ksolid - 2012-02-01

    get stacked in:
    /home/bkhelifa/Downloads/gazebo-1.0.0-RC2-x86_64/src/rendering/GUIOverlay.cc: In member function ‘void gazebo::rendering::GUIOverlay::Init(Ogre::RenderTarget*)’:
    /home/bkhelifa/Downloads/gazebo-1.0.0-RC2-x86_64/src/rendering/GUIOverlay.cc:69:10: error: ‘CEGUI::AnimationManager’ has not been declared
    /home/bkhelifa/Downloads/gazebo-1.0.0-RC2-x86_64/src/rendering/GUIOverlay.cc: In member function ‘int gazebo::rendering::GUIOverlay::GetKeyCode(const string&)’:
    /home/bkhelifa/Downloads/gazebo-1.0.0-RC2-x86_64/src/rendering/GUIOverlay.cc:440:1: warning: control reaches end of non-void function [-Wreturn-type]
    make[2]: *** [src/rendering/CMakeFiles/gazebo_rendering.dir/GUIOverlay.cc.o] Error 1
    make[1]: *** [src/rendering/CMakeFiles/gazebo_rendering.dir/all] Error 2
    make: *** [all] Error 2
    bkhelifa@bkhelifa-Aspire-5755G:~/Downloads/gazebo-1.0.0-RC2-x86_64/build$

     
  • saullo

    saullo - 2013-07-24

    i install the libpq but have the same error, can help me? how i solve this?

     
  • Rich Mattes

    Rich Mattes - 2014-02-16
    • status: open --> closed-out-of-date
    • Group: --> trunk
     
  • Rich Mattes

    Rich Mattes - 2014-02-16

    So the videodev->videodev2 issue is solved in Player 3.0.2 and higher. The missing -lpq flag was fixed in Player SVN after 3.0.2 was released.

    The gazebo issues should be brought up with Gazebo at gazebosim.org, they're no longer using this issue tracker.

    If you are still seeing issues with the latest version of Player please re-open this bug.

     

Log in to post a comment.

MongoDB Logo MongoDB