kylemcdonald/ofxCv — Issue #27: runningbackground.h compile errors in VS2010
Author: momo-the-monster
Created: 2011-12-22 04:25:40+00:00
State: open

When I attempt to compile, I get this list of errors:

2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(39): error C2059: syntax error : 'constant'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(39): error C2143: syntax error : missing ';' before '}'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(39): error C2238: unexpected token(s) preceding ';'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(41): error C2059: syntax error : ')'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(56): error C2065: 'DifferenceMode' : undeclared identifier
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(56): error C2146: syntax error : missing ')' before identifier 'differenceMode'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(56): error C2182: 'setDifferenceMode' : illegal use of type 'void'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(56): error C2059: syntax error : ')'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(58): error C2059: syntax error : 'protected'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(63): error C2146: syntax error : missing ';' before identifier 'differenceMode'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(63): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(63): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(65): error C2059: syntax error : '}'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(65): error C2143: syntax error : missing ';' before '}'
2>c:\users\momo\documents\of_prerelease_v007_vs2010\addons\ofxcv\libs\ofxcv\include\ofxcv\runningbackground.h(65): error C2059: syntax error : '}'