Jump to content
Compvision.ru
Dvoetut

Code::Blocks + OpenCV debug(работает)/releas(не работает)

Recommended Posts

Все привет! проблема, я так понимаю, решаемая и заключается в следующем...

Написал программку с использованием OpenCV249,  это консольное приложение:

IDE Code::Blocks

OS: Windows7 x64

В IDE нормально запускается debug версия, все работает. Когда компилирую releas версию, то компилируется без ошибок, но запустить программу не получается. Программа ругалась на недостающие dll, я их скинул в каталог с программой. Программа не выдает никаких ошибок, и не работает. Закрываю ее через диспетчер.

Может дело в dll файлах?

Может я неверно скомпилировал dll файлы... хотя дебаг запускается...

Share this post


Link to post
Share on other sites

Неплохо бы показать неработающий код и ошибки.

Share this post


Link to post
Share on other sites

 

2 hours ago, Smorodov said:

Неплохо бы показать неработающий код и ошибки.

Код обширный и в нескольких файлах... В дебаге то он работает

Струтуру приложил ниже.

img.png

Ошибок при компиляции нет.

Но базовый пример с выводом картинки lena работает в releas и debug

 

Вот лог при компиляции debug

 


-------------- Clean: Debug in FinalReleas_SmartPanda (compiler: GNU GCC Compiler)---------------

Cleaned "FinalReleas_SmartPanda - Debug"

-------------- Build: Debug in FinalReleas_SmartPanda (compiler: GNU GCC Compiler)---------------

x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\AddImageToKit.cpp" -o obj\Debug\AddImageToKit.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\DrawGridOnImage.cpp" -o obj\Debug\DrawGridOnImage.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\GETROI.cpp" -o obj\Debug\GETROI.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\main_MENU.cpp" -o obj\Debug\main_MENU.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\main_SmartPanda_detect.cpp" -o obj\Debug\main_SmartPanda_detect.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\main_SmartPanda_learn.cpp" -o obj\Debug\main_SmartPanda_learn.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\My_Find_ContourArea.cpp" -o obj\Debug\My_Find_ContourArea.o
x86_64-w64-mingw32-g++.exe -g -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\write_to_txt_file.cpp" -o obj\Debug\write_to_txt_file.o
x86_64-w64-mingw32-g++.exe -Lc:\opencv\build\x64\CodeBlocks_build\install\x64\mingw\lib\ -Lc:\opencv\build\x64\CodeBlocks_build\install\x64\mingw\bin\ -o bin\Debug\FinalReleas_SmartPanda.exe obj\Debug\AddImageToKit.o obj\Debug\DrawGridOnImage.o obj\Debug\GETROI.o obj\Debug\main_MENU.o obj\Debug\main_SmartPanda_detect.o obj\Debug\main_SmartPanda_learn.o obj\Debug\My_Find_ContourArea.o obj\Debug\write_to_txt_file.o   -lopencv_imgproc249.dll -lopencv_core249.dll -lopencv_highgui249.dll C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_calib3d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_calib3d249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_contrib_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_contrib249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_core_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_core249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_features2d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_features2d249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_flann_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_flann249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_gpu_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_gpu249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_haartraining_engine.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_highgui_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_highgui249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_imgproc_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_imgproc249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_legacy_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_legacy249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ml_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ml249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_nonfree_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_nonfree249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_objdetect_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_objdetect249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ocl_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ocl249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_calib3d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_core_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_features2d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_gpu_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_highgui_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_imgproc_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_nonfree_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_objdetect_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_ocl_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_photo_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_stitching_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_superres_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_video_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_photo_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_photo249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_stitching_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_stitching249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_superres_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_superres249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_calib3d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_contrib_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_core_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_features2d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_flann_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_gpu_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_highgui_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_imgproc_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_legacy_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_ml_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_nonfree_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_objdetect_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_ocl_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_photo_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_stitching_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_superres_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_video_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ts_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ts249.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_video_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_video249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_videostab_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_videostab249.dll.a
Output file is bin\Debug\FinalReleas_SmartPanda.exe with size 3.50 MB
Process terminated with status 0 (0 minute(s), 12 second(s))
0 error(s), 0 warning(s) (0 minute(s), 12 second(s))
 

 

Вот лог при компиляции releas


-------------- Clean: Release in FinalReleas_SmartPanda (compiler: GNU GCC Compiler)---------------

Cleaned "FinalReleas_SmartPanda - Release"

-------------- Build: Release in FinalReleas_SmartPanda (compiler: GNU GCC Compiler)---------------

x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\AddImageToKit.cpp" -o obj\Release\AddImageToKit.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\DrawGridOnImage.cpp" -o obj\Release\DrawGridOnImage.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\GETROI.cpp" -o obj\Release\GETROI.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\main_MENU.cpp" -o obj\Release\main_MENU.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\main_SmartPanda_detect.cpp" -o obj\Release\main_SmartPanda_detect.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\main_SmartPanda_learn.cpp" -o obj\Release\main_SmartPanda_learn.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\My_Find_ContourArea.cpp" -o obj\Release\My_Find_ContourArea.o
x86_64-w64-mingw32-g++.exe -O2 -s -std=c++11 -Ic:\opencv\build\x64\CodeBlocks_build\install\include\ -c "C:\Users\ZuikovAA\Documents\CPP Project\FinalReleas_SmartPanda\write_to_txt_file.cpp" -o obj\Release\write_to_txt_file.o
x86_64-w64-mingw32-g++.exe -Lc:\opencv\build\x64\CodeBlocks_build\install\x64\mingw\lib\ -Lc:\opencv\build\x64\CodeBlocks_build\install\x64\mingw\bin\ -Lc:\opencv\build\x64\CodeBlocks_build\install\x64\mingw\lib\ -Lc:\opencv\build\x64\CodeBlocks_build\install\x64\mingw\bin\ -o bin\Release\FinalReleas_SmartPanda.exe obj\Release\AddImageToKit.o obj\Release\DrawGridOnImage.o obj\Release\GETROI.o obj\Release\main_MENU.o obj\Release\main_SmartPanda_detect.o obj\Release\main_SmartPanda_learn.o obj\Release\My_Find_ContourArea.o obj\Release\write_to_txt_file.o   -lopencv_imgproc249.dll -lopencv_core249.dll -lopencv_highgui249.dll -lopencv_imgproc249.dll -lopencv_core249.dll -lopencv_highgui249.dll C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_calib3d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_calib3d249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_contrib_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_contrib249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_core_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_core249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_features2d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_features2d249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_flann_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_flann249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_gpu_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_gpu249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_haartraining_engine.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_highgui_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_highgui249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_imgproc_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_imgproc249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_legacy_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_legacy249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ml_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ml249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_nonfree_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_nonfree249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_objdetect_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_objdetect249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ocl_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ocl249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_calib3d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_core_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_features2d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_gpu_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_highgui_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_imgproc_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_nonfree_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_objdetect_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_ocl_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_photo_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_stitching_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_superres_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_perf_video_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_photo_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_photo249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_stitching_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_stitching249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_superres_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_superres249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_calib3d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_contrib_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_core_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_features2d_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_flann_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_gpu_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_highgui_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_imgproc_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_legacy_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_ml_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_nonfree_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_objdetect_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_ocl_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_photo_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_stitching_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_superres_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_test_video_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ts_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_ts249.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_video_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_video249.dll.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_videostab_pch_dephelp.a C:\opencv\build\x64\CodeBlocks_build\lib\libopencv_videostab249.dll.a -mwindows
Output file is bin\Release\FinalReleas_SmartPanda.exe with size 2.65 MB
Process terminated with status 0 (0 minute(s), 13 second(s))
0 error(s), 0 warning(s) (0 minute(s), 13 second(s))
 

 

Share this post


Link to post
Share on other sites

Dll точно релизные? Сделать, если нет, try-catch. Может зависать на выделении памяти. Ну и в релиз отладчиком тоже можно войти.

Share this post


Link to post
Share on other sites

Я давно собирал их с помощью  CMAke. тонкостей не помню, но по моему там автоматом собирается версия для debug и releas версий

Share this post


Link to post
Share on other sites

Под MS Visual Studio смог собрать версию releas не меняя кода программы. Все работает...

Есть предложения?

 

Share this post


Link to post
Share on other sites
14 minutes ago, mrgloom said:

Компилятор в Code::Blocks  от Visual Studio ?

Нет, там MinGW установлен.

Нужно будет на других машинах попробовать. Тут два варианта, как мне кажется: dll или компилятор. Хотя есть еще вариант с настройками IDE))) но проект же по умолчанию с картинкой lena работате нормально...

Share this post


Link to post
Share on other sites

История такая:

1)CMake'ом собрал библиотеку как проект для CodeBlocks

2)установил компилятор tdm64 gcc - если я правильно понимаю, то это minGW

3)этот компилятор подцепил в CodeBlocks

4)открываю собранный проект opencv в CodeBlocks и компилирую

5)собранная таким образом библиотека используется мной дальше для программирования

 

Может нужно было библиотеку  opencv собирать из консоли?

Или нужен другой компилятор? Если можете киньте ссылку для скачивания на 64-bit версию компилятора

 

Share this post


Link to post
Share on other sites

Там же есть из коробки codeblocks-16.01mingw-setup.exe

http://www.codeblocks.org/downloads/26

Я точно не уверен, но x32 должно хватить, т.к. есть кросскомпиляция же.

Потом по идее вам надо собрать OpenCV используя MinGW.

http://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw/

http://stackoverflow.com/questions/10860352/getting-started-with-opencv-2-4-and-mingw-on-windows-7

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×