You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
I am developing a relatively simple C++ project in Ubuntu, basing on the OpenFrameworks toolkit, including the addon ofxUI. I use the CodeBlocks as IDE.
Each time when I build the project, it seems that the CodeBlocks and the gcc recompile all ofxUI files, in spite of the fact that these files have not been changed. In this case, it takes very much time to build the project every time even after a very tiny editing.
I have tried to include ofxUI files to the CodeBlocks, but it does not benefit anyhow. I believe the solution for this problem should be very simple, it seems I do not understand something in the compilation process.
Main part
Thanks to arturo from the openFrameworks forum, he has supposed that the problem is that the whole ofxUI code is in header files, there are no "*.cpp" files. Could you tell, please, maybe, there is some solution to avoid recompiling the whole ofxUI code each time, excepting the solution to reprogram the ofxUI in a way of separating *.h and *.cpp files?
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hi @perov thanks for pointing this out. When I first started developing ofxUI, I just started coding like a crazy person to meet a deadline, hence why there aren't any .cpp files. Since then I have quite a bit about making libraries (esp. with C++).
ofxUI needs to be separated into .h and .cpp files for this issue to be resolved...unfortunately I won't have the time to do this in the next two weeks.
May I suggest you try building the application in xCode on OSX, then taking the finished code and porting it to Ubuntu and CodeBlocks? That way development time would be quicker and you would only need to finish off touches in CodeBlocks.
Hello!
Small pre-history: (I have raised this question here: http://forum.openframeworks.cc/index.php/topic,10257.0.html)
I am developing a relatively simple C++ project in Ubuntu, basing on the OpenFrameworks toolkit, including the addon ofxUI. I use the CodeBlocks as IDE.
Each time when I build the project, it seems that the CodeBlocks and the gcc recompile all ofxUI files, in spite of the fact that these files have not been changed. In this case, it takes very much time to build the project every time even after a very tiny editing.
There is the "build log": http://pastebin.com/AMrRMAAY
I have tried to include ofxUI files to the CodeBlocks, but it does not benefit anyhow. I believe the solution for this problem should be very simple, it seems I do not understand something in the compilation process.
Main part
Thanks to arturo from the openFrameworks forum, he has supposed that the problem is that the whole ofxUI code is in header files, there are no "*.cpp" files. Could you tell, please, maybe, there is some solution to avoid recompiling the whole ofxUI code each time, excepting the solution to reprogram the ofxUI in a way of separating *.h and *.cpp files?
Thank you in advance!
The text was updated successfully, but these errors were encountered: