Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Nov 2016 18:57:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210505] graphics/opencv: Update to 3.1
Message-ID:  <bug-210505-13-GUQhGJim9z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210505-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210505-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210505

--- Comment #42 from otacilio.neto@bsd.com.br ---
Dears

I have installed math/ceres-solve in my machine. When ceres-solver is
installed, Opencv tries compile SFM module. I'm trying compile OpenCV with =
sfm
module enabled, but I'm stucked at this point. First, I have add this line =
to
Makefile because sfm module needs C++11 explicitly.

CXXFLAGS+=3D        -std=3Dc++11

Then, I have changed
/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/highgui/src/window_gt=
k.cpp
at 488 replacing a NULL to 0


But, compiles fail in this point, I think that it is only a including missi=
ng,
but I'm not a CMake guy and I will appreciate if someone can give me a hint
about how fix it.

Building CXX object
modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/detection_based_track=
er.cpp.o
cd /usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect &&
/usr/bin/c++   -DCVAPI_EXPORTS -D__OPENCV_BUILD=3D1
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0 -isystem
/usr/local/include/eigen3 -isystem /usr/local/include/CL
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect/include
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect/src
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/core/include
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/imgproc/include
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/ml/include
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/imgcodecs/include
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/videoio/include
-I/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/highgui/include -O2
-pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing=20
-std=3Dc++11 -isystem /usr/local/include   -fsigned-char -W -Werror=3Dretur=
n-type
-Werror=3Dnon-virtual-dtor -Werror=3Daddress -Werror=3Dsequence-point -Wfor=
mat
-Werror=3Dformat-security -Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-pro=
mo
-Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args
-fdiagnostics-show-option -Wno-long-long -pthread -Qunused-arguments
-fomit-frame-pointer -msse -msse2 -mavx -ffunction-sections -fvisibility=3D=
hidden
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing  -std=3Dc++11 -isystem /usr/local/i=
nclude
 -DNDEBUG -fPIC -o
CMakeFiles/opencv_objdetect.dir/src/detection_based_tracker.cpp.o -c
/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect/src/detecti=
on_based_tracker.cpp
/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect/src/detecti=
on_based_tracker.cpp:124:11:
error: no member named 'DetectionBasedTracker' in namespace 'cv'
class cv::DetectionBasedTracker::SeparateDetectionWork
      ~~~~^
/usr/ports/graphics/opencv3/work/opencv-3.1.0/modules/objdetect/src/detecti=
on_based_tracker.cpp:192:5:
error: no member named 'DetectionBasedTracker' in namespace 'cv'
cv::DetectionBasedTracker::SeparateDetectionWork::SeparateDetectionWork(Det=
ectionBasedTracker&
_detectionBasedTracker, cv::Ptr<DetectionBasedTracker::IDetector> _detector)

--=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-210505-13-GUQhGJim9z>