Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Code::Blocks and ROS Setup - rospack export returns empty line

Hi all,

I'm trying to integrate Code::Blocks with the actionlib_tutorials package to no avail. I'm using the ROS IDEs Wiki page for Code::Blocks and I'm getting a blank line when using:

rospack export --lang=cpp --attrib=cflags PackageName

rospack export --lang=cpp --attrib=lflags PackageName

I've created the package using catkin tools and have successfully run catkin build in the package root.

My ROS_PACKAGE_PATH is:

/TigerBotWS/TigerBot/src/actionlib_tutorials:/opt/ros/kinetic/share

And using tree on my package looks like the following:

. ├── build

│   ├── actionlib_tutorials

│   └── catkin_tools_prebuild

├── devel

│   ├── etc

│   ├── lib

│   └── share

├── logs

└── src

│   └── actionlib_tutorials

Any idea as to why the cflags attribute from rospack export might be blank?

Thanks in advance.

(P.S. There was a previous topic about this here. The tutorial is points to did not solve my issue hence the re-post)