Hey,

I am having some trouble with Stage, and any help would be greatly
appreciated. I am running fedora 9 sulphur.

I already have player-2.1.1 successfully installed, although without the
mricp and sicklms drivers (it wouldn't install without me disabling them).

To install stage i unpacked it, exported some paths, and then ran # cmake .
which gave me the following output:

[EMAIL PROTECTED] Stage-3.0.1-Source]# export PATH=/usr/local/bin:$PATH
[EMAIL PROTECTED] Stage-3.0.1-Source]# export CPATH=/usr/local/include:$CPATH
[EMAIL PROTECTED] Stage-3.0.1-Source]# export
LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH
[EMAIL PROTECTED] Stage-3.0.1-Source]# export
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
[EMAIL PROTECTED] Stage-3.0.1-Source]# export
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
[EMAIL PROTECTED] Stage-3.0.1-Source]# cmake .
-- Stage version 3.0.1
-- Checking for OpenGL
-- OpenGL found
-- Checking for Player
-- checking for one of the modules 'playercore'
--   found playercore, version 2.1.1
--   Player headers found in /usr/local/include/player-2.1
--   Player libs found in /usr/local/lib
-- Looking for FLTK
--   found, using /usr/bin/fltk-config
-- Checking for libtool
--   found
-- Building Player plugin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/John/Stage-3.0.1-Source

I then run a # make, #make clean, and then # make install which produces
this:

[EMAIL PROTECTED] Stage-3.0.1-Source]# make
[ 61%] Built target stage
[ 63%] Built target stagebinary
[ 65%] Built target stagetest
[ 68%] Built target fasr
[ 70%] Built target lasernoise
[ 72%] Built target sink
[ 75%] Built target source
[ 77%] Built target wander
[ 79%] Built target expand
Scanning dependencies of target stageplugin
[ 81%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_driver.o
[ 84%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_blobfinder.o
[ 86%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_simulation.o
[ 88%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_laser.o
[ 90%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_fiducial.o
[ 93%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_position.o
[ 95%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_sonar.o
[ 97%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/p_speech.o
[100%] Building CXX object
libstageplugin/CMakeFiles/stageplugin.dir/stg_time.o
Linking CXX shared module libstageplugin.so
[100%] Built target stageplugin

[EMAIL PROTECTED] Stage-3.0.1-Source]# make install
[ 61%] Built target stage
[ 63%] Built target stagebinary
[ 65%] Built target stagetest
[ 68%] Built target fasr
[ 70%] Built target lasernoise
[ 72%] Built target sink
[ 75%] Built target source
[ 77%] Built target wander
[ 79%] Built target expand
[100%] Built target stageplugin
Linking CXX shared module CMakeFiles/CMakeRelink.dir/libstageplugin.so
Install the project...
-- Install configuration: ""
-- Installing /usr/local/lib/pkgconfig/stage.pc
-- Install configuration: ""
-- Installing /usr/local/bin/stage
-- Installing /usr/local/lib/libstage.so.3.0.1
-- Installing /usr/local/include/Stage-3.0/stage.hh
-- Installing /usr/local/include/Stage-3.0/option.hh
-- Installing /usr/local/include/Stage-3.0/worldfile.hh
-- Install configuration: ""
-- Install configuration: ""
-- Installing /usr/local/lib/fasr.so
-- Installing /usr/local/lib/lasernoise.so
-- Installing /usr/local/lib/sink.so
-- Installing /usr/local/lib/source.so
-- Installing /usr/local/lib/wander.so
-- Install configuration: ""
-- Installing /usr/local/share/stage/assets/stall.png
-- Installing /usr/local/share/stage/assets/death.png
-- Installing /usr/local/share/stage/assets/logo.png
-- Installing /usr/local/share/stage/assets/stagelogo.png
-- Installing /usr/local/share/stage/assets/question_mark.png
-- Installing /usr/local/share/stage/assets/rgb.txt
-- Installing /usr/local/share/stage/rgb.txt
-- Install configuration: ""
-- Install configuration: ""
-- Installing /usr/local/lib/expand.so
-- Install configuration: ""
-- Installing /usr/local/lib/libstageplugin.so
[EMAIL PROTECTED] Stage-3.0.1-Source]#

It seems like everything worked fine, however when I run the recommended
test found at http://www.irobotics.org/playerstage.html, which is # stage
worlds/fasr.world,

a  window pops up for about 1/10 of a second, then disappears, and the
following error appears:

[EMAIL PROTECTED] Stage-3.0.1-Source]# stage worlds/fasr.world
Stage 3.0.1 
 [Loading worlds/fasr.world][Include pioneer.inc][Include map.inc][Include
sick.inc]Segmentation fault

If anyone knows a workaround for this problem, any advice would be greatly
appreciated.

Thanks,
John

-- 
View this message in context: 
http://www.nabble.com/Stage-Segmentation-Fault-tp19385132p19385132.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to