[Dev-C++] beginner - problems linking embedded MySQL with a windows based client program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Eesh M. <ees...@te...> - 2005-05-09 05:44:14
|
I am new at programming in general. But i have written a small windows =
program that i have been trying to link with MySQL. I have included the =
mysql.h and mysql_embed.h header files, and have added -lmysqld embedded =
library for linking. I have also added the path to these files. When I =
compile my program, I get error messages for all of the MySQL functions =
in my program.
[Linker error] undefined reference to 'mysql_server_init@12'
[Linker error] undefined reference to 'mysql_init@4'
[Linker error] undefined reference to 'mysql_real_connect@32'
and so on...
What am i doing wrong. If someone could help, I would appreciate it.
Thanks
Eesh
=20
|