C++ Development

MinGW

To compile with MinGW, without having to include the dll when delivering a binary, add the following flags to project properties –> C/C++ Build –> Settings –> Miscellaneous –> Linker flags

-static-libgcc -static-libstdc++

If you do not do this, the windows user will see an error dialog with “The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.”