-
Notifications
You must be signed in to change notification settings - Fork 539
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
make -j8 error #90
Comments
Please try it with g++-6. |
You can also solve this changing the typedef definition in the "FrameTypedefs.hpp" file in line 173 from :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have noticed there has been the same error that appeared in orb-slam2 compiling, I wonder if there are some relationships between them. Can anybody solve this problem? thx
[ 60%] Building CXX object okvis_ceres/CMakeFiles/okvis_ceres.dir/src/Estimator.cpp.o
In file included from /usr/include/c++/9/map:61,
from /home/jcy/下载/okvis-master/build/include/ceres/ordered_groups.h:34,
from /home/jcy/下载/okvis-master/build/include/ceres/ceres.h:54,
from /home/jcy/下载/okvis-master/okvis_ceres/include/okvis/Estimator.hpp:48,
from /home/jcy/下载/okvis-master/okvis_ceres/src/Estimator.cpp:42:
/usr/include/c++/9/bits/stl_map.h: In instantiation of ‘class std::map<long unsigned int, okvis::MapPoint, std::less, Eigen::aligned_allocatorokvis::MapPoint >’:
/home/jcy/下载/okvis-master/okvis_ceres/include/okvis/Estimator.hpp:563:19: required from here
/usr/include/c++/9/bits/stl_map.h:122:71: _error: static assertion failed: std::map must have the same value_type as its allocator
122 | static_assert(is_same<typename _Alloc::value_type, value_type>::value,
| ^~~~~_
make[2]: *** [okvis_ceres/CMakeFiles/okvis_ceres.dir/build.make:232:okvis_ceres/CMakeFiles/okvis_ceres.dir/src/Estimator.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:559:okvis_ceres/CMakeFiles/okvis_ceres.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2
The text was updated successfully, but these errors were encountered: