Error while building project in QT
I want to work in ROS with QTCreator. I have to packages A and B in ros workspace. its location is /home/it/Desktop/rosspace/sandbox/A and /home/it/Desktop/rosspace/sandbox/B.
my environment variables are
declare -x ROSLISP_PACKAGE_DIRECTORY="/opt/ros/fuerte/share/common-lisp/ros"
declare -x ROS_DISTRO="fuerte"
declare -x ROS_ETC_DIR="/opt/ros/fuerte/etc/ros"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/home/it/Desktop/gps/sandbox/gps_sub:/home/it/Desktop/rosspace/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros"
declare -x ROS_ROOT="/opt/ros/fuerte/share/ros"
declare -x ROS_WORKSPACE="/home/it/Desktop/rosspace"
I have written this to ./bashrc
source /home/mit/Desktop/rosspace/setup.bash
export ROS_PACKAGE_PATH=/home/it/Desktop/rosspace/sandbox:$ROS_PACKAGE_PATH
I opened QTCreator from terminal.
then open file or project->/home/it/Desktop/rosspace/sandbox/A/cmakelist.text
after choosing qt build directory and running cmake
i got following error:
CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:99 (message):
[rosbuild] rospack found package "A" at "", but the
current directory is
"/home/it/Desktop/rosspace/sandbox/A". You should
double-check your ROS_PACKAGE_PATH to ensure that packages are found in the
correct precedence order.
Call Stack (most recent call first):
/opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:177(_rosbuild_check_package_location)
CMakeLists.txt:12 (rosbuild_init)
[rosbuild] Building package A
please help me to open my project in QT
I am using Ubuntu 12.04, QTCreator latest version and ROS-Fuerte