Sign in to follow this  
tiresandplanes

Need help with a library

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this