I compiled opticFlowExample successfully with codeblocks (codeblocks-8.02mingw, of_preRelease_v0.05_windows_cb_FAT) but am getting 30 warnings.
What is the difference between codeblocks and visual studio C++ 2005? Can someone help me to translate this in VS 2005?
App (opticFlowExample.rar) and addons (ofxOpenCVBlobTrackingExt.rar) are in attachment.
Warnings:
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvConstants_Track.h:10:1: warning: “MAX_NUM_CONTOURS_TO_FIND” redefined
…/…/…/addons/ofxOpenCv/src/ofxCvConstants.h:10:1: warning: this is the location of the previous definition
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvBlobTracker.cpp:329: warning: passing const float' for converting 1 of
virtual void
ofxCvBlobListener::blobOn(int, int, int, int)’
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvBlobTracker.cpp:329: warning: passing const float' for converting 2 of
virtual void
ofxCvBlobListener::blobOn(int, int, int, int)’
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvBlobTracker.cpp:336: warning: passing const float' for converting 1 of
virtual void
ofxCvBlobListener::blobMoved(int, int, int, int)’
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvBlobTracker.cpp:336: warning: passing const float' for converting 2 of
virtual void
ofxCvBlobListener::blobMoved(int, int, int, int)’
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvBlobTracker.cpp:343: warning: passing const float' for converting 1 of
virtual void
ofxCvBlobListener::blobOff(int, int, int, int)’
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\addons\ofxOpenCVBlobTrackingExt\ofxCvBlobTracker.cpp:343: warning: passing const float' for converting 2 of
virtual void
ofxCvBlobListener::blobOff(int, int, int, int)’
…/…/…/addons/ofxOpenCVBlobTrackingExt/ofxCvConstants_Track.h:10:1: warning: “MAX_NUM_CONTOURS_TO_FIND” redefined
…/…/…/addons/ofxOpenCv/src/ofxCvConstants.h:10:1: warning: this is the location of the previous definition
…/…/…/addons/ofxOpenCVBlobTrackingExt/ofxCvConstants_Track.h:10:1: warning: “MAX_NUM_CONTOURS_TO_FIND” redefined
…/…/…/addons/ofxOpenCv/src/ofxCvConstants.h:10:1: warning: this is the location of the previous definition
D:\Radni\openframeworks\CodeBlocks\of_preRelease_v0.05_windows_cb_FAT\apps\addonsExamples\opticFlowExample\src\testApp.cpp:304:62: warning: trigraph ??) ignored, use -trigraphs to enable
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:uuid.lib ' unrecognized Warning: .drectve
-defaultlib:uuid.lib ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve
-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve `/DEFAULTLIB:“LIBC” /DEFAULTLIB:“OLDNAMES” ’ unrecognized