Am I doing this right?
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 -
- Free Your Mind -
ddraw.lib to the soruce files folder?!?
aren''t you suppose to put that on the project->settings link tab thing?
aren''t you suppose to put that on the project->settings link tab thing?
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
January 11, 2002 10:10 AM
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.
Either method is correct.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement