-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fail to build ORB-SLAM2 #205
Comments
Looks like your compiler is dying, so not sure if this is the same issue I've had. I fixed it by changing -- Anil. |
thx cranil :) typedef Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic, SparseMatrix::Index> PermutationMatrix; Also don't forget to add this line on most files.cc ( in the top ) File in folder src: And in folder Examples... |
I am having a similar problem.. -- Build files have been written to: /home/raktim/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build |
The solutions cranil and callsty worked for me. Don't forget to cmake, make and then build after making the changes. :) I forgot, so I am guessing there might be someone who might forget to do that in the end. |
I faced the following error while building ORBSLAM2 plz help me to fix this error. [ 84%] Linking CXX executable ../Examples/Monocular/mono_kitti |
How did you fix it eventually? |
I have the same problem. make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Stereo'. Stop. I could not fix it for a long time. |
I fix this bug by run build.sh. After it compiles successfully, the libORB_SLAM2.so will generated in ORB_SLAM2/lib. I hope it will help you. |
In file included from /usr/local/include/pangolin/utils/signal_slot.h:3, >::value; >::value; >::value; /usr/local/include/sigslot/signal.hpp:109:92: error: ‘::value’ has not been declared >::value; /usr/local/include/sigslot/signal.hpp:132:53: error: ‘remove_pointer_t’ is not a member of ‘std’; did you mean ‘remove_pointer’? /usr/local/include/sigslot/signal.hpp:132:75: error: ‘::value’ has not been declared /usr/local/include/sigslot/signal.hpp:223:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:223:62: note: expected a type, got ‘( < is_func_v)’ /usr/local/include/sigslot/signal.hpp:233:33: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:233:63: note: expected a type, got ‘( < is_func_v)’ /usr/local/include/sigslot/signal.hpp:243:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:243:61: note: expected a type, got ‘( < is_pmf_v)’ /usr/local/include/sigslot/signal.hpp:254:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:254:72: note: expected a type, got ‘( < has_call_operator_v)’ /usr/local/include/sigslot/signal.hpp: In function ‘sigslot::detail::func_ptr sigslot::detail::get_function_ptr(const T&)’: /usr/local/include/sigslot/signal.hpp:291:66: note: expected a type, got ‘( < is_pointer_v<T*>)’ /usr/local/include/sigslot/signal.hpp:298:31: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:298:65: note: expected a type, got ‘( < is_weak_ptr_v)’ /usr/local/include/sigslot/signal.hpp:306:31: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:308:76: note: expected a type, got ‘((( < (! is_pointer_v)) && (! is_weak_ptr_v)) && is_weak_ptr_compatible_v)’ /usr/local/include/sigslot/signal.hpp:398:41: error: ‘std::enable_if_t’ has not been declared (p)} {} (p)} {} (p)} (p)} In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, In file included from /usr/include/eigen3/Eigen/Core:161, I am facing a huge list of error, when I try to call the "make" command inside my build of ORB_SLAM2. |
Hello, all
I have some trouble during running command "./build.sh". the error is shown below. Thank you for all help in advance.
My working environment is:
OS: Ubuntu 16.04 [mate odroid ux3]
GCC/G++: 5.4.0
Eigen: 3.3~beta1-2
The text was updated successfully, but these errors were encountered: