-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling code from the thread and the master tag version 4.0.1 #11
Comments
I think PLAYER_CAPABILITIES_REQ is required by the recent development version of Player. Please tell me if this is wrong. |
PLAYER_CAPABILITIES_REQUEST is only defined in the SVN version of Player. PLAYER_CAPBILTIES_REQUEST is the old wrong spelling, I stupidly deleted it at first, but I just replaced today it with the intent of removing it at a later time (v4.0 maybe). |
I'm having the same issue. Not sure I understand jpgr87's comment. Regardless, I guess I'll give 4.00 a try. |
I downloaded the current release of the svn repository player on http://sourceforge.net/ now everything is going correctly with the version of stage 4.0.1 |
Stage 4.0.1 still does not successfully compile for me, even though I have Player 3.0.2 installed. [100%] /home/peter/workspace/school/player-stage/Stage/libstageplugin/p_graphics.cc: In member function ‘virtual int InterfaceGraphics2d::ProcessMessage(QueuePointer&, player_msghdr_t_, void_)’: This is from a clean build. |
I am setup player 3.1 |
A workaround for the multiline issue can be found at richmattes@e133adf The CAPABILITIES_REQ issue should only happen if you are compiling the latest Stage snapshot against Player 3.0.2 or less. Using the latest Stage snapshot with the latest Player svn will fix the issue. |
To repeat jpgr87's advice when he closed this issue earlier. Please use the latest subversion Player with Stage github master for best results. |
I am having the same problem, could some tell me how can I get player 3.1 (or later)? I have only managed to find 3.0.2 (http://sourceforge.net/projects/playerstage/files/Player/) |
3.1 is the moniker for the current SVN trunk. Until 3.1 is formally released you can check out the source from svn |
Where exactly is it located? As far as I understand the recent one should be in trunk (I'm not experienced with svn, maybe I'm wrong) http://playerstage.svn.sourceforge.net/viewvc/playerstage/code/player/trunk/ , but if I view the Changelog then I only see 3.0.2 |
You're right, it's the one in trunk. The changelog doesn't get updated until a release happens, and the last release was 3.0.2. When you run CMake you'll see that the project is actually building with the version set to 3.1.0-svn |
When I try to use "make" I get the following error: |
Please use the player mailing lists to find answers to Player build problems. |
i had the problem while building stage cmake doesn't include the right path the new player version. But please check in players 3.1 and sourcecode that is able to compile!!! |
It sounds like you ran "cmake" or "ccmake" with Player 3.0 installed, and then upgraded to 3.1. You should delete CMakeCache.txt and re-run cmake to force cmake to re-discover system dependencies. There's nothing to change in Stage, CMakeCache.txt is auto-generated. |
When I am trying to build code from the master branch get (The same problem occurs when building version 4.0.1 with the label):
[87%] Building CXX object libstageplugin / CMakeFiles / stageplugin.dir / p_gripper.o
[89%] Building CXX object libstageplugin / CMakeFiles / stageplugin.dir / p_simulation.o
[91%] Building CXX object libstageplugin / CMakeFiles / stageplugin.dir / p_fiducial.o
[93%] Building CXX object libstageplugin / CMakeFiles / stageplugin.dir / p_position.o
[94%] Building CXX object libstageplugin / CMakeFiles / stageplugin.dir / p_ranger.o
/ Home / evgeny / software / libs / Stage / libstageplugin / p_simulation.cc: In member function 'virtual int InterfaceSimulation:: ProcessMessage (QueuePointer &, player_msghdr_t , void *)':
/ Home / evgeny / software / libs / Stage / libstageplugin / p_simulation.cc: 155:52: error: 'PLAYER_CAPABILITIES_REQ' was not declared in this scope
/ Home / evgeny / software / libs / Stage / libstageplugin / p_simulation.cc: 451:26: warning: dereferencing type-punned pointer will break strict-aliasing rules
make [2]: ** [libstageplugin / CMakeFiles / stageplugin.dir / p_simulation.o] Error 1
to use the simulator downloaded and installed version 4.00 - it all builds and runs fine
The text was updated successfully, but these errors were encountered: