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
Error compiling OpenMVG-1.4_r3d #32
Comments
Seems related to ceres and minilog. |
Thanks a lot for your advice. Unfortunately OpenMVG from the Regard3d repository does not compile, with or without test samples included under Linux. I strictly followed the instructions and installed all prerequisites. |
It seems you only need the OoenMVG libraries not the binaries what I have gathered from reading the various issues compiling on linux. |
Hello Regard3d-Team,
If I try to compile the OpenMVG software from the regard3d repository, I obtain an Error:
...
[ 65%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_sample_cameras_undistoBrown
CMakeFiles/openMVG_sample_cameras_undistoBrown.dir/undistoBrown.cpp.o: In function
C_Progress_display::restart(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': undistoBrown.cpp:(.text._ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x55): undefined reference to
minilog::inst'undistoBrown.cpp:(.text._ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x6f): undefined reference to
minilog::inst_' undistoBrown.cpp:(.text._ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x7b): undefined reference to
minilog::inst'undistoBrown.cpp:(.text._ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x8d): undefined reference to
minilog::inst_' undistoBrown.cpp:(.text._ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x9f): undefined reference to
minilog::inst'CMakeFiles/openMVG_sample_cameras_undistoBrown.dir/undistoBrown.cpp.o:undistoBrown.cpp:(.text.ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[ZN18C_Progress_display7restartEmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0xb7): more undefined references to `minilog::inst' follow
collect2: error: ld returned 1 exit status
openMVG_Samples/cameras_undisto_Brown/CMakeFiles/openMVG_sample_cameras_undistoBrown.dir/build.make:128: recipe for target 'Linux-x86_64-RELEASE/openMVG_sample_cameras_undistoBrown' failed
make[2]: *** [Linux-x86_64-RELEASE/openMVG_sample_cameras_undistoBrown] Error 1
CMakeFiles/Makefile2:2367: recipe for target 'openMVG_Samples/cameras_undisto_Brown/CMakeFiles/openMVG_sample_cameras_undistoBrown.dir/all' failed
make[1]: *** [openMVG_Samples/cameras_undisto_Brown/CMakeFiles/openMVG_sample_cameras_undistoBrown.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I can compile the original version of openMVG without any problem. But I cannot use it to compile regard3d afterwards. I get then the error openMVG include files not found.
Can anyone help? I am using Kubuntu Linux.
Regards
Luis
The text was updated successfully, but these errors were encountered: