Closed moebiussurfing closed 8 years ago
well just off the top of my head, rpi is complaining that the type returned by listItems.size(); isn't an int and finally its complaining that ofxUIGetWidth() isn't used, so the compiler settings are pretty hardcore. You might want to try to easy up the compiler to accept these warnings.
ofxUI was written in 2010 when I knew very little about programming, I'd recommending using something more modern and robust.
Your compiler is probably getting killed because you ran out of memory. If you are using make -j4
be aware each job takes up memory.
thanks for the answers! yes @jvcleave !!, :) .I am getting memory errors. Some of the examples where compiling fine yesterday (like ofxGui's guiExample), now aren't. So how can I limit the memory usage? Must to not use the j4 for multicore use?
yeah - just use -j2 or a cross-compiler
Thanks a lot @jvcleave !! It worked after set -j2 to avoid the memory errors. I only needed to install the font: 'sudo pacman -S ttf-fira-sans'. You rescued me after some hours of losing time. BTW I started to check your ofxImGui. It seems the best way to get faster performance.
i am getting this error in red:
g++: internal compiler error: Killed (program cc1plus)
it continues compiling and finally stoped here: