ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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

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

sam gravatar image

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

I followed rein.

And I download rein:

  svn co

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

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

For installing soci.h, you can reference here.

edit flag offensive delete link more

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

PerkinsJames gravatar image

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


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

edit flag offensive delete link more


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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 416 times

Last updated: Sep 02 '12