Author Topic: Codeblocks and Opencv - can't execute any opencv program  (Read 7244 times)

Offline websnake

  • Multiple posting newcomer
  • *
  • Posts: 22
I configured C::B to work with Opencv.

when i compile my program everything goes fine but in console windows it shows this massage..

Code
the program can't start because opencv_core220.dll is missing form
your computer. Try reinstalling the program to fix this problem.

i am using opencv2.2 and C::B 10.5(SVN 7075)
OS - windows 7 ultimate.


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Codeblocks and Opencv - can't execute any opencv program
« Reply #1 on: May 08, 2011, 10:41:09 am »
Code
the program can't start because opencv_core220.dll is missing form
your computer. Try reinstalling the program to fix this problem.
Either you copy this DLL to where your application gets compiled into (or the runtime path as you setup in the project options) or you copy this DLL to a system-wide known path, such as Windows\system32.

Note that this is not a C::B issue.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline websnake

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: Codeblocks and Opencv - can't execute any opencv program
« Reply #2 on: May 08, 2011, 03:08:53 pm »
Yep that worked thanks alot.