Ask Your Question

Saman's profile - activity

2014-09-19 23:02:13 -0600 commented answer About import OpenCV to Dev C++

Hi berak , I'm still having the linker problem in DEV C++ , when I compile the code it can't find the header file . I think I have included the right folders. Do you have any idea or could you please send the best way to set up the linker stuff in DEV C++ for Open CV ? Thanks, Saman

2014-09-12 01:16:16 -0600 received badge  Editor (source)
2014-09-10 15:37:29 -0600 commented answer About import OpenCV to Dev C++

These are first two errors : 2 C:\Users\SaMaN\Documents\opencv_test01.cpp opencv2/imgproc/imgproc.hpp: No such file or directory. 3 C:\Users\SaMaN\Documents\opencv_test01.cpp opencv2/highgui/highgui.hpp: No such file or directory. I also commented out the -lcv ... but it didn't work. PS: how can I use edit button? I tried it but it seems it's editting my first message.

Thanks,

2014-09-10 14:20:11 -0600 commented answer About import OpenCV to Dev C++

Your prompt help is highly appreciated !

2014-09-10 14:16:22 -0600 commented answer About import OpenCV to Dev C++

6-3 Directories->Binaries: C:\Users\SaMaN\Documents\opencv_2.4.9\install\x86\mingw\bin Directories->Libraries: C:\Users\SaMaN\Documents\opencv_2.4.9\install\x86\mingw\lib Directories->C Includes: C:\Users\SaMaN\Documents\opencv_2.4.9\install\include\opencv2 Directories->C++ Includes: C:\Users\SaMaN\Documents\opencv_2.4.9\install\include\opencv2

2014-09-10 14:15:48 -0600 commented answer About import OpenCV to Dev C++

Hi guys, I did the following steps but sill I'm getting this error 2 C:\Users\SaMaN\Documents\opencv_test01.cpp opencv2/imgproc/imgproc.hpp: No such file or directory.

1 - downloaded CMake 2- downloaded OpenCV_2.4.9 3- Using CMake gui , configured and generated OpenCV without any error 4- in the OpenCV folder : mingw32-make . This commend was working till 92 or 93 % then failed but I did : 5- mingw32-make install and it was completed 100% without any error. 6- in DEV C++ , created new compiler with this config: 6-1 Add following command when compiling -L "C:\Users\SaMaN\Documents\opencv_2.4.9\install\x86\mingw\lib" -lcxcore249 -lcv249 -lhighgui249 -lml249 -lcvaux249 -lcxts249 6-2 Add these commands to linker : -lhighgui -lcv -lcxcore -lcvaux -lcvcam

2014-09-07 10:25:00 -0600 commented answer About import OpenCV to Dev C++

just for letting you know I have downloaded the latest version of OpenCV. Does it cause any problem ?

2014-09-07 10:24:17 -0600 commented answer About import OpenCV to Dev C++

recipe for target 'modules/core/CMakeFiles/opencv_cor e.dir/all' failed mingw32-make[1]: * [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:136: recipe for target 'all' failed mingw32-make: * [all] Error 2

2014-09-07 10:23:37 -0600 commented answer About import OpenCV to Dev C++

C:\Users\SaMaN\Downloads\opencv>mingw32-make install [ 2%] Built target zlib [ 6%] Built target libtiff [ 10%] Built target libjpeg [ 15%] Built target libwebp [ 19%] Built target libjasper [ 21%] Built target libpng [ 28%] Built target IlmImf [ 28%] Built target opencv_core_pch_dephelp [ 29%] Built target pch_Generate_opencv_core Linking CXX shared library ....\bin\libopencv_core300.dll c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lRunTmChk collect2.exe: error: ld returned 1 exit status modules\core\CMakeFiles\opencv_core.dir\build.make:1257: recipe for target 'bin/ libopencv_core300.dll' failed mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1 CMakeFiles\Makefile2:1325: recipe for target 'modules/core/CMakeFiles/opencv_cor e.dir/all' faile

2014-09-07 10:23:20 -0600 commented answer About import OpenCV to Dev C++

Hi Berak, I did the CMake stuff and I think it was done correctly but when using mingw I got the following errors: Linking CXX shared library ....\bin\libopencv_core300.dll c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lRunTmChk collect2.exe: error: ld returned 1 exit status modules\core\CMakeFiles\opencv_core.dir\build.make:1257: recipe for target 'bin/ libopencv_core300.dll' failed mingw32-make[2]: * [bin/libopencv_core300.dll] Error 1 CMakeFiles\Makefile2:1325: recipe for target 'modules/core/CMakeFiles/opencv_cor e.dir/all' failed mingw32-make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:136: recipe for target 'all' failed mingw32-make: ** [all] Error 2

2014-09-06 09:08:50 -0600 commented answer About import OpenCV to Dev C++

Dear Berak, Sorry for asking this basic question. Could you please let me know how I should build OpenCV from scratch? I went over the video tutorials but I honestly didn't get it!!! Do I need to install all those things (Python , Numphy...) ? Or just CMake? could you please send me a link or something describing that? I honestly got stuck !!! Thanks, Saman

2014-09-05 15:18:25 -0600 commented answer About import OpenCV to Dev C++

Hi Steven, Thanks for you advice. It seems I should go back and re-install OpenCV for DEV C++. I hope the problem is gone. If not, I bug you again. Best, Saman

2014-09-04 23:27:19 -0600 answered a question About import OpenCV to Dev C++

I think I'm using OpenCV as compiler ... In "compiler options" I have OpenCV to compile this piece of code. So is there anything wrong with it? Sorry for asking basic questions.

and honestly the version of OpenCV I'm using is "vc11", this is the version works on my Visual Studio but doesn't work on DEV c++.

What is the best way to sort out the linking error ?

Thanks a lot, S.

These are the errors I get:

2 C:\Users\SaMaN\Documents\opencv_test01.cpp opencv2/imgproc/imgproc.hpp: No such file or directory. 3 C:\Users\SaMaN\Documents\opencv_test01.cpp opencv2/highgui/highgui.hpp: No such file or directory. 6 C:\Users\SaMaN\Documents\opencv_test01.cpp highgui.h: No such file or directory.

2014-09-03 15:02:26 -0600 answered a question About import OpenCV to Dev C++

Dear OpenCV and DEV C++ experts, I'm trying to set up DEV C++ for using OpenCV but it doesn't work! I searched a lot and used different instruction from different websites but I'm still getting some errors such as fatal error C1083: Cannot open include file: 'opencv2/imgproc/imgproc.hpp': No such file or directory
the same for highgui.

Could somebody please share a link or correct instruction for DEV C++ / OpenCV?

Your prompt help is much appreciated! Thank you, Saman

Update 1: It should definitely a linker problem but how can I fix it? I tried to follow the instructions posted online. Could you please send a good one for setting DEV C++ for OpenCV? Thanks,

Update 2: Hi berak , I'm still having the linker problem in DEV C++ , when I compile the code it can't find the header file . I think I have included the right folders. Do you have any idea or could you please send the best way to set up the linker stuff in DEV C++ for Open CV ? Thanks, Saman