Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

brewknowc

Am I doing this right?

This topic is 6033 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 all, I am currently reading TWGPG book and up until this point have been using Borland compiler. I just got MSVC++ 6 and read some of the help files and msdn articles to figure out how to compile with added libraries. I tried compiling project 1 in the book (the freakout demo). I compiled and it worked, but I wanted to know if I followed the standard procedure or if I just got lucky by adding lots of things to my project. So this is what I did: I started a blank win32 application project. I added freakout.cpp to the source files folder I added blackbox.cpp to the source files folder I added ddraw.lib to the source files folder I added the include and lib paths to dxsdk folders I moved them up on the list to be searched first - Free Your Mind -

Share this post


Link to post
Share on other sites
Advertisement
ddraw.lib to the soruce files folder?!?
aren''t you suppose to put that on the project->settings link tab thing?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I tend to add my libraries into a libraries folder (source works just as well), rather than in link settings. That was I can easily see what libraries I''m compiling with when moving around between projects.

Either method is correct.

Share this post


Link to post
Share on other sites

  • 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!