Re: [ros-users] rosboost-cfg error

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] rosboost-cfg error
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 <> 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 <>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
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>