Visa version
Visa
< föregående
|
nästa >
Jämför
< föregående
|
nästa >
Lab hints and tips
Lab setup
Arguably one of the most difficult aspects of the labs is getting your programming environment up and running with the skeleton code. The following details may therefore be helpful:
Windows and Microsoft Visual Studio
A useful guide can be found here by previous DH2323 student Victor Dahlin on conducting a setup in Microsoft Visual Studio. Note that in order to enable cout output to the console, you may decide to set the project to be a console application in the properties menu.
MacOS (with XCode)
A useful guide by previous DH2323 student Andreas Kramer can be found here.
MacOS (without XCode)
Previous DH2323 student Mikael Hedin recommends the following:
Install fink (http://www.finkproject.org/)
fink install sdl
Include in your Makefile: CXXFLAGS=$(shell sdl-config --libs) $(shell sdl-config --cflags)
make