I cant get openframeworks to run. I have downgraded codeblocks to 13.12 to 12.11 with no avail. I can’t seem to find a guide or even a reference to where the hell the files from pic related even go. I try loading an example workspace and the compiler doesn’t even bother because there’s no such thing as “ofMain.h” in my PC. I’m really new to this, I wanna create an audio visualizer, I’m currently learning c++ so I don’t wanna use processing. I’m on win8.1 64bits.
I just want to install OF correctly, with all the wistles and bells, but there’s no guide nor reference anywhere I look. what the heck am I supposed to do?
I did follow the guide, however I cant get it to work still. The example workspace of the tutorial wont load. I’m a complete beginner so I dunno what else I could add that may give you guys a hint. The compiler stops at the very first line cause it wont find the header file. Again I’ve followed the setup guide like 5 times already.
that doesn’t sound right – can you possibly post a screenshot of what your mingw looks like?
the OF folder (The things inside the download) can go anywhere on your hard drive, but you can’t change their position to each other. For example, a project file looks relatively for the libs folder “…/…/…/libs” and if you start moving them around, you can mess up this relationship quickly.
It would be helpful if we can get a better sense of what you did.
you should defintiely not put OF folders in the mingw folder. Something is wrong there. Can you uninstall codeblocks and mingw and start over? Please follow the instructions carefully, which tell you about installing specific includes and libs into mingw. Keep the OF folder separate and put it somewhere, on your desktop for example, but don’t move the contents of it around.
alright @zach I installed everything again. I guess I’m getting closer to getting this thing on its feet since now I tried to build & run the graphics example and it only threw this error:
cool ! now, open up the workspace file instead of the project file (the project file is called .cbp, the workspace looks similar to that). Try opening that instead of the project file. The workspace file builds OF if it’s not already built and also the corresponding project. The project file doesn’t know about if the OF library is built or not.
@bakercp I’ve used 13.12 for oF since i started. I just followed the setup you have on your site for codeblocks. its exactly the same.
(the only thing I did differently from your setup is the part about the “codeblocks_additions” folder, since I didn’t want to contaminate my MinGW folder. Instead I just globally included it in my compiler include settings. But that isn’t required, it works either way)
Yes, like @BananasGoMoo said, I too just followed the steps from the existing setup guide. Everything worked fine, I tried virtually all the examples and they ran without problems. For the record, I’m on Windows 8 (64 bit).