Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the shadow

Hello, I'm programming under Windows 7 using Visual Studio 2010, and I have a problem with one of the header files in opencv - core.hpp When compiling I get a tons of error messages like this:

1>c:\opencv\build\include\opencv2\core\core.hpp(1294): error C2059: syntax error : 'constant' 1>c:\opencv\build\include\opencv2\core\core.hpp(1294): error C3805: 'constant': unexpected token, expected either '}' or a ',' 1>c:\opencv\build\include\opencv2\core\core.hpp(4034): error C2059: syntax error : 'constant' 1>c:\opencv\build\include\opencv2\core\core.hpp(4048): error C2143: syntax error : missing ';' before '}' 1>c:\opencv\build\include\opencv2\core\core.hpp(4048): error C2238: unexpected token(s) preceding ';' 1>c:\opencv\build\include\opencv2\core\core.hpp(4050): error C2059: syntax error : ')' 1>c:\opencv\build\include\opencv2\core\core.hpp(4052): error C2226: syntax error : unexpected type 'CvFileStorage' 1>c:\opencv\build\include\opencv2\core\core.hpp(4054): error C2226: syntax error : unexpected type 'cv::FileNode'

Can you help me with this problem ? Thank you in advance!

the shadowProblem with core.hpp under Windows!

Hello, I'm programming under Windows 7 using Visual Studio 2010, and I have a problem with one of the header files in opencv - core.hpp When compiling I get a tons of error messages like this:

1>c:\opencv\build\include\opencv2\core\core.hpp(1294): error C2059: syntax error : 'constant' 1>c:\opencv\build\include\opencv2\core\core.hpp(1294): error C3805: 'constant': unexpected token, expected either '}' or a ',' 1>c:\opencv\build\include\opencv2\core\core.hpp(4034): error C2059: syntax error : 'constant' 1>c:\opencv\build\include\opencv2\core\core.hpp(4048): error C2143: syntax error : missing ';' before '}' 1>c:\opencv\build\include\opencv2\core\core.hpp(4048): error C2238: unexpected token(s) preceding ';' 1>c:\opencv\build\include\opencv2\core\core.hpp(4050): error C2059: syntax error : ')' 1>c:\opencv\build\include\opencv2\core\core.hpp(4052): error C2226: syntax error : unexpected type 'CvFileStorage' 1>c:\opencv\build\include\opencv2\core\core.hpp(4054): error C2226: syntax error : unexpected type 'cv::FileNode'

Can you help me with this problem ? Thank you in advance!

Problem with core.hpp under Windows!

Hello, I'm programming under Windows 7 using Visual Studio 2010, and I have a problem with one of the header files in opencv - core.hpp When compiling I get a tons of error messages like this:

1>c:\opencv\build\include\opencv2\core\core.hpp(1294): error C2059: syntax error : 'constant' 1>c:\opencv\build\include\opencv2\core\core.hpp(1294): error C3805: 'constant': unexpected token, expected either '}' or a ',' 1>c:\opencv\build\include\opencv2\core\core.hpp(4034): error C2059: syntax error : 'constant' 1>c:\opencv\build\include\opencv2\core\core.hpp(4048): error C2143: syntax error : missing ';' before '}' 1>c:\opencv\build\include\opencv2\core\core.hpp(4048): error C2238: unexpected token(s) preceding ';' 1>c:\opencv\build\include\opencv2\core\core.hpp(4050): error C2059: syntax error : ')' 1>c:\opencv\build\include\opencv2\core\core.hpp(4052): error C2226: syntax error : unexpected type 'CvFileStorage' 1>c:\opencv\build\include\opencv2\core\core.hpp(4054): error C2226: syntax error : unexpected type 'cv::FileNode'

Can you help me with this problem ? Thank you in advance!