Date: Wed, 22 Dec 2021 15:04:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260613] graphics/opencv Message-ID: <bug-260613-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260613 Bug ID: 260613 Summary: graphics/opencv Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tcberner@freebsd.org Reporter: valery@vslash.com Flags: maintainer-feedback?(tcberner@freebsd.org) Assignee: tcberner@freebsd.org Any use of the opencv C++ library leads to a segfault (as for python3 too): version.cpp: #include <opencv2/opencv.hpp> int main() { std::cout << "The current OpenCV version is " << CV_VERSION << "\n"; return 0; } $ g++ -ggdb -o version `pkg-config --cflags --libs opencv4` version.cpp $ ./version Segmentation fault (core dumped) gdb bt shows: #0 0x00000008119ca938 in vtable for __cxxabiv1::__si_class_type_info () at /lib/libcxxrt.so.1 I tried to build the port using WITH_DEBUG, but in this case, one cannot compile anymore: $ g++ -ggdb -o version `pkg-config --cflags --libs opencv4` version.cpp=20 /usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::base::CheckOpMessageBuilder::NewString[abi:cxx11]()' collect2: error: ld returned 1 exit status Using: - FreeBSD-13.0-p5 - g++ (FreeBSD Ports Collection) 10.3.0 - opencv: 4.5.3_4 Any clue on this ? Thanks, --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260613-7788>