Ask Your Question

the_shadow's profile - activity

2012-07-18 04:28:01 -0600 received badge  Famous Question (source)
2012-07-12 05:29:01 -0600 received badge  Notable Question (source)
2012-07-12 04:53:37 -0600 commented answer Problem with core.hpp under Windows!

I fix my problem but now I'm searching for file called "cvcompat.h" :-D :-D

2012-07-12 03:41:52 -0600 answered a question Problem with core.hpp under Windows!

I get the error messages when I include core.hpp into my code. Unfortunatly I can't post my code sorry. But the messages are from the file core.hpp itself.

2012-07-12 03:39:43 -0600 received badge  Popular Question (source)
2012-07-12 02:56:11 -0600 received badge  Editor (source)
2012-07-12 02:38:36 -0600 asked a question 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!