Using your class repo
Checkout your repo
- Each person gets their own repo. Replace 'USERNAME' with your Rose username in the URL below.
- USERNAME@abacus.csse.rose-hulman.edu:/Users/faculty/taylormt/Public/git/repos/1718a-csse351-USERNAME
- Get your repo however you like
I open a console and issue: git clone taylormt@abacus.csse.rose-hulman.edu:/Users/faculty/taylormt/Public/git/repos/1718a-csse351-taylormt
Compile a small program
- Test your build environment by first generating the build scripts for the
GLVersion
project. - Get the code from here.
- Open a terminal and go to the project directory.
- Have CMake generate the build files by issuing
cmake .
- Mac users can get an XCode project by instead using
cmake . -G Xcode
- Windows users should automatically get a Visual Studio project, but there is a similar
-G
command if needed - Now, build the program.
- If you're using the make file, just to the directory and type
make
. - For Visual Studio, open the VS project and go to Build > Build Solution or press
F7
. - For XCode, go to Product > Build or press
cmd+B
. - Run the program after it is built. It should output your OpenGL version as a decimal number.
- If you're using the make file, just run the resulting binary.
- For Visual Studio, open the VS project and go to Debug > Run Without Debugging or press
ctrl+F5
. - For XCode, switch the build scheme: go to Product > Scheme > ProjectName. Then, go to Project > Run or press
cmd+R
. - For example, my Mac reports version 4.1 and my Rose laptop reports 4.5.
Now, head back to the Welcome page and finish up anything that is left.