← Back to team overview

yade-users team mailing list archive

[Question #695721]: c++: internal compiler error: 已杀死 (program cc1plus)

 

New question #695721 on Yade:
https://answers.launchpad.net/yade/+question/695721

Hi,

I am confronted with errors when installing yade from the source code. I have tried enlarge my memory but error is still there. Here is what terminal output. Please help me with that. Thanks!

[  0%] Automatic MOC for target _polyhedra_utils
[  0%] Automatic MOC for target WeightedAverage2d
[  0%] Automatic MOC for target _GLViewer
[  0%] Automatic MOC for target _packObb
[  0%] Built target _polyhedra_utils_autogen
[  0%] Built target _packObb_autogen
[  0%] Built target WeightedAverage2d_autogen
[  0%] Built target _GLViewer_autogen
[  2%] Built target _packObb
[  3%] Built target WeightedAverage2d
[  4%] Building CXX object py/CMakeFiles/_polyhedra_utils.dir/_polyhedra_utils.cpp.o
[  5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/GLViewer.cpp.o
[  5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/_GLViewer.cpp.o
[  6%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/OpenGLManager.cpp.o
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
                 from /home/zhyzhy/myYade/trunk/py/_polyhedra_utils.cpp:15:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
/home/zhyzhy/myYade/trunk/gui/qt5/GLViewer.cpp: In member function ‘virtual void GLViewer::keyPressEvent(QKeyEvent*)’:
/home/zhyzhy/myYade/trunk/gui/qt5/GLViewer.cpp:252:36: warning: enum constant in boolean context [-Wint-in-bool-context]
    bool alt=(e->modifiers() && Qt::ShiftModifier);
                                    ^~~~~~~~~~~~~
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
gui/CMakeFiles/_GLViewer.dir/build.make:86: recipe for target 'gui/CMakeFiles/_GLViewer.dir/qt5/_GLViewer.cpp.o' failed
make[2]: *** [gui/CMakeFiles/_GLViewer.dir/qt5/_GLViewer.cpp.o] Error 4
make[2]: *** 正在等待未完成的任务....
CMakeFiles/Makefile2:323: recipe for target 'gui/CMakeFiles/_GLViewer.dir/all' failed
make[1]: *** [gui/CMakeFiles/_GLViewer.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
[  7%] Linking CXX shared library lib/x86_64-linux-gnu/_polyhedra_utils.so
[  7%] Built target _polyhedra_utils
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2


-- 
You received this question notification because your team yade-users is
an answer contact for Yade.