Closed Uncle-Justice closed 3 years ago
Well, I changed th version of gcc&g++ to 5.5. The output of make -j8 changed with new errors:
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp: In member function ‘void Visualization::PangolinOutputWrapper::run()’:
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp:173:46: error: ‘struct pangolin::GlBufferCudaPtr’ has no member named ‘Free’
vertex_array_global->Free();
^
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp:187:47: error: ‘struct pangolin::GlBufferCudaPtr’ has no member named ‘Free’
indices_array_global->Free();
^
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp:201:46: error: ‘struct pangolin::GlBufferCudaPtr’ has no member named ‘Free’
colour_array_global->Free();
^
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp:391:30: error: ‘struct pangolin::GlBufferCudaPtr’ has no member named ‘Free’
vertex_array_global->Free();
^
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp:397:31: error: ‘struct pangolin::GlBufferCudaPtr’ has no member named ‘Free’
indices_array_global->Free();
^
/home/uj/work/ViewCode/BundleFusion_Ubuntu_Pangolin/src/PangolinOutputWrapper.cpp:403:30: error: ‘struct pangolin::GlBufferCudaPtr’ has no member named ‘Free’
colour_array_global->Free();
^
I reinstalled Pangolin and openGL, but nothing changed. TAT
@Uncle-Justice change -arch=sm_75 in CMakeLists.txt to -arch=sm_61 for GTX series
@Uncle-Justice change -arch=sm_75 in CMakeLists.txt to -arch=sm_61 for GTX series
I changed it from 35 to 61 as you said but nothing changed...
@RigerLee
@Uncle-Justice Maybe cuda version matters? Also you should update your nvidia driver. I just make it work on my machine, with 1050Ti(cuda 10.1 nvidia-450) gcc 7.5
@Uncle-Justice first try make without pangolin? cmake with "cmake -DVISUALIZATION=OFF ..", see if this build and run successfully. if so, then change your pangolin and opengl version.
I reinstalled the system and install CUDA10.1&gcc7. Then I met this error with visualisation config off:
/usr/bin/ld: 找不到 -lfreeimage
collect2: error: ld returned 1 exit status
CMakeFiles/BundleFusion.dir/build.make:1087: recipe for target 'libBundleFusion.so' failed
make[2]: *** [libBundleFusion.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/BundleFusion.dir/all' failed
make[1]: *** [CMakeFiles/BundleFusion.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I tried to install this following this site. The package 'libfreeimage' could not be found while the compiling was OK.
In the original BundleFusion's issue, there are similar errors about 'freeimage'.
The error seems like I need to link freeimage to this?
sudo apt-get install libfreeimage-dev
Anyway, i reinstalled the whole stuff again and it works now. Thanks:)
But my GPU memory seems too small...
Hi, I got a problem when executing make -j8. The outputs are as below:
Is the problem from gpu?
I have compiled opencv, eigen and pangolin successfully.
The environments of my PC(ubuntu16.04) is as following: