1 2 3 4 5 6 7
Setting up your Compiler Our Generic Windows Skeleton A Simple Cube Matrices Wazoo of Borg FullScreen Ahead Mr. Crusher On screen. Magnify.

 

Tutorial #1: Setting up your Compiler

Erik Yuzwa

I've assembled a list of stuff for the beginner to be aware of when setting up a new project. There are some "gotchas" that can arise during your first project, and it would be nice if we started the meat of the tutorials with the same stepping point.
For now I only use Visual Studio 6.0...if anyone out there has any pointers for using other compilers, do not hesitate to let me know and I'll put them up here..

Note: If you have downloaded the full DirectX8 SDK, the option is available during the installation to add the library and include filepaths automatically to your settings. Therefore, if you perform this step, the following instructions are academic.

Visual Studio 6.0 Checklist

Here are some things to make sure you have done before making any DirectX or OpenGL projects
  1. Download the latest service pack for Visual Studio 6.0. The latest one I know about is sp5
  2. If you're using DirectX, download the lastest headers and library files
  3. If you're using OpenGL, then make sure you have the latest OpenGL drivers for your video card
  4. Setup the Studio to recognize the locations of your header and library files:
    • Navigate to Tools->Options and click on the "Directories" tab
    • In the "Show Directories For:" combobox, select "Include Files"
    • Click on a empty row in the pane below, and browse to the location of your DirectX include files...(ie. d:\msdk\include)
    • Hit Enter
    • Use the Up Arrow icon to make sure the row you just entered appears FIRST in the list
    • In the "Show Directories For:" combobox, select "Library Files"
    • Again, click on an empty row in the pane below, and browse to the location of your DirectX Library files..(ie. d:\msdk\lib)
    • Hit Enter
    • Use the Up Arrow icon to make sure the row you just entered appears FIRST in the list
    • Hit "Ok"
  5. Now for ANY project we wish to create, navigate to File->New and select the "Win32 Application" icon
  6. In the Project Name box, enter a project name
  7. In the Location box, enter where you wish to save to
  8. Hit OK
  9. Now make sure you select the An Empty Project radio button and hit OK again

    Now all of your project workspace stuff is taken care of we can begin to code! YAY!

End of Tutorial #1

[top]

 
 
© 2003, Silver.
Wind, two Tears, and a Funeral...