Created
August 17, 2013 12:37
-
-
Save like-a-bause/6256705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:71:30: error: variable 'sqrt' declared as a template | |
template<typename _Tp> _Tp norm(const complex<_Tp>&); | |
~~~~~~~~~~~~~~~~~~~~~~ ^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:41:20: note: expanded from: | |
#define norm(v) sqrt(norm2(v)) // norm = length of vector | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:71:35: error: expected expression | |
template<typename _Tp> _Tp norm(const complex<_Tp>&); | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:41:31: note: expanded from: | |
#define norm(v) sqrt(norm2(v)) // norm = length of vector | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:40:24: note: expanded from: | |
#define norm2(v) dot(v,v) // norm2 = squared length of vector | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:654:5: error: 'inline' can only appear on functions | |
inline _Tp | |
^ | |
/usr/include/glib-2.0/glib/gutils.h:65:18: note: expanded from: | |
# define inline __inline__ | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:655:5: error: variable 'sqrt' declared as a template | |
norm(const complex<_Tp>& __z) | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:41:20: note: expanded from: | |
#define norm(v) sqrt(norm2(v)) // norm = length of vector | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:655:10: error: expected expression | |
norm(const complex<_Tp>& __z) | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:41:31: note: expanded from: | |
#define norm(v) sqrt(norm2(v)) // norm = length of vector | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:40:24: note: expanded from: | |
#define norm2(v) dot(v,v) // norm2 = squared length of vector | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:655:34: error: expected ';' at end of declaration | |
norm(const complex<_Tp>& __z) | |
^ | |
; | |
/usr/include/c++/4.6/complex:656:5: error: expected unqualified-id | |
{ | |
^ | |
/usr/include/c++/4.6/complex:1211:21: error: member access into incomplete type 'const complex<float>' | |
: _M_value(__z.__rep()) { } | |
^ | |
/usr/include/c++/4.6/complex:62:20: note: forward declaration of 'std::complex<float>' | |
template<> class complex<float>; | |
^ | |
/usr/include/c++/4.6/complex:1210:26: error: constexpr constructor must initialize all members | |
_GLIBCXX_CONSTEXPR complex(const complex<float>& __z) | |
^ | |
/usr/include/c++/4.6/complex:1335:17: note: member not initialized by constructor | |
_ComplexT _M_value; | |
^ | |
/usr/include/c++/4.6/complex:1363:21: error: member access into incomplete type 'const complex<float>' | |
: _M_value(__z.__rep()) { } | |
^ | |
/usr/include/c++/4.6/complex:62:20: note: forward declaration of 'std::complex<float>' | |
template<> class complex<float>; | |
^ | |
/usr/include/c++/4.6/complex:1362:26: error: constexpr constructor must initialize all members | |
_GLIBCXX_CONSTEXPR complex(const complex<float>& __z) | |
^ | |
/usr/include/c++/4.6/complex:1488:17: note: member not initialized by constructor | |
_ComplexT _M_value; | |
^ | |
/usr/include/c++/4.6/complex:1494:3: error: incomplete type 'std::complex<float>' named in nested name specifier | |
complex<float>::complex(const complex<double>& __z) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/c++/4.6/complex:62:20: note: forward declaration of 'std::complex<float>' | |
template<> class complex<float>; | |
^ | |
/usr/include/c++/4.6/complex:1494:3: error: incomplete type 'std::complex<float>' named in nested name specifier | |
complex<float>::complex(const complex<double>& __z) | |
^~~~~~~~~~~~~~~~ | |
/usr/include/c++/4.6/complex:62:20: note: forward declaration of 'std::complex<float>' | |
template<> class complex<float>; | |
^ | |
/usr/include/c++/4.6/complex:1840:5: error: 'inline' can only appear on functions | |
inline typename __gnu_cxx::__promote<_Tp>::__type | |
^ | |
/usr/include/glib-2.0/glib/gutils.h:65:18: note: expanded from: | |
# define inline __inline__ | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:1841:5: error: variable 'sqrt' declared as a template | |
norm(_Tp __x) | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:41:20: note: expanded from: | |
#define norm(v) sqrt(norm2(v)) // norm = length of vector | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:59: | |
/usr/include/c++/4.6/complex:1841:10: error: '_Tp' does not refer to a value | |
norm(_Tp __x) | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:41:31: note: expanded from: | |
#define norm(v) sqrt(norm2(v)) // norm = length of vector | |
^ | |
../../../addons/ofxBox2d/src/ofxBox2dPolygonUtils.h:40:24: note: expanded from: | |
#define norm2(v) dot(v,v) // norm2 = squared length of vector | |
^ | |
/usr/include/c++/4.6/complex:1839:21: note: declared here | |
template<typename _Tp> | |
^ | |
/usr/include/c++/4.6/complex:1841:18: error: expected ';' at end of declaration | |
norm(_Tp __x) | |
^ | |
; | |
/usr/include/c++/4.6/complex:1842:5: error: expected unqualified-id | |
{ | |
^ | |
In file included from src/testApp.cpp:1: | |
In file included from ./src/testApp.h:13: | |
In file included from ./src/imageTools/ImageServer.h:13: | |
In file included from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5: | |
In file included from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10: | |
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:64: | |
../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core/core.hpp:2018:43: error: too many arguments provided to function-like macro invocation | |
CV_EXPORTS_W double norm(InputArray src1, int normType=NORM_L2, InputArray mask=noArray()); | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
19 warnings and 20 errors generated. | |
make[1]: *** [obj/linux64/Release/src/testApp.o] Error 1 | |
make: *** [Release] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment