-mwindows-lcomctl32-lwinmm-lws2_32-lodbc32-lmysql-lwinspool
1. Tools-Compile Options-compiler-Add the following command to the connector command line:
-mwindows
2. Error occurred: undefined reference to ' [email protected] '
WORKAROUND: Tools-Compile Options-compiler-Add the following command to the connector command line:-LWINMM
3.undefined reference to ' [email protected] ':
Add Comctl32.lib in Project Setup
Add-lcomctl32 to the link option
-mwindows-lcomctl32-lmysql-lwinmm
4.DEV C + + cannot debug the problem:
compiler, add the following command at compile time
Input:-G
5.undefined reference to ' [email protected] '
-lwinspool
6.
For MinGW, use the WIN32API function to include the corresponding header file, such as gethostname need to #include <winsock.h>
7. Undefined reference to ' [email protected] '
-lws2_32
8. Hint Wm_ctlcolor not defined
Introduced: #include <windowsx.h>
9. Connection to MS SQL Server database error:
OBJECTS/MINGW/MAIN.O:MAIN.C: (. text+0x398e): Undefined reference to ' [email protected] '
OBJECTS/MINGW/MAIN.O:MAIN.C: (. text+0x39b6): Undefined reference to ' [email protected] '
OBJECTS/MINGW/MAIN.O:MAIN.C: (. text+0x39d6): Undefined reference to ' [email protected] '
....
-lodbc32
C + + can only compile unable to run or missing commands