VS2005 and mysql c

Started by
0 comments, last by jflanglois 18 years ago
Hi, I am about to start writing a game server and have run into one of those annoying errors when setting up an API. I'm using the latest build of the MySQL C API for MySQL 5. When i run any one of the MySQL initializing functions i get many of the following error:
libcmt.lib(fprintf.obj) : error LNK2005: _fprintf_s already defined in MSVCRTD.lib(MSVCR80D.dll)
i have attempted removing either libcmt and/or msvcrt from being default lib, but in doing so many other key functions don't work. Any help guys? Thanks [Edited by - Scribe on March 28, 2006 2:30:03 PM]
Advertisement
Since you haven't gotten any responses yet, I'll take a shot in the dark. I suspect that the library you have is not linked to the same version of the runtime library as your application (id est Multi-threaded DLL, Multi-threaded Debug, and friends). Did you compile the MySQL library yourself or did you get it from somewhere else?


jfl.

This topic is closed to new replies.

Advertisement