Git Product home page Git Product logo

Comments (4)

kbalisciano avatar kbalisciano commented on July 20, 2024

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" failed

Could 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.

jayden118 avatar jayden118 commented on July 20, 2024

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.

kbalisciano avatar kbalisciano commented on July 20, 2024

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.

felixendres avatar felixendres commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.