04-09-2015, 06:57 AM
(04-09-2015, 06:21 AM)NiLSPACE Wrote: To reduce compile time, wouldn't it be faster to instead of compiling a cpp file let it read/parse a file with the colors on startup? Or would that then reduce the performance of the program?I don't want to drag yet another library (json) into the program, it's already quite huge. And yes, it would hurt performance a bit, not visibly on a single run, but for jobs that make frequent runs, it'd become somewhat noticable.
I don't care that it compiles long on a RasPi, it's a one-off job anyway.
(04-09-2015, 06:31 AM)monowii Wrote: Nice render. Thank you for this !It compiles for me without the flags both on a RasPi and on a Ubuntu 14.04. Did it not work on your system? I somehow expected the c++11 support to automatically add anything thread-related that it already needed.
(Don't forget to add the pthread flag for GNU compiler (set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")))