Schematic file visualiser
#24
(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 !
(Don't forget to add the pthread flag for GNU compiler (set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")))
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.
Reply
Thanks given by:


Messages In This Thread
Schematic file visualiser - by xoft - 04-05-2015, 05:54 AM
RE: Schematic file visualiser - by NiLSPACE - 04-05-2015, 06:09 AM
RE: Schematic file visualiser - by xoft - 04-05-2015, 06:17 AM
RE: Schematic file visualiser - by tigerw - 04-05-2015, 07:05 AM
RE: Schematic file visualiser - by Seadragon91 - 04-05-2015, 03:39 PM
RE: Schematic file visualiser - by xoft - 04-05-2015, 03:58 PM
RE: Schematic file visualiser - by xoft - 04-08-2015, 02:13 AM
RE: Schematic file visualiser - by tigerw - 04-08-2015, 02:28 AM
RE: Schematic file visualiser - by NiLSPACE - 04-08-2015, 03:06 AM
RE: Schematic file visualiser - by xoft - 04-08-2015, 06:08 AM
RE: Schematic file visualiser - by xoft - 04-08-2015, 06:30 AM
RE: Schematic file visualiser - by xoft - 04-08-2015, 07:00 AM
RE: Schematic file visualiser - by xoft - 04-08-2015, 07:31 AM
RE: Schematic file visualiser - by DiamondToaster - 04-08-2015, 09:26 AM
RE: Schematic file visualiser - by monowii - 04-08-2015, 07:30 PM
RE: Schematic file visualiser - by xoft - 04-08-2015, 07:46 PM
RE: Schematic file visualiser - by monowii - 04-09-2015, 12:50 AM
RE: Schematic file visualiser - by xoft - 04-09-2015, 06:09 AM
RE: Schematic file visualiser - by NiLSPACE - 04-09-2015, 06:21 AM
RE: Schematic file visualiser - by monowii - 04-09-2015, 06:31 AM
RE: Schematic file visualiser - by NiLSPACE - 04-09-2015, 06:34 AM
RE: Schematic file visualiser - by xoft - 04-09-2015, 06:52 AM
RE: Schematic file visualiser - by NiLSPACE - 04-09-2015, 06:53 AM
RE: Schematic file visualiser - by xoft - 04-09-2015, 06:57 AM
RE: Schematic file visualiser - by xoft - 04-09-2015, 06:58 AM
RE: Schematic file visualiser - by DiamondToaster - 04-09-2015, 09:04 AM
RE: Schematic file visualiser - by flow969 - 01-18-2016, 07:05 PM
RE: Schematic file visualiser - by NiLSPACE - 01-18-2016, 07:12 PM
RE: Schematic file visualiser - by flow969 - 01-18-2016, 08:15 PM
RE: Schematic file visualiser - by NiLSPACE - 01-18-2016, 08:20 PM
RE: Schematic file visualiser - by Seadragon91 - 01-18-2016, 08:28 PM
RE: Schematic file visualiser - by flow969 - 01-18-2016, 08:38 PM
RE: Schematic file visualiser - by NiLSPACE - 01-18-2016, 08:41 PM
RE: Schematic file visualiser - by Schwertspize - 01-18-2016, 09:09 PM
RE: Schematic file visualiser - by xoft - 01-19-2016, 05:05 AM



Users browsing this thread: 1 Guest(s)