@eco_bach1 wrote:
Am successfully compling example projects using Codeblocks on Windows 10.
I've already created a custom project that compiles without errors in XCode and need to transfer it so it will compile in Windows.
I first created a blank CB project using the project generator
Then I copied just the bin data and my new src files overI then followed these directions to add links to the ofxOpenCv addon to my CB project
http://www.41post.com/3291/programming/configuring-openframeworks-add-ons-in-codeblocksSo now my project ALMOST finishes compiling
but am now getting lots of 'undefined reference' errors such as the followingHere are just the first dozen or so, there are about 50 total 'undefined reference' errors
F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:37: undefined reference to `cvReleaseImage'
obj\Release\addons\ofxOpenCv\src\ofxCvColorImage.o: In function `ZN15ofxCvColorImage3setEiii':F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:63: undefined reference to `cvSet'
obj\Release\addons\ofxOpenCv\src\ofxCvColorImage.o: In function `ZN15ofxCvColorImage3setEf':F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:53: undefined reference to `cvSet'
obj\Release\addons\ofxOpenCv\src\ofxCvColorImage.o: In function `ZN15ofxCvColorImage6resizeEii':F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:408: undefined reference to `cvCreateImage'
F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:409: undefined reference to `cvResize'
F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:412: undefined reference to `cvCopy'
F://of_v0.8.4_win_cb_release/addons/ofxOpenCv/src/ofxCvColorImage.cpp:413: undefined reference to `cvReleaseImage'
obj\Release\addons\ofxOpenCv\src\ofxCvColorImage.o: In function `ZN15ofxCvColorImage30convertToGrayscalePlanarImagesER19ofxCvGrayscaleImageS1_S1_':
Windows 10
Codeblocks 13.12
compiler is GNU GCCCan anyone suggest what my next steps should be?
Posts: 1
Participants: 1