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 8816727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:41:05+00:00 2026-06-14T04:41:05+00:00

When I was working with OpenCV, I added the build/install folder (i.e. where I

  • 0

When I was working with OpenCV, I added the build/install folder (i.e. where I had my mingw32-make and mingw32-install files created) to PATH variable. However, this made my PC quite slow after I did a few builds on my CodeBlocks IDE. I didn’t forget to deallocate memory or anything like that which might cause trouble. Even a simple hello world program takes ages to run after a few builds. I am using i7 with 8GB of RAM and L3 cache which, I believe, is good enough for any development. After I removed the OpenCV directory from my PATH, it was okay, but not permanently. What could the problem be?

I also checked my environment variables and there is no garbage variable in there! I only have MinGW32 compiler i.e. the bin folder in PATH. But it is necessary (I think!).

Surprisingly, I have tried the same with Microsoft Visual C++ 2010 Express and when I try to build the openCV libraries, it really slows the PC down. For example, if I am trying to open the File explorer on Windows, it takes like 15 seconds for a window to pop up. If I try to open a web browser window, it takes about same time. And I have been monitoring my task manager for weird activities, but nothing! I don’t know if it has something to do with Windows 7 64-bit OS.

I am not sure if it has something to do with CodeBlocks itself! I have another PC where I use Visual Studio 2010 Professional and it doesn’t have the same problem.

I have manage to isolate the problem around the usage of MinGW compiler. The reason is that the problem occurs only when I am using it with an IDE (tried with Eclipse CDT, Dev CPP, and CodeBlocks). I got a stable release of MinGW downloaded from sourceforge.net which shouldn’t have any major memory management issue with Windows Platform. Actually, the problem arises if I use it at all (doesn’t start immediately, but after I have run my simply program a few times!).

My MinGW compiler is from http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/

I couldn’t find a very straightforward answer to this, so I am assuming that this is an unusual problem? If it is a repeated question by any chance which I have missed, please post a link to the comment and I will accept the answer. Ta

  • 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-14T04:41:06+00:00Added an answer on June 14, 2026 at 4:41 am

    I just found out that even my Windows Update search/install is causing the same problem….and also the problem desciption was raised in OpenCV http://answers.opencv.org/question/3996/cannot-do-anything-with-opencv-anymore-on-windows/

    I am satisfied with the fact that my windows 7 is damaged somehow during SP1 installation and needs restoring/some other job. I have moved this to superuser.com as it may be OT for here.

    UPDATE
    I have now managed to fix it (apparently) by restoring the original image build of my laptop. I wish I didn’t have to do that though! Microsoft’s mess made me go through all these trouble!

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

Sidebar

Related Questions

This OpenCV build was working for me a few nights ago. I am trying
I have opencv installed and working on my iphone (big thanks to this community).
I'm working with a homography calculated by OpenCV. I currently use this homography to
I am working with OpenCV for a project used for recognition and I had
I had OpenCV lib installed on my machine and all was working fine, until
When working with 1-channel (e.g. CV_8UC1 ) Mat objects in OpenCV, this creates a
I am working with OpenCV and C++. I have a matrix X like this
I'm working in OpenCV but I don't think there is a function for this.
I'm working with QT and OpenCV, I have this square that I need to
I am working with OpenCV and I would like to put the entire library

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.