Solved [Solved] graphics/opencv-core (2.4.7) compile error

When trying to make the port graphics/opencv-core I am getting a lot of errors. In the port directory I run:
Code:
# make clean
===>  Cleaning for opencv-core-2.4.7
# make
.
Have I missed something?

System: FreeBSD FreeBSD 9.1-RELEASE-p6 #0:

Full output:
Code:
===>  License BSD accepted by the user
===>  Found saved configuration for opencv-core-2.4.7
===> Fetching all distfiles required by opencv-core-2.4.7 for building
===>  Extracting for opencv-core-2.4.7
=> SHA256 Checksum OK for opencv-2.4.7.tar.gz.
===>  Patching for opencv-core-2.4.7
===>  Applying FreeBSD patches for opencv-core-2.4.7
===>   opencv-core-2.4.7 depends on file: /usr/local/include/eigen3/Eigen/Eigen - found
===>   opencv-core-2.4.7 depends on file: /usr/local/bin/cmake - found
===>   opencv-core-2.4.7 depends on executable: pkgconf - found
===>  Configuring for opencv-core-2.4.7
===>  Performing in-source build
/bin/mkdir -p /usr/ports/graphics/opencv-core/work/opencv-2.4.7
-- The CXX compiler identification is GNU 4.2.1
-- The C compiler identification is GNU 4.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detected version of GNU GCC: 42 (402)
-- Performing Test HAVE_CXX_FSIGNED_CHAR
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success
-- Performing Test HAVE_C_FSIGNED_CHAR
-- Performing Test HAVE_C_FSIGNED_CHAR - Success
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Success
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Success
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Success
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Success
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Success
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Success
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Success
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Failed
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Success
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Success
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Success
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Success
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Success
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Success
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Failed
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Failed
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Failed
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_CXX_PTHREAD
-- Performing Test HAVE_CXX_PTHREAD - Success
-- Performing Test HAVE_C_PTHREAD
-- Performing Test HAVE_C_PTHREAD - Success
-- Performing Test HAVE_CXX_MARCH_I686
-- Performing Test HAVE_CXX_MARCH_I686 - Success
-- Performing Test HAVE_C_MARCH_I686
-- Performing Test HAVE_C_MARCH_I686 - Success
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
-- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER
-- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success
-- Performing Test HAVE_CXX_MSSE
-- Performing Test HAVE_CXX_MSSE - Success
-- Performing Test HAVE_C_MSSE
-- Performing Test HAVE_C_MSSE - Success
-- Performing Test HAVE_CXX_MSSE2
-- Performing Test HAVE_CXX_MSSE2 - Success
-- Performing Test HAVE_C_MSSE2
-- Performing Test HAVE_C_MSSE2 - Success
-- Performing Test HAVE_CXX_MSSE3
-- Performing Test HAVE_CXX_MSSE3 - Success
-- Performing Test HAVE_C_MSSE3
-- Performing Test HAVE_C_MSSE3 - Success
-- Performing Test HAVE_CXX_MFPMATH_SSE
-- Performing Test HAVE_CXX_MFPMATH_SSE - Success
-- Performing Test HAVE_C_MFPMATH_SSE
-- Performing Test HAVE_C_MFPMATH_SSE - Success
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_C_FFUNCTION_SECTIONS
-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.7") 
-- Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "2.0")
-- Found JNI: /usr/local/openjdk7/jre/lib/i386/libjawt.so  
-- Performing Test HAVE_CXX_WNO_UNDEF
-- Performing Test HAVE_CXX_WNO_UNDEF - Success
-- 
-- General configuration for OpenCV 2.4.7 =====================================
--   Version control:               unknown
-- 
--   Platform:
--     Host:                        FreeBSD 9.1-RELEASE-p6 i386
--     CMake:                       2.8.12.1
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/local/bin/gmake
--     Configuration:               Release
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /usr/bin/c++  (ver 4.2.1)
--     C++ flags (Release):         -O2 -pipe -I/usr/local/include -fno-strict-aliasing   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -pipe -I/usr/local/include -fno-strict-aliasing  -DNDEBUG
--     C++ flags (Debug):           -O2 -pipe -I/usr/local/include -fno-strict-aliasing   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -pipe -I/usr/local/include -fno-strict-aliasing  -O0 -DDEBUG -D_DEBUG -ggdb3
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -O2 -pipe -I/usr/local/include -fno-strict-aliasing   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -pipe -I/usr/local/include -fno-strict-aliasing  -DNDEBUG
--     C flags (Debug):             -O2 -pipe -I/usr/local/include -fno-strict-aliasing   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -pipe -I/usr/local/include -fno-strict-aliasing  -O0 -DDEBUG -D_DEBUG -ggdb3
--     Linker flags (Release):
--     Linker flags (Debug):
--     Precompiled headers:         NO
-- 
--   OpenCV modules:
--     To be built:                 core imgproc
--     Disabled:                    calib3d contrib features2d flann gpu highgui legacy ml nonfree objdetect ocl photo stitching superres ts video videostab world
--     Disabled by dependency:      -
--     Unavailable:                 androidcamera java python
-- 
--   GUI: 
--     QT:                          NO
--     GTK+ 2.x:                    NO
--     GThread :                    NO
--     GtkGlExt:                    NO
--     OpenGL support:              NO
-- 
--   Media I/O: 
--     ZLib:                        /usr/lib/libz.so (ver 1.2.7)
--     JPEG:                        NO
--     PNG:                         NO
--     TIFF:                        NO
--     JPEG 2000:                   NO
--     OpenEXR:                     NO
-- 
--   Video I/O:
--     DC1394 1.x:                  NO
--     DC1394 2.x:                  NO
--     FFMPEG:                      NO
--       codec:                     NO
--       format:                    NO
--       util:                      NO
--       swscale:                   NO
--       gentoo-style:              NO
--     GStreamer:                   NO
--     OpenNI:                      NO
--     OpenNI PrimeSensor Modules:  NO
--     PvAPI:                       NO
--     GigEVisionSDK:               NO
--     UniCap:                      NO
--     UniCap ucil:                 NO
--     V4L/V4L2:                    NO/NO
--     XIMEA:                       NO
--     Xine:                        NO
-- 
--   Other third-party libraries:
--     Use IPP:                     NO
--     Use Eigen:                   YES (ver 3.2.0)
--     Use TBB:                     NO
--     Use OpenMP:                  NO
--     Use GCD                      NO
--     Use Concurrency              NO
--     Use C=:                      NO
--     Use Cuda:                    NO
--     Use OpenCL:                  YES
-- 
--   OpenCL:
--     Version:                     dynamic
--     Include path:                /usr/ports/graphics/opencv-core/work/opencv-2.4.7/3rdparty/include/opencl/1.2
--     Use AMD FFT:                 NO
--     Use AMD BLAS:                NO
-- 
--   Python:
--     Interpreter:                 NO
-- 
--   Java:
--     ant:                         NO
--     JNI:                         /usr/local/openjdk7/include /usr/local/openjdk7/include/freebsd /usr/local/openjdk7/include
--     Java tests:                  NO
-- 
--   Tests and samples:
--     Tests:                       NO
--     Performance tests:           NO
--     C/C++ Examples:              NO
-- 
--   Install path:                  /usr/local
-- 
--   cvconfig.h is in:              /usr/ports/graphics/opencv-core/work/opencv-2.4.7
-- -----------------------------------------------------------------
-- 
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/ports/graphics/opencv-core/work/opencv-2.4.7
===>  Building for opencv-core-2.4.7
Scanning dependencies of target opencv_core
[  1%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o
usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:231: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:231: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:231: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:231: error: expected primary-expression before 'bool'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:234: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::set(const char*, const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:236: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:236: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:236: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:236: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:236: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:239: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::set(const char*, const cv::Mat&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:241: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:241: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:241: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:241: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:241: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:244: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::set(const char*, const std::vector<cv::Mat, std::allocator<cv::Mat> >&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:246: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:246: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:246: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:246: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:246: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:249: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:249: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp> class cv::Ptr'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:249: error:   expected a type, got 'cv::Algorithm'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::set(const char*, const int&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:251: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:251: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:251: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:251: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:255: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setInt(const std::string&, int)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:257: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:257: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:257: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:257: error: expected primary-expression before 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:260: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setDouble(const std::string&, double)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:262: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:262: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:262: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:262: error: expected primary-expression before 'double'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:265: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setBool(const std::string&, bool)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:267: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:267: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:267: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:267: error: expected primary-expression before 'bool'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:270: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setString(const std::string&, const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:272: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:272: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:272: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:272: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:272: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:275: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setMat(const std::string&, const cv::Mat&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:277: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:277: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:277: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:277: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:277: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:280: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setMatVector(const std::string&, const std::vector<cv::Mat, std::allocator<cv::Mat> >&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:282: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:282: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:282: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:282: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:282: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:285: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:285: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp> class cv::Ptr'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:285: error:   expected a type, got 'cv::Algorithm'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setAlgorithm(const std::string&, const int&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:287: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:287: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:287: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:287: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:290: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setInt(const char*, int)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:292: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:292: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:292: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:292: error: expected primary-expression before 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:295: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setDouble(const char*, double)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:297: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:297: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:297: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:297: error: expected primary-expression before 'double'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:300: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setBool(const char*, bool)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:302: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:302: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:302: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:302: error: expected primary-expression before 'bool'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:305: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setString(const char*, const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:307: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:307: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:307: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:307: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:307: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:310: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setMat(const char*, const cv::Mat&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:312: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:312: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:312: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:312: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:312: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:315: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setMatVector(const char*, const std::vector<cv::Mat, std::allocator<cv::Mat> >&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:317: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:317: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:317: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:317: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:317: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:320: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:320: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp> class cv::Ptr'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:320: error:   expected a type, got 'cv::Algorithm'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::setAlgorithm(const char*, const int&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:322: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:322: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:322: error: 'ParamType' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:322: error: '::type' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:328: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:328: error: non-member function 'int cv::getInt(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'int cv::getInt(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:330: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:330: error: expected primary-expression before 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:330: error: expected ';' before 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:330: error: expected unqualified-id before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:328: warning: unused parameter 'parameter' [-Wunused-parameter]
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:333: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:333: error: non-member function 'double cv::getDouble(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'double cv::getDouble(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:335: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:335: error: expected primary-expression before 'double'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:335: error: expected ';' before 'double'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:335: error: expected unqualified-id before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:333: warning: unused parameter 'parameter' [-Wunused-parameter]
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:338: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:338: error: non-member function 'bool cv::getBool(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'bool cv::getBool(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:340: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:340: error: expected primary-expression before 'bool'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:340: error: expected ';' before 'bool'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:340: error: expected unqualified-id before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:338: warning: unused parameter 'parameter' [-Wunused-parameter]
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:343: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:343: error: non-member function 'std::string cv::getString(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'std::string cv::getString(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:345: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:345: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:348: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:348: error: non-member function 'cv::Mat cv::getMat(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'cv::Mat cv::getMat(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:350: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:350: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:353: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:353: error: non-member function 'std::vector<cv::Mat, std::allocator<cv::Mat> > cv::getMatVector(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'std::vector<cv::Mat, std::allocator<cv::Mat> > cv::getMatVector(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:355: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:355: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:358: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp> class cv::Ptr'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:358: error:   expected a type, got 'cv::Algorithm'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:358: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:358: error: non-member function 'int cv::getAlgorithm(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'int cv::getAlgorithm(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:360: error: 'get' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:363: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:363: error: non-member function 'std::string cv::paramHelp(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'std::string cv::paramHelp(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:365: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:368: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:368: error: non-member function 'int cv::paramType(const std::string&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'int cv::paramType(const std::string&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:370: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:373: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:373: error: non-member function 'int cv::paramType(const char*)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'int cv::paramType(const char*)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:375: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:378: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:378: error: non-member function 'void cv::getParams(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::getParams(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:380: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:383: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:383: error: non-member function 'void cv::write(cv::FileStorage&)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::write(cv::FileStorage&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:385: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:385: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:388: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::read(const cv::FileNode&)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:390: error: 'info' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:390: error: invalid use of 'this' in non-member function
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:394: error: 'AlgorithmInfo' has not been declared
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:394: error: 'Algorithm' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:394: error: expected ',' or '...' before 'create'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:394: error: ISO C++ forbids declaration of 'AlgorithmInfo' with no type
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'int cv::AlgorithmInfo(const std::string&, int)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:396: error: 'data' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:398: error: request for member 'find' in 'cv::alglist()', which is of non-class type 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:398: error: 'create' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:399: error: request for member 'add' in 'cv::alglist()', which is of non-class type 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:394: warning: unused parameter 'Constructor' [-Wunused-parameter]
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:402: error: expected constructor, destructor, or type conversion before '::' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:407: error: 'AlgorithmInfo' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:407: error: expected ',' or '...' before '*' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:407: error: ISO C++ forbids declaration of 'Algorithm' with no type
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:407: error: non-member function 'void cv::write(int)' cannot have cv-qualifier
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: In function 'void cv::write(int)':
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:409: error: 'data' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:410: error: 'fs' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:410: error: 'algo' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:413: error: expected initializer before '&' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:415: error: 'p' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:415: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:416: error: expected primary-expression before 'int'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:417: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:418: error: expected primary-expression before 'bool'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:419: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:420: error: expected primary-expression before 'short'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:421: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:422: error: expected primary-expression before 'double'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:423: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:424: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:425: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:426: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:427: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:428: error: expected primary-expression before '>' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:429: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:432: error: 'Algorithm' cannot appear in a constant-expression
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:432: error: template argument 1 is invalid
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:432: error: invalid type in declaration before '=' token
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:433: error: base operand of '->' is not a pointer
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:435: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:437: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:439: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:441: error: 'Param' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp: At global scope:
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:451: error: 'AlgorithmInfo' is not a class or namespace
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:451: error: variable or field 'read' declared void
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:451: error: 'algo' was not declared in this scope
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:451: error: expected primary-expression before 'const'
/usr/ports/graphics/opencv-core/work/opencv-2.4.7/modules/core/src/algorithm.cpp:1273: error: expected `}' at end of input
Scanning dependencies of target opencv_core
[  1%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o
*** [modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o] Error code 1

Stop in /usr/ports/graphics/opencv-core/work/opencv-2.4.7.
*** [modules/core/CMakeFiles/opencv_core.dir/all] Error code 1

Stop in /usr/ports/graphics/opencv-core/work/opencv-2.4.7.
*** [all] Error code 1

Stop in /usr/ports/graphics/opencv-core/work/opencv-2.4.7.
*** [do-build] Error code 1

Stop in /usr/ports/graphics/opencv-core.
*** [build] Error code 1

Stop in /usr/ports/graphics/opencv-core.
 
Re: graphics/opencv-core (2.4.7) compile error

Per /usr/ports/UPDATING
20131203:
AFFECTS: users of graphics/opencv, graphics/opencv-core
AUTHOR: jhale@FreeBSD.org

OpenCV has been updated to 2.4.7. Due to movement of files between the
opencv port and the opencv-core port, it will be necessary to remove
both packages before updating.

# pkg_delete -f opencv\*
or
# pkg delete -fg opencv\*
followed by
# portmaster -a
or
# portupgrade -a

Worked for me.
 
Re: graphics/opencv-core (2.4.7) compile error [RESOLVED]

Thank you for the tip. Reading the documentation works.. I had googled a lot, but didn't find anything helpful. :)

The entry in /usr/ports/UPDATING also led me to upgrade to the new PKGNG format. All is good and working now

Thanks again.

Mads
 
Back
Top