For the past month or so I have been trying to get the source code for Eyewriter 2.0 (Github repo here: https://github.com/eyewriter/eyewriter) to work, but I’ve been having lots of (admittedly noobish) compilation issues. My oF / C++ skills are not stellar, so I think the majority of my problems come from not understanding how to set the IDE up properly.
So here’s what I’m working with: Win7 64-bit machine running Codeblocks 10.05 and oF 0061. I’d *really* like to upgrade the source code to work with the newest oF version (0074?), but I’ll settle for just getting it to work at all.
I first cloned the Github repo and copied the main code folder into my oF apps folder, then opened the CBP file using Codeblocks. At first it couldn’t find any of the addons, so I had to manually add every single folder to the Build options > Search directories one at a time (please tell me there is a better way of doing this :|).
Then I was getting issues relating to some strange experimental camera stuff, which Zach advised me to just delete.
Now I’m getting a few errors that seem pretty much identical, that read as following:
src\eyePlotterTestApp\gui\buttonRect.h|14|error: redefinition of 'class buttonRect'| src\utils\buttons\buttonRect.h|14|error: previous definition of 'class buttonRect'|
Weirdly, I can’t find either of these files in the file structure on the left side of the IDE.
When I click these errors I am taken to the files, and I can see that they are just about identical, but clearly are separate files.
What is the remedy for this problem?