[ros-users] rosboost-cfg error

Josh Faust jfaust at willowgarage.com
Mon Nov 8 20:46:37 UTC 2010


Sounds like there's an alternate installation of boost in /usr/local, that
doesn't include regex.

On Mon, Nov 8, 2010 at 12:44 PM, Eohan George <eohangeorge at gmail.com> wrote:

> Boost has its lib in /usr/lib and include files in /usr/include , which I
> think is the standard location
> Also since when I run
> *rosboost-cfg --root*  , it shows */usr/local* ,
>
> would I have to set ROS_BOOST_ROOT in that case ?
>
> Eohan
>
> On Mon, Nov 8, 2010 at 3:02 PM, Josh Faust <jfaust at willowgarage.com>wrote:
>
>> Where is boost installed?  If it's in a non-standard location, have you
>> set up your CPATH/LIBRARY_PATH/LD_LIBRARY_PATH?
>>
>> Josh
>>
>> On Mon, Nov 8, 2010 at 11:59 AM, Eohan George <eohangeorge at gmail.com>wrote:
>>
>>> Hi,
>>> I am not able to obtain the link flags and cflags for boost required for
>>> using 'making' one of my packages.
>>> Running
>>> *rosboost-cfg --libs regex*      gives this error
>>>  Traceback (most recent call last):
>>>   File "/opt/ros/cturtle/ros/bin/rosboost-cfg", line 35, in <module>
>>>     rosboost_cfg.main()
>>>   File
>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 359, in main
>>>     output = lflags(ver, options.lflags.split(','))
>>>   File
>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 276, in lflags
>>>     print >> s, lib_flags(ver, lib),
>>>   File
>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 265, in lib_flags
>>>     lib = find_lib(ver, name)
>>>   File
>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 235, in find_lib
>>>     raise BoostError('Could not locate library [%s]'%(name))
>>> rosboost_cfg.rosboost_cfg.BoostError: 'Could not locate library [regex]'
>>>
>>> I am assuming that one of the environment variables are missing, but not
>>> sure which one.
>>>
>>> Eohan
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101108/2ea70738/attachment-0003.html>


More information about the ros-users mailing list