j ai un problème avec opencv et codeblocks,
voila j ai télécharger opencv 2.4.8 j ai suivi les tuto sur le net pour l installer exemple comme ici : j ai suivi le tuto tous va bien jusqu' a ce que je pousse sur configurer alors la configuration échoue je regarde sur error.log et voila se qu' il y a :
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-g++.exe
Build flags:
Id flags:

The output was:
1
mingw32-g++.exe: installation problem, cannot exec `as': No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-g++.exe
Build flags:
Id flags: -c

The output was:
1
mingw32-g++.exe: installation problem, cannot exec `as': No such file or directory

Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
mingw32-g++.exe: no input files
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-gcc.exe
Build flags:
Id flags:

The output was:
1
mingw32-gcc.exe: installation problem, cannot exec `as': No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-gcc.exe
Build flags:
Id flags: -c

The output was:
1
mingw32-gcc.exe: installation problem, cannot exec `as': No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-gcc.exe
Build flags:
Id flags: -Aa

The output was:
1
<command line>:1:2: missing '(' after predicate

Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
mingw32-gcc.exe: no input files
Determining if the CXX compiler works failed with the following output:
Change Dir: C:/Users/alilou/Desktop/CodeBlocks/opencv/CMakeFiles/CMakeTmp

Run Build Command:C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-make.exe "cmTryCompileExec4022367813/fast"
C:/Users/alilou/Desktop/CodeBlocks/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec4022367813.dir\build.make CMakeFiles/cmTryCompileExec4022367813.dir/build

mingw32-make.exe[1]: Entering directory `C:/Users/alilou/Desktop/CodeBlocks/opencv/CMakeFiles/CMakeTmp'

"C:\Users\alilou\Desktop\Nouveau dossier\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\Users\alilou\Desktop\CodeBlocks\opencv\CMakeFiles\CMakeTmp\CMakeFiles 1

Building CXX object CMakeFiles/cmTryCompileExec4022367813.dir/testCXXCompiler.cxx.obj

C:\Users\alilou\Desktop\CodeBlocks\MinGW\bin\mingw32-g++.exe -o CMakeFiles\cmTryCompileExec4022367813.dir\testCXXCompiler.cxx.obj -c C:\Users\alilou\Desktop\CodeBlocks\opencv\CMakeFiles\CMakeTmp\testCXXCompiler.cxx

mingw32-g++.exe: installation problem, cannot exec `as': No such file or directory

mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec4022367813.dir/testCXXCompiler.cxx.obj] Error 1

mingw32-make.exe[1]: Leaving directory `C:/Users/alilou/Desktop/CodeBlocks/opencv/CMakeFiles/CMakeTmp'

mingw32-make.exe: *** [cmTryCompileExec4022367813/fast] Error 2
alors j ai essaye d arranger ça ça n a pas marcher alors je me suis diriger vers une autre solution qui est de télécharger les fichiers binaries précompiler et les installer manuellement j ai trouver sur le net opencv2.4.5 et j ai faits configurer les links dans codeblocks sauf que les fichier libs ici sont tous .lib et j n ais pas trouver sur le net des fichier .a mais quand même j ai tester un programme qui ne veut pas compiler parcequ il me renvoie les erreur suivants
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
....undefined reference to `cv::fastFree(void*)
.....undefined reference to `cv::Mat::deallocate() |
ici l erreur peut être pacque codeblocks reconnais que les fichier libs .a alors que j ais que les .lib
aidez moi SVP .