Jump to content
  • Advertisement
Sign in to follow this  
Scribe

VS2005 and mysql c

This topic is 4618 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!