-
Notifications
You must be signed in to change notification settings - Fork 1
5. Compilation on the Pi
Nick Oppen edited this page Dec 1, 2013
·
2 revisions
This is not really my area of expertise here. I use Eclipse with Egit pretty much exclusively even though performance on the pi is not very good. I don't even profess any degree of competency with those two platforms.
I've included the make files generated by Eclipse for both the Debug and Release configurations so while in those directories $make makefile should work.
If you want to create your own makefile either in Eclipse or some other way there are two things you need to do.
- All configs need the miscellaneous C++ switch -std=c++0x in order to use the randomisation functions.
- The Debug configuration compiles in some format debugging writes to stdout to show up format errors in any of the input files. If you want to compile the library with these active include the preprocessor flag -D _DEBUG_