Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem when building orbslam on ubuntu 14.04 (vmware) #124

Open
ietr opened this issue Nov 9, 2016 · 7 comments
Open

problem when building orbslam on ubuntu 14.04 (vmware) #124

ietr opened this issue Nov 9, 2016 · 7 comments

Comments

@ietr
Copy link

ietr commented Nov 9, 2016

Hello guys,

I got a classic problem but cannot solve it with classic solution.

arifle@ubuntu:~/orbslam/ORB_SLAM/build$ sudo cmake ..
[sudo] password for arifle: 
CMake Error at CMakeLists.txt:2 (include):
  include could not find load file:

    /core/rosbuild/rosbuild.cmake


CMake Error at CMakeLists.txt:5 (rosbuild_init):
  Unknown CMake command "rosbuild_init".


-- Configuring incomplete, errors occurred!
See also "/home/arifle/orbslam/ORB_SLAM/CMakeFiles/CMakeOutput.log".
arifle@ubuntu:~/orbslam/ORB_SLAM/build$ source /opt/ros/indigo/setup.bash 
arifle@ubuntu:~/orbslam/ORB_SLAM/build$ echo $ROS_PACKAGE_PATH
/opt/ros/indigo/share:/opt/ros/indigo/stacks
arifle@ubuntu:~/orbslam/ORB_SLAM/build$ export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/arifle/orbslam/ORB_SLAM
arifle@ubuntu:~/orbslam/ORB_SLAM/build$ 
arifle@ubuntu:~/orbslam/ORB_SLAM/build$ sudo cmake ..
CMake Error at CMakeLists.txt:2 (include):
  include could not find load file:

    /core/rosbuild/rosbuild.cmake


CMake Error at CMakeLists.txt:5 (rosbuild_init):
  Unknown CMake command "rosbuild_init".


-- Configuring incomplete, errors occurred!
See also "/home/arifle/orbslam/ORB_SLAM/CMakeFiles/CMakeOutput.log".
arifle@ubuntu:~/orbslam/ORB_SLAM/build$ 

See, nothing changed after setting the path.

@chaiein
Copy link

chaiein commented Nov 10, 2016

Try this
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/arifle/orbslam/ORB_SLAM/
In this slash is changed.

@saurabhagrawal3
Copy link

Hi @chaiein,

I too have to same error when trying to cmake in build dir.

tried your suggestion too but didn't work. got the same error.
Any other suggestion please do comment. Thanks

Hi @ietr,

Please post the solution if you have found one.

Thanks

@arifle
Copy link

arifle commented Dec 7, 2016

Not yet, and you? @saurabhagrawal3

@arifle
Copy link

arifle commented Dec 7, 2016

Not yet. @saurabhagrawal3

@chaiein
Copy link

chaiein commented Jan 12, 2017

before that try the $source /opt/ros//setup.bash
or
Are you using the qtcreator for this? If so , first give
$source /opt/ros//setup.bash , then start the qtcreator

Then try
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/arifle/orbslam/ORB_SLAM/
or
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/arifle/orbslam/ORB_SLAM

@ckchng
Copy link

ckchng commented Nov 4, 2019

Hi guys, anyone found any solution on this? @arifle @saurabhagrawal3

@ckchng
Copy link

ckchng commented Nov 4, 2019

Hi guys, anyone found any solution on this? @arifle @saurabhagrawal3

Got it, @chaiein's solution worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants