Add readme
This commit is contained in:
parent
60bd8bee4e
commit
033d123f01
4
README.md
Normal file
4
README.md
Normal file
@ -0,0 +1,4 @@
|
||||
# DLA Model
|
||||
|
||||
This currently contains The Initially Provided Code for the DLA model which will be used as the source of truth for
|
||||
further alterations once verified.
|
||||
27
readme.txt
27
readme.txt
@ -1,27 +0,0 @@
|
||||
To run the code on a Mac through the command line:
|
||||
|
||||
1. Download Makefile from this section
|
||||
|
||||
2. Put Makefile in same directory as DLASystem.cpp (! Remove the .txt extension if present !)
|
||||
|
||||
3. Relative to MS Visual Studio code, these files include the following changes: DLASystem.h Window.h mainDLA.cpp
|
||||
|
||||
change #include <gl/freeglut.h>
|
||||
|
||||
to #include <GLUT/glut.h>
|
||||
|
||||
4. Open the terminal in the same folder as these files
|
||||
|
||||
5. Type "make" to build project
|
||||
|
||||
6. Run the program by typing "./run"
|
||||
|
||||
7. To edit your files, run gedit, save the code, and recompile with "make -B" before running the program again.
|
||||
|
||||
|
||||
|
||||
Thanks to Eliot Ayache for figuring this out!
|
||||
|
||||
|
||||
|
||||
PS For Coursework 2: In addition, there needs to be a change in Line 72 of MAIN_Source.cpp file from "glutLeaveMainLoop();" to "exit(1);"
|
||||
Loading…
Reference in New Issue
Block a user