Skip to content
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

你好,帮忙看下,编译你代码时显示下面错误 #2

Open
ChenJia2017 opened this issue Apr 28, 2017 · 1 comment
Open

Comments

@ChenJia2017
Copy link

[ 3%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/System.cc.o
[ 7%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o
/home/chenjia/ImuSLAm/LearnVIORBnorosgai2/src/Tracking.cc: In member function ‘void ORB_SLAM2::Tracking::RecomputeIMUBiasAndCurrentNavstate(ORB_SLAM2::NavState&)’:
/home/chenjia/ImuSLAm/LearnVIORBnorosgai2/src/Tracking.cc:92:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < N - 2; i++)
^
/home/chenjia/ImuSLAm/LearnVIORBnorosgai2/src/Tracking.cc: In member function ‘void ORB_SLAM2::Tracking::Track()’:
/home/chenjia/ImuSLAm/LearnVIORBnorosgai2/src/Tracking.cc:904:13: warning: ‘bOK’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (bOK)
^
[ 11%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o
[ 14%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o
[ 18%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/ORBextractor.cc.o
[ 22%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/ORBmatcher.cc.o
[ 25%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/FrameDrawer.cc.o
[ 29%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Converter.cc.o
[ 33%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/MapPoint.cc.o
[ 37%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/KeyFrame.cc.o
[ 40%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Map.cc.o
[ 44%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/MapDrawer.cc.o
[ 48%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Optimizer.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/Optimizer.cc.o] Error 4
make[1]: *** [CMakeFiles/ORB_SLAM2.dir/all] Error 2
make: *** [all] Error 2

@ZuoJiaxing
Copy link
Owner

Perhaps not enough memory space of your computer. http://blog.csdn.net/bxd1314/article/details/47338391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants