|
From: John B. <jba...@gm...> - 2011-07-15 00:12:43
|
I'm pretty sure that simple.cfg calls the stage plugin internally, which will automatically launch simple.world in X11, so you shouldn't have to run stage before running player (although I've never tried that method before). Could that be the problem? The Player driver might be confusing itself if it sees an instance of stage open but is also told to open the same instance of stage, since I know that you can't run two instances of 'player simple.cfg' at once On Jul 14, 2011, at 7:51 PM, kony wrote: > > > Richard Vaughan-2 wrote: >> >> Also, the plugin is built if Player is detected. The fact that is was >> not built implies some problems with either the Player installation >> (make install?) or pkg-config path problems. Fix that before you >> expect Stage to work. >> >> - rtv >> >> > > So, I've tried to follow the whole build path from scratch; This is what I > exactly did and what I got. Apparently the result is different a bit, but > still it is not perfect. > > export INSTALL_DIR=/Users/konrad/Applications/playerstage5 > mkdir $INSTALL_DIR > > export CXXFLAGS="-arch x86_64" > > tar xvzf playerstage.tar.gz > mv playerstage playerstage-svn > cd ./playserstage-svn/code/player/trunk/ > mkdir build > cd build > cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_OSX_ARCHITECTURES=x86_64 > -DBUILD_PLAYERCC_BOOST=OFF-DPLAYER_EXTRA_INCLUDE_DIRS=/opt/local/include > -DPLAYER_EXTRA_LIB_DIRS=/opt/local/lib/ ../ > make > make install > > wget > http://193.166.3.2/pub/gnu/easysw/fltk/snapshots/fltk-1.3.x-r8207.tar.bz2 > tar xvzf fltk-1.3.x-r8207.tar.bz2 > cd fltk-1.3.x-r8207 > ./configure --with-archflags="-arch x86_64" --prefix=$INSTALL_DIR > > git clone https://github.com/rtv/Stage.git > cd Stage > mkdir build > cd build > export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig/ > cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_OSX_ARCHITECTURES=x86_64 > ../ > > among other I've got > -- checking for one of the modules 'playercore>=2.1.0' > -- * Player version 3.1.0-svn detected at > /Users/konrad/Applications/playerstage5 > -- PLAYER_CFLAGS: > -I/Users/konrad/Applications/playerstage5/include/player-3.1 > -- PLAYER_LDFLAGS: > -L/Users/konrad/Applications/playerstage5/lib;-lplayercore;-lpthread;-lltdl;-ldl;-lplayerinterface;-lplayercommon > -- Installation path > CMAKE_INSTALL_PREFIX=/Users/konrad/Applications/playerstage5 > > i.e. player has been detected correctly (I guess) > then, > > make > > hmm, there is no stageplugin done, so > > cd .. > uncomment CMakeLists.txt lines: 197 - 199 > cd build > rm -rf * > cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_OSX_ARCHITECTURES=x86_64 > ../ > make > > oops, there is a misspel, so let us fix it > > perl -pi'*.bak' -e 's/PLAYER_CAPABILTIES_REQ/PLAYER_CAPABILITIES_REQ/g' > ../libstageplugin/p_simulation.cc > > make > make install > > Let' us to check the builds: > > cd ../worlds/ > export DYLD_LIBRARY_PATH=$INSTALL_DIR/lib/ > export PATH=$INSTALL_DIR/bin:$PATH > > stage simple.world > > ok - shows static scene, robot is not moving > > player simple.cfg > > not ok - although the window shows up but it immediately get freeze > (cursor is a nice rainbow circle - mac os x specific) > > ;( > > -- > View this message in context: http://old.nabble.com/Player-3.1.0-and-Stage-4.0.1-on-Mac-OS-X-Snow-Leopard-is-it-possible--tp32062219p32065295.html > Sent from the playerstage-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users |