0

I have been trying to configure OpenCV 2.4.4 for CodeBlocks for quite some time now but even though I follow online guides somehow I can't do it and I am slowly getting desperate. I tried to do what Mr. bsdnoobz said in this topic, but it still does not work. Here's what I've done so far:

  • I have installed OpenCV 2.4.4 and MinGW successfully:

    C:\Users\Max\gcc
    gcc: fatal error: no input files
    compilation terminated

  • I have added to Path this:

    D:\OpenCV\build\x86\mingw\bin;C:\MinGW\bin; D:\OpenCV\build\x86\vc10\bin

  • In Code Blocks i set up everything like this:

Yet i get the following error:

could not start the program because libopencv_core244.dll is not found

and even though i tried heavily i cant fix it. Hope somebody can help me!

8
  • I can't add more than two links in my post so here are the links to the photos of how i set up everything: postimg.org/image/kw8zb1243 postimg.org/image/62r0zkb41 postimg.org/image/3y6h67yvd postimg.org/image/bacueuuft Commented Apr 17, 2013 at 18:40
  • You are saying to install OpenCV successfully, but you screenshot shows GCC error and in general is unrelated. Try re-installing OpenCV and follow any errors that appear. Commented Apr 17, 2013 at 18:47
  • But in the link I posted at the top Mr. bsdnoobz posted: "To test if your MinGW installation is success, open a command-line box and type: gcc. If everything is ok, it will display this message: gcc: fatal error: no input files compilation terminated" then it means that the installation was successfull. Commented Apr 17, 2013 at 18:50
  • Why would my post get a vote down if I thoroughly described my problem (which is, in my opinion, very serious) and politely asked for help? Commented Apr 17, 2013 at 19:04
  • Message indicates that MinGW was installed successfully, and MinGW is nothing more than GNU compiler collection. It does nothing with OpenCV. CodeBlocks claims that it can't find OpenCV libraries in PATH. If you are sure that OpenCV is installed successfully too, check your path ("D:\OpenCV\build\x86\mingw\bin") for these DLLs (files with names something like "opencv.dll" or "libopencv.dll"). Commented Apr 17, 2013 at 22:33

1 Answer 1

0

you need to copy and paste the opencv dll files to windows/system32 folder

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.