Why is MinGW very slow?

Are you on an Active Directory domain, but not immediately connected to it? While I don’t have the “answer” as to why MinGW would be slow, it has been my experience that computers which belong to an AD domain, but are unable to reach the AD controller, have a delay in starting executables (such as … Read more

Getting started with OpenCV 2.4 and MinGW on Windows 7

1. Installing OpenCV 2.4.3 First, get OpenCV 2.4.3 from sourceforge.net. Its a self-file-extracting so just double click the file to start installation. Install it in a directory, say C:\. Wait until all files get extracted. It will create a new directory C:\opencv which contains OpenCV header files, libraries, code samples, etc. Now you need to … Read more

C program yielding different results on different machines despite using the same fixed length data types

It seems you might get this problem in case you are using a Windows compiler which uses Microsoft’s non-compliant CRT (non)standard library. That is: Visual Studio or Mingw64/gcc. I can reproduce it on Mingw/gcc. It’s a well-known problem that the Microsoft CRT is broken and for example doesn’t support various format specifiers introduced in C99. … Read more

Eclipse CDT using MinGW does not output in console

This worked for me on 64-bit install of Eclipse on Windows 7 using MinGW: Right-click on your project. Select “Properties”. Select the “Run/Debug Settings” Property on the left of the new window. In the right window, click on your executable to highlight (ie – Test.exe) and click “Edit”. In the Environment tab, hit “New” Name: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)