I am using VS2010 and
I have a C++ project that is referencing and using an external C library (dll) by having various entries in the VC++ Directories and Linker sections of the project properties.
Right now my project is building but when it starts, a message box appears :
The program can’t start because ExternalCLibrary.dll is missing from your computer. […]
I would like to know how to do in Visual Studio 2010 the the equivalent of
adding “
-static-libgcc -static-libstdc++” to your compiler flags.
It seems to be the solution according to:
The program can't start because libgcc_s_dw2-1.dll is missing
choose Properties.
left.
menus at the top of the dialog.
dependencies in the Input -> Additional Dependencies field, semicolon delimited.
entries in the General -> Additional Library Directories field, semicolon
delimited.