Giter VIP home page Giter VIP logo

cuda-sfm's People

Contributors

black-phoenix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cuda-sfm's Issues

Error in building with makefile

I installed all the dependencies but when I try to compile and run the program I get this error below are the error logs

cd build && /usr/bin/cmake -DCMAKE_BUILD_TYPE=Release .. && make)
-- Found CUDA: /usr/local/cuda (found suitable version "11.6", minimum required is "10")
CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

FindOpenGL found both a legacy GL library:

OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

and GLVND libraries for OpenGL and GLX:

OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:17 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found CUDA: /usr/local/cuda (found version "11.6")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cloudlabgpu1/Downloads/CUDA-SfM-master
make[1]: Entering directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
make[2]: Entering directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
make[3]: Entering directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
make[3]: Leaving directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
[ 38%] Built target cudaSift
make[3]: Entering directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
[ 46%] Building NVCC (Device) object SfM/CMakeFiles/SfM.dir/SfM_generated_sfm.cu.o
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:4:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/kernels.h:19: warning: "enable_debug" redefined
19 | #define enable_debug false
|
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:41: note: this is the location of the previous definition
41 | #define enable_debug true
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:30:42: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
30 | checkCUDAErrorWithLine("Malloc failed!");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:32:42: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
32 | checkCUDAErrorWithLine("Malloc failed!");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:110:44: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
110 | checkCUDAErrorWithLine("A malloc failed!");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:113:40: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
113 | checkCUDAErrorWithLine("Kron failed!");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:275:38: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
275 | checkCUDAErrorWithLine("Before SVD");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:279:31: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
279 | checkCUDAErrorWithLine("SVD");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:376:54: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
376 | checkCUDAErrorWithLine("Not copyBoidsToVBO failed!");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:380:50: error: macro "checkCUDAError" passed 2 arguments, but takes just 1
380 | checkCUDAErrorWithLine("copyBoidsToVBO failed!");
| ^
In file included from /home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/sfm.cu:3:
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/SfM/common.h:18: note: macro "checkCUDAError" defined here
18 | #define checkCUDAError(msg) checkCUDAErrorFn(msg, FILENAME, LINE)
|
CMake Error at SfM_generated_sfm.cu.o.cmake:206 (message):
Error generating
/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build/SfM/CMakeFiles/SfM.dir//./SfM_generated_sfm.cu.o

make[3]: *** [SfM/CMakeFiles/SfM.dir/build.make:72: SfM/CMakeFiles/SfM.dir/SfM_generated_sfm.cu.o] Error 1
make[3]: Leaving directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
make[2]: *** [CMakeFiles/Makefile2:144: SfM/CMakeFiles/SfM.dir/all] Error 2
make[2]: Leaving directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
make[1]: *** [Makefile:106: all] Error 2
make[1]: Leaving directory '/home/cloudlabgpu1/Downloads/CUDA-SfM-master/build'
make: *** [GNUmakefile:19: Release] Error 2

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.