libstdc++-6.dll not found

If you are using MingW to compile C++ code on Windows, you may like to add the options -static-libgcc and -static-libstdc++ to link the C and C++ standard libraries statically and thus remove the need to carry around any separate copies of those. Version management of libraries is a pain in Windows, so I’ve found … Read more

How to compile makefile using MinGW?

Excerpt from http://www.mingw.org/wiki/FAQ: What’s the difference between make and mingw32-make? The “native” (i.e.: MSVCRT dependent) port of make is lacking in some functionality and has modified functionality due to the lack of POSIX on Win32. There also exists a version of make in the MSYS distribution that is dependent on the MSYS runtime. This port … Read more

MinGW .exe requires a few gcc dll’s regardless of the code?

Your commands are wrong ! Go to the directory where your main.cpp file is, and try the following. g++.exe -Wall -c -g main.cpp -o obj\Debug\main.o g++.exe -static -static-libgcc -static-libstdc++ -o “bin\Debug\Hello World.exe” obj\Debug\main.o then you’ll no longer need to copy the DLLs (for your Hello World program). Other notes: The MinGW installation instructions recommends setting … Read more

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