Jump to content
  • Advertisement
Sign in to follow this  
Spud Gun

Problems compiling...

This topic is 5391 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 there, I'm having a problem trying to compile the projects I've downloaded from GameTutorials. I'm using Visual C++ 2005 Express Edition Beta on a Windows XP machine, and when ever I try to build a projects, it always fails saying
cl : Command line warning D9002 : ignoring unknown option '/YXstdafx.h'
YourName.c(36) : warning C4996: 'scanf' was declared deprecated
        D:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(276) : see declaration of 'scanf'
LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
Any ideas why this is? By the way, Visual C++ 2005 Express Edition Beta asked me to convert the projects first, because it was written in and older version. Could this be the problem? Thanks in advance, Spud Gun

Share this post

Link to post
Share on other sites
Do you have the file "odbc32.lib" in your compilers lib directory?

If not you can get it here.

As for the warnings, I'm not sure about the first one, but you could use the newer cin/cout objects to handle streams instead of scanf to get rid of the other one.

[Edited by - Jesper T on October 12, 2004 12:02:04 PM]

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!