ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thanks all for answering my question.
I will try to answer to all and ask new questions while im at it :)
Basically the segmentation fault I mention is in a thread related function of point greys library. triclopsSetMaxThread().
Regarding the sugestion of Bram van de Klundert:
This is not an option since i need to use the library provided by point grey to perform stereo calculation. I mean, i could just implement image acquisition with libdc1394 but for stereo calculation i would have to use triclops and the problem would still exist.
Regarding tfoote
Ok. Disabling boost is not an option. Just a question: i do need roscpp for making a publisher in c++ right?
Regarding dornhedge
I took a look at what the Makefile (or cmake) is doing (using your verbose). Basically, the problem i found is that (after i have added all required rosdeps) the make is actually doing the following (please be patient its a long instruction). I just found that if i take away the boost related libs (I will highlight them in bold for easy identification) (i did this mannually) the segmentation fault problem disapears.
This is why i wanted to disable boost in the first place.
/usr/bin/g++ -Wl,-rpath,/home/mike/workingcopy/libdc1394v2/libdc1394v2/lib -Wl,-rpath,/opt/ros/diamondback/stacks/image_common/camera_calibration_parsers/lib -Wl,-rpath,/opt/ros/diamondback/stacks/common/yaml_cpp/yaml-cpp/lib -Wl,-rpath,/opt/ros/diamondback/stacks/image_common/image_transport/lib -Wl,-rpath,/opt/ros/diamondback/stacks/common/pluginlib/lib -Wl,-rpath,/opt/ros/diamondback/stacks/common/tinyxml -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/utilities/message_filters/lib -Wl,-rpath,/opt/ros/diamondback/stacks/common_msgs/sensor_msgs/lib -Wl,-rpath,/opt/ros/diamondback/stacks/driver_common/dynamic_reconfigure/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/lib -Wl,-rpath,/opt/ros/diamondback/stacks/vision_opencv/cv_bridge/lib -Wl,-rpath,/opt/ros/diamondback/stacks/vision_opencv/opencv2/opencv/lib -Wl,-rpath,/opt/ros/diamondback/stacks/common_msgs/sensor_msgs/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/tools/rosbag/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/tools/topic_tools/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_serialization/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/utilities/xmlrpcpp/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/tools/rosconsole/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/utilities/rostime/lib -Wl,-rpath,/opt/ros/diamondback/stacks/ros_comm/utilities/cpp_common/lib -Wl,-rpath,/opt/ros/diamondback/ros/core/roslib/lib -Wl,-rpath,/opt/ros/diamondback/ros/tools/rospack/lib -pthread CMakeFiles/xb3.dir/src/xb3.o -o ../bin/xb3 -rdynamic -L/home/mike/workingcopy/libdc1394v2/libdc1394v2/lib -L/opt/ros/diamondback/stacks/image_common/camera_calibration_parsers/lib -L/opt/ros/diamondback/stacks/common/yaml_cpp/yaml-cpp/lib -L/opt/ros/diamondback/stacks/image_common/image_transport/lib -L/opt/ros/diamondback/stacks/common/pluginlib/lib -L/opt/ros/diamondback/stacks/common/tinyxml -L/opt/ros/diamondback/stacks/ros_comm/utilities/message_filters/lib -L/opt/ros/diamondback/stacks/common_msgs/sensor_msgs/lib -L/opt/ros/diamondback/stacks/driver_common/dynamic_reconfigure/lib -L/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/lib -L/opt/ros/diamondback/stacks/vision_opencv/cv_bridge/lib -L/opt/ros/diamondback/stacks/vision_opencv/opencv2/opencv/lib -L/opt/ros/diamondback/stacks/ros_comm/tools/rosbag/lib -L/opt/ros/diamondback/stacks/ros_comm/tools/topic_tools/lib -L/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_serialization/lib -L/opt/ros/diamondback/stacks/ros_comm/utilities/xmlrpcpp/lib -L/opt/ros/diamondback/stacks/ros_comm/tools/rosconsole/lib -L/opt/ros/diamondback/stacks/ros_comm/utilities/rostime/lib -L/opt/ros/diamondback/stacks/ros_comm/utilities/cpp_common/lib -L/opt/ros/diamondback/ros/core/roslib/lib -L/opt/ros/diamondback/ros/tools/rospack/lib -L/usr/local/lib/triclops -L/home/mike/workingcopy/arpua/sensors/camera/xb3/lib -ldc1394 -lcamera_calibration_parsers -lyaml-cpp -limage_transport -lpoco_lite -lboost_fs_wrapper -ltinyxml -lmessage_filters -ldynamic_reconfigure_config_init_mutex -lcv_bridge -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_objdetect -lopencv_features2d -lopencv_calib3d -lopencv_contrib -lopencv_legacy -lsensor_msgs -lrosbag -ltopic_tools -lros -lboost_signals-mt -lroscpp_serialization -lXmlRpc -lrosconsole -lboost_thread-mt -llog4cxx -lrostime -lcpp_common -lroslib -lrospack -lrosstack /usr/local/lib/triclops/libtriclops.a /usr/local/lib/triclops/libpnmutils.a ../lib/libpgrlibdcstereo.a -ldc1394 -lcamera_calibration_parsers -lyaml-cpp -limage_transport -lpoco_lite -lboost_fs_wrapper -ltinyxml -lmessage_filters -ldynamic_reconfigure_config_init_mutex -lcv_bridge -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_objdetect -lopencv_features2d -lopencv_calib3d -lopencv_contrib -lopencv_legacy -lsensor_msgs -lrosbag -ltopic_tools -lros -lboost_signals-mt -lroscpp_serialization -lXmlRpc -lrosconsole -lboost_thread-mt -llog4cxx -lrostime -lcpp_common -lroslib -lrospack -lrosstack -Wl,-rpath,/home/mike/workingcopy/libdc1394v2/libdc1394v2/lib:/opt/ros/diamondback/stacks/image_common/camera_calibration_parsers/lib:/opt/ros/diamondback/stacks/common/yaml_cpp/yaml-cpp/lib:/opt/ros/diamondback/stacks/image_common/image_transport/lib:/opt/ros/diamondback/stacks/common/pluginlib/lib:/opt/ros/diamondback/stacks/common/tinyxml:/opt/ros/diamondback/stacks/ros_comm/utilities/message_filters/lib:/opt/ros/diamondback/stacks/common_msgs/sensor_msgs/lib:/opt/ros/diamondback/stacks/driver_common/dynamic_reconfigure/lib:/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/lib:/opt/ros/diamondback/stacks/vision_opencv/cv_bridge/lib:/opt/ros/diamondback/stacks/vision_opencv/opencv2/opencv/lib:/opt/ros/diamondback/stacks/ros_comm/tools/rosbag/lib:/opt/ros/diamondback/stacks/ros_comm/tools/topic_tools/lib:/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_serialization/lib:/opt/ros/diamondback/stacks/ros_comm/utilities/xmlrpcpp/lib:/opt/ros/diamondback/stacks/ros_comm/tools/rosconsole/lib:/opt/ros/diamondback/stacks/ros_comm/utilities/rostime/lib:/opt/ros/diamondback/stacks/ros_comm/utilities/cpp_common/lib:/opt/ros/diamondback/ros/core/roslib/lib:/opt/ros/diamondback/ros/tools/rospack/lib