-
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
compiling error #5
Comments
The PLAYER_GRAPHICS2D_CMD_MULTILINE command is in the Player svn, but not 3.0.2. I surrounded the sections that referenced it with #ifdefs, but I must not have submitted a pull request. Pulling commit e133adf from my fork should fix it. |
I've try with the Player svn (3.0.3-svn) and still having the same problem. Although if I use your commit, as you said, it works. Thank you. |
Just an fyi, the latest svn version of Player is the trunk version (3.1.0-svn) |
Ups, sorry, I've update to the LAST trunk version and the problem has gone. Thank you again |
Hello, when I use your p_graphic.cc I get this: boris@boris: |
I am new, so I dont know how to fix this... |
Hy, boris@boris:/usr/local/share$ player I can not break this loop of fails... |
This isn't an appropriate forum to discuss runtime errors; this bug only applies to compilation errors in Stage's p_graphics.cc. I recommend that you check the Player documentation and tutorials at http://playerstage.sourceforge.net/wiki/Tutorials. Specifically, you should look at http://playerstage.sourceforge.net/wiki/Local_installation for help to solve your current problem (you need to set the LD_LIBRARY_PATH environment variable to reflect where you installed Player's libraries). |
I am sorry for inconvenience, thx!!! |
on Mac OS 10.6.6, compiling rtv-Stage-508538b I got this error:
[ 98%] Building CXX object libstageplugin/CMakeFiles/stageplugin.dir/p_graphics.o
/rtv-Stage-508538b/libstageplugin/p_graphics.cc: In member function ‘virtual int InterfaceGraphics2d::ProcessMessage(QueuePointer&, player_msghdr_t_, void_)’:
/rtv-Stage-508538b/libstageplugin/p_graphics.cc:236: error: ‘PLAYER_GRAPHICS2D_CMD_MULTILINE’ was not declared in this scope
/rtv-Stage-508538b/libstageplugin/p_graphics.cc: In member function ‘virtual void PlayerGraphics2dVis::RenderItem(Message&)’:
/rtv-Stage-508538b/libstageplugin/p_graphics.cc:277: error: ‘PLAYER_GRAPHICS2D_CMD_MULTILINE’ was not declared in this scope
/rtv-Stage-508538b/libstageplugin/p_graphics.cc:278: error: ‘player_graphics2d_cmd_multiline_t’ was not declared in this scope
/rtv-Stage-508538b/libstageplugin/p_graphics.cc:279: error: ‘data’ was not declared in this scope
s/rtv-Stage-508538b/libstageplugin/p_graphics.cc:280: error: expected type-specifier before ‘player_graphics2d_cmd_multiline_t’
/rtv-Stage-508538b/libstageplugin/p_graphics.cc:280: error: expected
>' before ‘player_graphics2d_cmd_multiline_t’ /rtv-Stage-508538b/libstageplugin/p_graphics.cc:280: error: expected
(' before ‘player_graphics2d_cmd_multiline_t’/rtv-Stage-508538b/libstageplugin/p_graphics.cc:280: error: expected primary-expression before ‘>’ token
/rtv-Stage-508538b/libstageplugin/p_graphics.cc:280: error: expected `)' before ‘;’ token
make[2]: *** [libstageplugin/CMakeFiles/stageplugin.dir/p_graphics.o] Error 1
make[1]: *** [libstageplugin/CMakeFiles/stageplugin.dir/all] Error 2
make: *** [all] Error 2
I'm getting the same compiling error if I work with Stage-4.0.0 or the latest version cloned with git. But Stage 3.2.2 works fine for me.
The text was updated successfully, but these errors were encountered: