-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long compilation on raspberry pi #12
Comments
as i also use ofxPDSP on the raspberry, i am aware that the compilation is really long as this is a really big library (more than 13000 lines of code). But anyway it has to compile everything just once, or there is something that retriggers the compilation each time? |
Maybe it is something specific to me, randomly when I make minor changes the whole of ofxpdsp will recompile. This is also true for all the add-ons I use when this happens (not sure what triggers it, the last time I added a single ifdef). I guess in theory it should only compile once but on reality this is not the case. But cool, thanks anyway, you can close this I guess |
i found that compiling some addons on other projects on the rpi retrigger the compilation of all the addons, expecially if you compile ofxOMXPlayer in another project and then ofxPDSP the latter will be forced to recompile, one of the cause could be that ofxPDSP has different compiler flags (it enables the NEON intrinsics for SIMD operations). I usually edit |
i also remove all the
|
if your problem is this, changing the headers inclusion won't improve the situations, as oF compiles all the |
Wow, great, thanks for fast response and tips. It thought it would only compile following a hierarchy of included headers, good to learn more. The OMX player explains some of my finger tapping time. |
i think it's a bit complicated... headers are always compiled everytime (so if you want something to be inlined you write it there), so it's important to streamline the inclusions, |
Could the includes be structured differently to decrease complication time, for example I need to include ofxmidi even when I don't use MIDI, I also see all of the possible modules getting compiled when I know I am only using a single oscillator. I am guessing this is difficult. It is ok on my windows machine, but compiling on raspberry pi takes a really long time for something not so complex. I also feel it slow down code sense (or whatever it is called there) in Xcode.
The text was updated successfully, but these errors were encountered: