• Advertisement
Sign in to follow this  

Need help with a library

This topic is 1634 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

I'm making my first rogue-like using this http://www.kathekonta.com/rlguide/article1.html tutorial and I am having trouble with compiling it.

 

I'm using Visual studio 2010 and whenever I try to compile the program it comes up with something like "Could not open Console.lib and I'm not sure what I am doing incorrectly. Does the .lib file go into the resources folder in a project? when is says "Static library for the Console interface:" does that mean when I make the project I should make it a static library instead of a win32 console application?

Share this post


Link to post
Share on other sites
Advertisement

to include the library in the project you need to add the folder the lib file is in to Project->Properties->Configuration Properties->VC++ Directories->Library Directories

 

then you need to add the library's file name to Project->Properties->Configuration Properties->Linker->Input->Additional Dependencies

Share this post


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

  • Advertisement