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

I cannot build it successfully #31

Open
kamanwu opened this issue Mar 26, 2019 · 1 comment
Open

I cannot build it successfully #31

kamanwu opened this issue Mar 26, 2019 · 1 comment

Comments

@kamanwu
Copy link

kamanwu commented Mar 26, 2019

`
Scanning dependencies of target gen_opencv_python_source
[ 98%] Generate files for Python bindings and documentation
Note: Class Feature2D has more than 1 base class (not supported by Python C extensions)
Bases: cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm
Only the first base class will be used
Note: Class detail_GraphCutSeamFinder has more than 1 base class (not supported by Python C extensions)
Bases: cv::detail::GraphCutSeamFinderBase, cv::detail::SeamFinder
Only the first base class will be used
[ 98%] Built target gen_opencv_python_source
Scanning dependencies of target opencv_python3
[ 98%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir//src2/cv2.cpp.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-6/README.Bugs for instructions.
make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/
/src2/cv2.cpp.o] Error 4
make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
make: *** [all] Error 2
modules/python3/CMakeFiles/opencv_python3.dir/build.make:62: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o' failed
CMakeFiles/Makefile2:3212: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed
Makefile:160: recipe for target 'all' failed

`

@kamanwu
Copy link
Author

kamanwu commented Mar 26, 2019

Just did some search: opencv/opencv#7633
So 2G memory is NOT enough?
Is is possible to solve the problem without increase the memory?

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

1 participant