Error in compiling pcl_ros

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in compiling pcl_ros

desinghkar
Hi,
I am trying to use the perception_pcl_electric_unstable with the latest revision of 265 from the trunk. I am working on 11.10 with Electric version of ros.
When pcl_ros is compiled i get the following error. I believe the pcl is not being linked in the CMakeLists.txt of the pcl_ros.

/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp:38:27: fatal error: pcl/common/io.h: No such file or directory
  compilation terminated.
/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/tools/pcd_to_pointcloud.cpp:48:23: fatal error: pcl/io/io.h: No such file or directory
  compilation terminated.
/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/tools/convert_pcd_to_image.cpp:51:23: fatal error: pcl/io/io.h: No such file or directory
  compilation terminated.
/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/tools/convert_pointcloud_to_image.cpp:46:27: fatal error: pcl/io/pcd_io.h: No such file or directory

Could someone help me out in resolving this.
--
Thanks,
Karthik


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

Sergey
Administrator
Hi Karthik,

First let me note that 265 is the revision number of "perception_pcl_electric_unstable" repository rather than PCL. When you compile it for the first time (i.e. `rosmake pcl_ros`) it checks out the PCL trunk in the subdirectory "perception_pcl_electric_unstable/pcl/build/pcl_trunk". So my first guess would be that you didn't have Internet connection or the download failed for some other reason. Go to this directory and verify that you have indeed a checkout of PCL. If yes, try to run `svn update`. You could also try to build it manually.

P.S. PCL has about 6.5 thousands revisions!

Cheers,
Sergey
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

desinghkar
Sergey,
Thanks for replying.
Yes I know the fact the rosmake perception_pcl_electric_unstable pcl builds pcl first and pcl_ros later. Sorry for not mentioning the same.
pcl is built without any failure and i have pcl_trunk build without any errors. But when pcl_ros is being built i get the mentioned error.
The fact that i mentioned revision was to let people know that i am using the latest of the unstable version.

On Wed, Jul 25, 2012 at 11:26 PM, Sergey <[hidden email]> wrote:
Hi Karthik,

First let me note that 265 is the revision number of
"perception_pcl_electric_unstable" repository rather than PCL. When you
compile it for the first time (i.e. `rosmake pcl_ros`) it checks out the PCL
trunk in the subdirectory
"perception_pcl_electric_unstable/pcl/build/pcl_trunk". So my first guess
would be that you didn't have Internet connection or the download failed for
some other reason. Go to this directory and verify that you have indeed a
checkout of PCL. If yes, try to run `svn update`. You could also try to
build it manually.

P.S. PCL has about 6.5 thousands revisions!

Cheers,
Sergey



--
View this message in context: http://www.pcl-users.org/Error-in-compiling-pcl-ros-tp4020732p4020757.html
Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Thanks,
Karthik


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

Sergey
Administrator
Karthik,

Okay, then my second guest will be that the "pcl" package from "perception_pcl_electric_unstable" does not overlay the default package which comes with the ROS Electric distribution. What does `rospack find pcl` say?

Sergey
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

desinghkar
Sergey,

It does overlay and when i do

'rospack find pcl'

output is
/ros_workspace/perception_pcl_electric_unstable/pcl

which is fine.

On Thu, Jul 26, 2012 at 12:08 AM, Sergey <[hidden email]> wrote:
Karthik,

Okay, then my second guest will be that the "pcl" package from
"perception_pcl_electric_unstable" does not overlay the default package
which comes with the ROS Electric distribution. What does `rospack find pcl`
say?

Sergey



--
View this message in context: http://www.pcl-users.org/Error-in-compiling-pcl-ros-tp4020732p4020762.html
Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Thanks,
Karthik


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

Sergey
Administrator
Karthik,

Well, it's getting complicated.

Obviously the compiler can not find the way to the PCL headers. Did you check the exact command with which `make` is invoked? Does it have proper include paths specified? (You may check it by going to "pcl_ros/build" and running `make VERBOSE=1".

Sergey
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

desinghkar
Ya i have done the way you told and following is the output..

$ make VERBOSE=1

/usr/bin/cmake -H/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros -B/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make -f CMakeFiles/rospack_genmsg_libexe.dir/build.make CMakeFiles/rospack_genmsg_libexe.dir/depend
make[2]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
cd /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles/rospack_genmsg_libexe.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make -f CMakeFiles/rospack_genmsg_libexe.dir/build.make CMakeFiles/rospack_genmsg_libexe.dir/build
make[2]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make[2]: Nothing to be done for `CMakeFiles/rospack_genmsg_libexe.dir/build'.
make[2]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
/usr/bin/cmake -E cmake_progress_report /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles
[  0%] Built target rospack_genmsg_libexe
make -f CMakeFiles/rosbuild_precompile.dir/build.make CMakeFiles/rosbuild_precompile.dir/depend
make[2]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
cd /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles/rosbuild_precompile.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make -f CMakeFiles/rosbuild_precompile.dir/build.make CMakeFiles/rosbuild_precompile.dir/build
make[2]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make[2]: Nothing to be done for `CMakeFiles/rosbuild_precompile.dir/build'.
make[2]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
/usr/bin/cmake -E cmake_progress_report /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles
[  0%] Built target rosbuild_precompile
make -f CMakeFiles/pcl_ros_tf.dir/build.make CMakeFiles/pcl_ros_tf.dir/depend
make[2]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
cd /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles/pcl_ros_tf.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make -f CMakeFiles/pcl_ros_tf.dir/build.make CMakeFiles/pcl_ros_tf.dir/build
make[2]: Entering directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
/usr/bin/cmake -E cmake_progress_report /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build/CMakeFiles 5
[ 16%] Building CXX object CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o
/usr/bin/c++   -Dpcl_ros_tf_EXPORTS -DBOOST_CB_DISABLE_DEBUG -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -O2 -g -fPIC -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/include -I/opt/ros/electric/stacks/geometry/tf/include -I/opt/ros/electric/stacks/geometry/tf/msg_gen/cpp/include -I/opt/ros/electric/stacks/geometry/tf/srv_gen/cpp/include -I/opt/ros/electric/stacks/bullet/include -I/opt/ros/electric/stacks/geometry/angles/include -I/opt/ros/electric/stacks/ros_comm/utilities/message_filters/include -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/include/pcl-1.6 -I/usr/include/vtk-5.6 -I/usr/include/mpi -I/usr/include/tcl8.5 -I/usr/include/python2.7 -I/usr/lib/jvm/default-java/include -I/usr/include/libxml2 -I/usr/include/freetype2 -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/msg_gen/cpp/include -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/include -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/cpp/include -I/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/tools/rosbag/include -I/opt/ros/electric/stacks/ros_comm/tools/topic_tools/include -I/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/tools/rostest/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include -I/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/src -I/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/messages/std_msgs/include -I/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/cpp/include -I/opt/ros/electric/ros/core/roslib/msg_gen/cpp/include -I/opt/ros/electric/ros/core/roslib/include -I/opt/ros/electric/ros/tools/rospack -I/opt/ros/electric/ros/tools/rospack/include -I/opt/ros/electric/stacks/ros_comm/tools/rosconsole/include -I/opt/ros/electric/stacks/ros_comm/utilities/rostime/include -I/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/include -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/cminpack/include -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/flann/include -I/usr/include/eigen3 -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src    -DROS_PACKAGE_NAME='"pcl_ros"' -DBT_USE_DOUBLE_PRECISION -DBT_EULER_DEFAULT_ZYX -W -Wall -Wno-unused-parameter -fno-strict-aliasing -pthread -msse3 -mfpmath=sse -o CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o -c /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp
/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp:38:27: fatal error: pcl/common/io.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o] Error 1
make[2]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make[1]: *** [CMakeFiles/pcl_ros_tf.dir/all] Error 2
make[1]: Leaving directory `/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build'
make: *** [all] Error 2




On Thu, Jul 26, 2012 at 12:40 AM, Sergey <[hidden email]> wrote:
Karthik,

Well, it's getting complicated.

Obviously the compiler can not find the way to the PCL headers. Did you
check the exact command with which `make` is invoked? Does it have proper
include paths specified? (You may check it by going to "pcl_ros/build" and
running `make VERBOSE=1".

Sergey



--
View this message in context: http://www.pcl-users.org/Error-in-compiling-pcl-ros-tp4020732p4020765.html
Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Thanks,
Karthik


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

Sergey
Administrator
Great. So the relevant part is this:

desinghkar wrote
/usr/bin/c++   -Dpcl_ros_tf_EXPORTS -DBOOST_CB_DISABLE_DEBUG -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -O2 -g -fPIC -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/include -I/opt/ros/electric/stacks/geometry/tf/include -I/opt/ros/electric/stacks/geometry/tf/msg_gen/cpp/include -I/opt/ros/electric/stacks/geometry/tf/srv_gen/cpp/include -I/opt/ros/electric/stacks/bullet/include -I/opt/ros/electric/stacks/geometry/angles/include -I/opt/ros/electric/stacks/ros_comm/utilities/message_filters/include -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/include/pcl-1.6 -I/usr/include/vtk-5.6 -I/usr/include/mpi -I/usr/include/tcl8.5 -I/usr/include/python2.7 -I/usr/lib/jvm/default-java/include -I/usr/include/libxml2 -I/usr/include/freetype2 -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/msg_gen/cpp/include -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/include -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/cpp/include -I/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/tools/rosbag/include -I/opt/ros/electric/stacks/ros_comm/tools/topic_tools/include -I/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/tools/rostest/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include -I/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/src -I/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/cpp/include -I/opt/ros/electric/stacks/ros_comm/messages/std_msgs/include -I/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/cpp/include -I/opt/ros/electric/ros/core/roslib/msg_gen/cpp/include -I/opt/ros/electric/ros/core/roslib/include -I/opt/ros/electric/ros/tools/rospack -I/opt/ros/electric/ros/tools/rospack/include -I/opt/ros/electric/stacks/ros_comm/tools/rosconsole/include -I/opt/ros/electric/stacks/ros_comm/utilities/rostime/include -I/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/include -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/cminpack/include -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/flann/include -I/usr/include/eigen3 -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src    -DROS_PACKAGE_NAME='"pcl_ros"' -DBT_USE_DOUBLE_PRECISION -DBT_EULER_DEFAULT_ZYX -W -Wall -Wno-unused-parameter -fno-strict-aliasing -pthread -msse3 -mfpmath=sse -o CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o -c /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp
/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp:38:27: fatal error: pcl/common/io.h: No such file or directory
compilation terminated.
If I didn't overlook something, then the PCL-related include path is:

-I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/include/pcl-1.6

Which looks fine for me, except for the fact that the *current* trunk is 1.7 since a couple of weeks. Perhaps the problem might be there. Do you actually have this directory? Or do you have pcl-1.7 instead?

Sergey
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

desinghkar
Thanks for that clue.
Ya it helped a bit. I noticed that in the manifest.xml of the pcl package, the version mentioned was pcl-1.6 than the pcl-1.7. I changed it and got rid of the error.
But got a linker error
'boost::system::system_category()' is defined in DSO /usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command line
I copied the libboost_system* files from /usr/lib to /usr/local/lib and the package compiled successfully.
Thanks a lot for the help and time.

On Thu, Jul 26, 2012 at 2:27 AM, Sergey <[hidden email]> wrote:
Great. So the relevant part is this:


desinghkar wrote
>
> /usr/bin/c++   -Dpcl_ros_tf_EXPORTS -DBOOST_CB_DISABLE_DEBUG
> -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET -O2 -g -fPIC
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/include
> -I/opt/ros/electric/stacks/geometry/tf/include
> -I/opt/ros/electric/stacks/geometry/tf/msg_gen/cpp/include
> -I/opt/ros/electric/stacks/geometry/tf/srv_gen/cpp/include
> -I/opt/ros/electric/stacks/bullet/include
> -I/opt/ros/electric/stacks/geometry/angles/include
> -I/opt/ros/electric/stacks/ros_comm/utilities/message_filters/include
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/include/pcl-1.6
> -I/usr/include/vtk-5.6 -I/usr/include/mpi -I/usr/include/tcl8.5
> -I/usr/include/python2.7 -I/usr/lib/jvm/default-java/include
> -I/usr/include/libxml2 -I/usr/include/freetype2
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/msg_gen/cpp/include
> -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/include
> -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include
> -I/opt/ros/electric/stacks/common_msgs/sensor_msgs/srv_gen/cpp/include
> -I/opt/ros/electric/stacks/common_msgs/geometry_msgs/msg_gen/cpp/include
> -I/opt/ros/electric/stacks/ros_comm/tools/rosbag/include
> -I/opt/ros/electric/stacks/ros_comm/tools/topic_tools/include
> -I/opt/ros/electric/stacks/ros_comm/tools/topic_tools/srv_gen/cpp/include
> -I/opt/ros/electric/stacks/ros_comm/tools/rostest/include
> -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include
> -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/msg_gen/cpp/include
> -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/srv_gen/cpp/include
> -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include
> -I/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include
> -I/opt/ros/electric/stacks/ros_comm/utilities/xmlrpcpp/src
> -I/opt/ros/electric/stacks/ros_comm/messages/rosgraph_msgs/msg_gen/cpp/include
> -I/opt/ros/electric/stacks/ros_comm/messages/std_msgs/include
> -I/opt/ros/electric/stacks/ros_comm/messages/std_msgs/msg_gen/cpp/include
> -I/opt/ros/electric/ros/core/roslib/msg_gen/cpp/include
> -I/opt/ros/electric/ros/core/roslib/include
> -I/opt/ros/electric/ros/tools/rospack
> -I/opt/ros/electric/ros/tools/rospack/include
> -I/opt/ros/electric/stacks/ros_comm/tools/rosconsole/include
> -I/opt/ros/electric/stacks/ros_comm/utilities/rostime/include
> -I/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/include
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/cminpack/include
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/flann/include
> -I/usr/include/eigen3
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/build
> -I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src
> -DROS_PACKAGE_NAME='"pcl_ros"' -DBT_USE_DOUBLE_PRECISION
> -DBT_EULER_DEFAULT_ZYX -W -Wall -Wno-unused-parameter -fno-strict-aliasing
> -pthread -msse3 -mfpmath=sse -o
> CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o -c
> /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp
> /workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl_ros/src/pcl_ros/transforms.cpp:38:27:
> fatal error: pcl/common/io.h: No such file or directory
> compilation terminated.

If I didn't overlook something, then the PCL-related include path is:

-I/workspace/karthik_2/ros_workspace/perception_pcl_electric_unstable/pcl/include/pcl-1.6

Which looks fine for me, except for the fact that the *current* trunk is 1.7
since a couple of weeks. Perhaps the problem might be there. Do you actually
have this directory? Or do you have pcl-1.7 instead?

Sergey



--
View this message in context: http://www.pcl-users.org/Error-in-compiling-pcl-ros-tp4020732p4020773.html
Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Thanks,
Karthik


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Error in compiling pcl_ros

Sergey
Administrator
I was recently in need to use this stack myself. The linker error could be solved by correcting CMakeLists.txt in "pcl_ros" package to add dependency on boost system.

I have created an issue with the patch on dev.pointclouds.org.