Comments (4)
Turn off sift in the CMake file and it should compile.
Sent from my iPhone
On Nov 24, 2015, at 4:39 AM, jayden118 [email protected] wrote:
Hi all,
I'm trying to compile the code in ubuntu 12.04 with hydro ROS. However, the compilation is failed and shown the errors as follows:
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
src/SiftGPU/CuTexImage.cpp:33:18: fatal error: cuda.h: No such file or directory
compilation terminated.
Linking CXX executable /home/jayden/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam
make[3]: *** [build/CuTexImage.o] Error 1
make[2]: *** [rgbdslam_v2-hydro/external/siftgpu_prefix/src/siftgpu_proj-stamp/siftgpu_proj-build] Error 2
make[1]: *** [rgbdslam_v2-hydro/external/CMakeFiles/siftgpu_proj.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lsiftgpu
collect2: ld returned 1 exit status
make[2]: *** [/home/jayden/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam] Error 1
make[1]: *** [rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failedCould you please give me some hint on how to solve this problem.
Thank you in advanced.
Regards,
Jayden—
Reply to this email directly or view it on GitHub.
from rgbdslam_v2.
Hi Kbalisciano,
Thank you for your prompt response.
As I am new to ROS, could you please guide me more details on how to turn off the sift in cmake file?
Thank you.
from rgbdslam_v2.
sudo gedit ~/rgbdslam_catkin_ws/src/rgbdslam_v2/CMakeLists.txt
-set(USE_SIFT_GPU 1)
+set(USE_SIFT_GPU 0)
is typical I believe. It really depends on where your package is.
(if you don't have gedit run sudo apt-get install gedit)
from rgbdslam_v2.
I looked into this today. The automatic cuda-check of siftgpu doesn't work, so it is trying to use cuda anyway. I hardcoded cuda to be disabled in the makefile of siftgpu for hydro and indigo, so compilation should work again .
from rgbdslam_v2.
Related Issues (20)
- what(): Time is out of dual 32-bit range (using rosbag)
- g2ofork build isuue HOT 1
- Running rgbd slam v2 on sequence of images/frames from video
- can not compile due to /usr/bin/ld: cannot find -lIL HOT 1
- Problem
- CMake Error:_SOLVER_CHOLMOD_LIB notfound HOT 1
- rgbdslam_v2 shutdown when receiving images
- docker image can be nice HOT 1
- Nothing is being published on /rgbdslam/batch_clouds HOT 1
- error: call of overloaded ‘round(float)’ is ambiguous HOT 2
- Is /imu topic used when I run rosluanch rgbdslam.lauch? HOT 2
- Error while loading shared libraries: libg2o_ext_freeglut_minimal.so: cannot open shared object file: No such file or directory HOT 3
- With the topics set according to kinect v2 node, Nothing show on GUI HOT 1
- error: no matching function for call to ‘g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::BlockSolver(g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::LinearSolverType*&)’ = new g2o::BlockSolverX(linearSolver); HOT 1
- GlobalUtil.cpp:(.text._ZN10LiteWindowD2Ev[_ZN10LiteWindowD5Ev]+0x43):undefined reference to `__glutInit
- REQUIRED process [rgbdslam-25] has died! HOT 3
- Breaking detection iterations, because of missing depth HOT 3
- could you please supply a docker image? HOT 1
- ubuntu16.04 ROSkinetic collect2: error: ld returned 1 exit status makefile:169: recipe for target 'siftgpu' failed make[3]: *** [siftgpu] Error 1 HOT 1
- Using a monocular camera to run rgbdslamv2 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgbdslam_v2.