Hi,
I want to use the mysql c api.
Im using VS 2005. Im trying to use some very basic mysql functions.
Ive added "#include <mysql.h>" and Ive tried to set the path to the mysql include and lib directory.
But Im now getting some errors, like "error LNK2019: unresolved external symbol"
In german:
1>user.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_mysql_close@4" in Funktion ""double __cdecl save_old_opponent_to_db(void)" (?save_old_opponent_to_db@@YANXZ)".
.
.
.
.
Any idea how to solve this linker errors??
Edit: Ive solved the problem as described in this thread:
http://forums.mysql.com/read.php?45,68084,68093#msg-68093
It seems I just did forgot to use the "" symbol for my file path in the linker dependecies.
Edited 2 time(s). Last edit at 05/02/2011 01:21PM by Martin Grasser.