Θέλω να συνδέσω τον eclipse με το opencv
Ο eclipse αναγνωρίζει κανονικά (compile, link κτλ) project C και C++. Ως compiler χρησιμοποιώ τον MinGW.
Το opencv 2.3.1 έρχεται με prebuilt βιβλιοθήκες για windows 32 και 64bit, για visual studio 9, 10 καθώς και mingw
Οι εντολές του opencv αναγνωρίζονται κανονικά (έχουν γίνει τα απαραίτητα include)
Όταν όμως πάω να κάνω build, ο linker δε βρίσκει τις βιβλιοθήκες
**** Build of configuration Debug for project test ****
**** Internal Builder is used for build ****
g++ -LC:\Users\papadoma\opencv\build\x64\mingw\lib -o test.exe hello.o -llibopencv_calib3d231.dll.a -llibopencv_highgui231.dll.a -llibopencv_contrib231.dll.a -llibopencv_objdetect231.dll.a -llibopencv_ml231.dll.a -llibopencv_legacy231.dll.a -llibopencv_video231.dll.a -llibopencv_features2d231.dll.a -llibopencv_flann231.dll.a -llibopencv_imgproc231.dll.a -llibopencv_core231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_calib3d231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_highgui231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_contrib231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_objdetect231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_ml231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_legacy231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_video231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_features2d231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_flann231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_imgproc231.dll.a
c:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -llibopencv_core231.dll.a
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 332 ms.
Στον mingw linker, στο πεδίο library search path έχω ορίσει
"C:\Users\papadoma\opencv\build\x64\mingw\lib"
και σαν libraries ότι υπάρχει στο παραπάνω φάκελο, δλδ
libopencv_calib3d231.dll.a
libopencv_highgui231.dll.a
libopencv_contrib231.dll.a
libopencv_objdetect231.dll.a
libopencv_ml231.dll.a
libopencv_legacy231.dll.a
libopencv_video231.dll.a
libopencv_features2d231.dll.a
libopencv_flann231.dll.a
libopencv_imgproc231.dll.a
libopencv_core231.dll.a
Επίσης αναφέρω ότι στο PATH του λειτουργικού (win7) περιλαμβάνεται τόσο ο compiler (προφανως) όσο και ο φάκελος bin που περιέχει τα παραπάνω .dll (όχι τα .dll.a)
wtf? καμια βοήθεια; :-\