-
Notifications
You must be signed in to change notification settings - Fork 236
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
compile error... #1
Comments
Can you please provide more information:
|
I'm on Ubuntu14.04 64bit, gcc/g++ 4.9.4, cmake3.10.3 ================================================== CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if): -- Configuring done |
We haven't tested on 14.04, only 16.04 and clang on macos. Might be related to the compiler. I'll have to look into it to determine what the proper fix is. Maybe you can do some digging too. A quick search reveals a possible issue with Eigen: |
ok I'll try it. |
I had the similar issue when I build the project. It appeared to be the egien issue. Tried download the latest version of the egien and replace the default version as you may installed via sudo apt-get. It should solve the problem. Do remember use the newly installed egien build g2o first... |
I had a similar issue while the project with Eigen 3.2.9. It is solved by rebuild with Eigen 3.3.4. |
I have solved it by updating gcc/g++ to 5.5 and using Eigen 3.3.5. |
I'm on Ubuntu14.04 64bit, gcc/g++ 5.50, cmake3.2.2,Eigen 3.3.5 /home/unclewang/LDSO/src/frontend/LoopClosing.cc: In member function ‘bool ldso::LoopClosing::ComputeOptimizedPose(std::shared_ptrldso::Frame, Sim3&, std::shared_ptrldso::internal::CalibHessian, Mat77&, float)’: |
How do you make sure that all third party depedencies and LDSO itself pick up the right eigen? Do you also have libeigen-dev from apt installed? |
I removed libeigen-dev and installed eigen3.3.5 from src code, then rebuilt the whole project |
Thanks. A PR for fixing the isnan would be welcome! |
Thanks,I have tried your opinion and succeed.@YisenYu |
I had the similar issue with eigen3 and ubuntu 16.04.
I also removed all the |
You can try to install Eigen 3.3.5,and try to compile again. |
I fixed the |
fixed by #include <Eigen/StdVector> in NumType.h according to @NikolausDemmel 's comment. |
Thank you for the excellent work!
There seems to be a compile error, here is the log:
[ 18%] Building CXX object src/CMakeFiles/ldso.dir/Map.cc.o
In file included from /usr/include/eigen3/Eigen/StdVector:23:0,
from /Works/LDSO/thirdparty/g2o/g2o/core/jacobian_workspace.h:31,
from /Works/LDSO/thirdparty/g2o/g2o/core/optimizable_graph.h:41,
from /Works/LDSO/thirdparty/g2o/g2o/core/base_vertex.h:30,
from /Works/LDSO/include/internal/PR.h:8,
from /Works/LDSO/src/Map.cc:8:
/usr/include/eigen3/Eigen/src/StlSupport/StdVector.h:69:9: error: partial specialization of ‘std::vector<T, Eigen::aligned_allocator >’ after instantiation of ‘std::vector<ldso::internal::FrameFramePrecalc, Eigen::aligned_allocatorldso::internal::FrameFramePrecalc >’ [-fpermissive]
class vector<T,EIGEN_ALIGNED_ALLOCATOR >
^
The text was updated successfully, but these errors were encountered: