ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to solve 'Error: cannot find SOCI header file: soci.h' ?

asked 2012-07-22 23:08:26 -0500

sam gravatar image

updated 2012-09-02 21:54:47 -0500

I followed rein.

And I download rein:

  svn co https://code.ros.org/svn/wg-ros-pkg/branches/trunk_diamondback/stacks/object_recognition/rein

I use ubuntu 12.04 with ROS fuerte.

And I found the same question and try the patch.

I success to patch it.

  patch -i rein_cmakelists2.patch

But it seems couldn't solve that problem.

How to solve it?

Thank you~

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-08-29 05:21:04 -0500

For installing soci.h, you can reference here.

edit flag offensive delete link more
0

answered 2012-07-23 06:10:23 -0500

PerkinsJames gravatar image

I have no familiarity with this, but if you modify your CMakeLists file and add something like:

include_directories(/path/to/soci/dot/h/)

before the "rosbuild_add_exectuable" line, does that solve your problem?

edit flag offensive delete link more

Comments

I can't find soci.h. How to install that library? I failed to install soci lib by sudo apt-get install libsoci. Thank you~

sam gravatar image sam  ( 2012-07-24 02:17:20 -0500 )edit

Question Tools

Stats

Asked: 2012-07-22 23:08:26 -0500

Seen: 463 times

Last updated: Sep 02 '12