Course list http://www.c-jump.com/bcc/

Lab 1 Visual Studio, OpenGL, DLLs, and LIBs


  1. DLLs, C++ headers, and LIB files
  2. Visual Studio Project Configuration
  3. OpenGL Lab Configuration
  4. Things to explore
  5. Optional: create your own project
  6. Optional: Download GLEW
  7. Optional: Download FreeGLUT
  8. How to submit

1. DLLs, C++ headers, and LIB files



2. Visual Studio Project Configuration



3. OpenGL Lab Configuration



4. Things to explore



5. Optional: create your own project


  1. Start Visual Studio.

  2. Create a new project

    
        File -> New -> Project
    
    
  3. Make sure to select C++ language and "Empty Project C++"

  4. Name your project, e.g. MyOpenGLProgram

  5. Specify 'labs' location of your project (or nothing will work!!)

    
        C:\bcc\GL262Labs\labs
    
    
  6. Select "Create new solution"

  7. Check "Place solution and project in the same directory"

  8. Click Create

  9. Select

    
        View -> Solution Explorer
    
    
  10. Right-click "Source Files", then

    
        Add -> New Item...
    
    

    and select CPP file type. Name it main.cpp

  11. Copy and paste the code from c262_lab01.cpp in c262_lab01 lab.

    
        C:\bcc\GL262Labs\labs\c262_lab01
    
    
  12. Right-click the name of your project in the Solution Explorer. Select "Configuration Properties"

  13. Compile and run your program!

     


6. Optional: Download GLEW



7. Optional: Download FreeGLUT



8. How to submit