I’ve been slowly chipping away at learning some very simple C++ and working with OF. I can write basic programs and get some basic things working and it’s super fun.
So then I try to start learning more by looking at examples, and at that point I can say that without a doubt the most time consuming part is dealing with compile errors, I spend about 90% of my time searching out missing libraries and addons, commenting or uncommenting includes in headers, trying different combinations of everything, wondering if it’s the version of OF I have checked out, basically not knowing what is going wrong and stabbing in the dark for hours on end. It feels like a very unproductive effort. (I know that some of this is just related to a “living” codebase)
It definitely feels like I’m missing some body of knowledge about how the directories should be structured, where they are supposed to be added to a project and in what hierarchy, header search paths, etc. I’ve followed the few snippets of help I can find on the subject for Xcode but I still end up having a lot of problems. I see different structures in different examples, sometimes I see addons/addOnName/src/, sometimes I see addons/addOnName/lib/ as well, sometimes it’s addons/addOnName/src/lib/, sometimes (as in the MSAlibs) There are folders within addons that don’t use the “ofx” prefix and leave me a bit unsure if they are addons or “libraries.” In general, custom-created “libraries” don’t always seem to go in the same place, and are a bit confusing to me as well.
I realize this is something that may just come with experience but I feel like I’m wasting a lot of time. Feels like I need to backup and get some more fundamental understanding. Is there a reference I can brush up on or something that will help me get back on track?