cannot compile on linux (issue in cv_extensions.ccp)
Brought to you by:
lukasmach
There is a compilation probleme on linux.
here is the end of the terminal output :
cv_extensions.cpp: In function ‘void cvComputeRQDecomposition(CvMat*, CvMat*, CvMat*, CvMat*, CvMat*, CvMat*, CvPoint3D64f*)’:
cv_extensions.cpp:18: error: ‘__BEGIN__’ was not declared in this scope
cv_extensions.cpp:197: error: ‘__END__’ was not declared in this scope
cv_extensions.cpp:22: error: label ‘exit’ used but not defined
Workaround :
I had to edit the file ../cv_extensions.ccp, and change every occurence of __BEGIN__ to __CV_BEGIN__ , then __END__ to __CV_END__
Tried on ubuntu 10.10 x64, with dependencies installed from the repositories
Solution worked in Fedora 14.