Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8234947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:38:44+00:00 2026-06-07T18:38:44+00:00

I just started using openCV (version 2.4.1) in visual studio 2008 on windows 7.

  • 0

I just started using openCV (version 2.4.1) in visual studio 2008 on windows 7. I did the installation and the “hello world” program as described in

http://opencv.willowgarage.com/wiki/VisualC%2B%2B

and

How to install OpenCV 2.0 on win32

Thanks to these instruction my program compiles fine without any errors. But when I first ran it I got error that files opencv_core241d.dll and tbb_debug.dll are missing. So obviously something didn’t get set right but as per the instruction in first link I copied these files to the same folder where the exe is sitting, Ran it third time and now I am getting the popup about libgcc_s_dw2-1.dll missing. I have done a search on my computer and no such dll is available.

I have researched this online and haven’t seen any real solution online about some issues like this. My guess is with the multiple dll being missing openCV didn;t get installed properly but I have no idea what really is going on.

Any help is desperately needed and will be appreciated heavily by my hairs and scalp.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:38:45+00:00Added an answer on June 7, 2026 at 6:38 pm

    Follow these steps and try.

    1. Extract OpenCV 2.4.x into your main partition (I’ll assume C\{opencvdir})

    2. Add C\{opencvdir}\build\x86\vc9\bin to environmental variable’s path variable. And restart your computer (These settings are for 32bit (x86) Windows version and Visual Studio 2008 (VC9)).

    3. Now create a new Visual Studio project and add your sample OpenCV code.

    4. Go to project Properties -> Configuration Properties -> C/C++ -> General -> Additional Directories and add:

      "C\{opencvdir}\include";
      "C\{opencvdir}\include\opencv";
      "C\{opencvdir}\include\opencv2"
      
    5. Go to project Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies and add:

      "C\{opencvdir}\build\x86\vc9\lib\opencv_core240.lib";
      "C\{opencvdir}\build\x86\vc9\lib\opencv_highgui240.lib";
      "C\{opencvdir}\build\x86\vc9\lib\opencv_imgproc240.lib";
      "C\{opencvdir}\build\x86\vc9\lib\opencv_video240.lib"
      

      (These libraries are for a basic application. Add more as your application needs them).

    6. Now run your project.

    P.S. My recommendation is to use Visual Studio 2010 with OpenCV 2.3.x or higher.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just started using Visual Studio 2008 and was hoping to convert my VBA UserForms
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I've just recently started working with Visual Studio this summer, primarily on CUDA and
I just started trying to play with OpenCV and I wrote a small program
I just started using git with github. I followed their instructions and ran into
I just started using the MVCContrib grid in a test project. I'm having a
I just started using django for development. At the moment, I have the following
I just started using ELMAH and am a fan. My team supports a large
I just started using Qt and noticed that in each example code folder there
I just started using Qt and noticed that it uses its own make tool,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.