A few months ago I wrote a code using opencv 2.4.3 and compiled it using mingw and codeblock smoothly on a windows 7 x86.
Now I had to reinstall my computer and I can not recompile the code. The only difference is that now my windows 7 is x64.
Steps I did: 1 - I installed mingw with codeblock in "C: \ Program Files (x86) \ CodeBlocks" 2 - you unzipped opencv in "C: \ Development \ opencv" 3 - In codeblock in "Compile settings", "Search Directory" In "Compile" put "C: \ Development \ opencv \ build \ include" In "Linker" put "C: \ Development \ opencv \ build \ x86 \ mingw \ lib" Already switched to x64 and also did not work 4 - And in linker Settings put all the files C: \ Development \ opencv \ build \ x86 \ mingw \ lib \ * libopencv_calib3d. Dll.a Already switched to x64 and also did not work
In Path windows put C: \ Program Files (x86) \ CodeBlocks \ MinGW \ bin and C: \ Development \ opencv \ build \ x86 \ mingw \ bin Already switched to x64 and also did not work
When I switch to x64 can not compile.
When I'm on x86 mingw32-g. exe-Wall-fexceptions-O3-pg-IC: \ Development \ opencv \ build \ include-c C: \ Users \ Bernardo \ SkyDrive \ www \ Masters \ testing \ bow \ main-treinamento.cpp it obj \ Release \ main-treinamento.o mingw32-g. exe-Wall-fexceptions-O3-pg-IC: \ Development \ opencv \ build \ include-c C: \ Users \ Bernardo \ SkyDrive \ www \ Masters \ testing \ bow \ svm.cpp-o obj \ Release \ svm.o mingw32-g. exe-LC: \ Development \ opencv \ build \ x86 \ mingw \ lib-o-BoW Treinamento.exe obj \ Release \ main-treinamento.o obj \ Release \ svm.o-pg-lgmon C: \ Development \ opencv \ build \ x86 \ mingw \ lib \ libopencv_ * [note: all other files. dll.a] Output size is 1019.04 KB Process terminated with status 0 (0 minutes, 7 seconds) 0 errors, 0 warnings (0 minutes, 7 seconds)
When I play is shown the error "Unable to locate the procedure entry point __ gxx_personality_v0 in the dynamic link library libstdc-6.dll"