Ask Your Question

geir208's profile - activity

2016-11-08 07:58:22 -0600 commented question I'm getting a segmentation fault when building my library in Cygwin

I experience same problem while compiling/linking 3.1.0:

[ 6%] Linking CXX shared library ../../bin/cygopencv_core-3.1.dll collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: BFD (GNU Binutils) 2.25.2 assertion fail /cygdrive/i/szsz/tmpp/cygwin64/binutils/binutils-2.25-4.x86_64/src/binutils-gdb/bfd/cofflink.c:264 make[2]: * [modules/core/CMakeFiles/opencv_core.dir/build.make:1373: bin/cygopencv_core-3.1.dll] Error 1 make[2]: Deleting file 'bin/cygopencv_core-3.1.dll' make[1]: [CMakeFiles/Makefile2:1699: modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: * [Makefile:161: all] Error 2