Ask Your Question
0

Segmentation fault while installing in Ubuntu 14.04

asked 2017-02-10 06:27:17 -0600

eduherminio gravatar image

updated 2017-02-10 08:30:37 -0600

Hi everyone,

After trying to follow this instructions to install OpenCV (equivalent to the instructions of v3.2.0) in Ubuntu 14.04, I'm getting the following segmentation fault error after the 'making' step:

/home/eduardo/opencv-3.2.0/modules/ts/include/opencv2/ts/ts_gtest.h:13385:9: internal compiler error: Violación de segmento
   const T26 v26_;
         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_addWeighted.cpp.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: *** [all] Error 2

Any hints of how to solve it? Thanks in advance,

Eduardo

edit retag flag offensive close merge delete

Comments

1

disable ts module in cmake?

LBerger gravatar imageLBerger ( 2017-02-10 12:01:48 -0600 )edit

gcc --version ?

berak gravatar imageberak ( 2017-02-11 01:06:02 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2017-02-11 08:48:38 -0600

eduherminio gravatar image

After updating my compiler to a most recent version (5.4.1) it worked flawlessly, I'm awaiting to be able to add it as an answer, in case someone else faces the same problem.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-02-10 06:27:17 -0600

Seen: 443 times

Last updated: Feb 10 '17