I have a problem in C, trying to include the MySQL bookstore gave some strange errors that I did not find anywhere.
I downloaded the bookstore on the official site for Win32-x86 (ZIP) and installed it on MinGW (32-bit , latest version with all components).
I have already done the linker settings for the bookstore and for MinGW, I compiled it with the GNU GCC Compiler. I use CodeBlocks.
Build log:-------------- Build: Debug in MySQL connector (compiler: GNU GCC Compiler)--------------- mingw32-gcc.exe -Wall --- include/libmysql.def Thu Jan 13 07:46:56 2005 -g -c "C:\Users\User\Desktop\C scripts\MySQL connector\main.c" -o obj\Debug\main.o mingw32-gcc.exe: error: include/libmysql.def: No such file or directory mingw32-gcc.exe: error: Thu: No such file or directory mingw32-gcc.exe: error: Jan: No such file or directory mingw32-gcc.exe: error: 13: No such file or directory mingw32-gcc.exe: error: 07:46:56: Invalid argument mingw32-gcc.exe: error: 2005: No such file or directory mingw32-gcc.exe: error: unrecognized command line option '---' Process terminated with status 1 (0 minute(s), 0 second(s)) 7 error(s), 0 warning(s) (0 minute(s), 0 second(s))