openFrameworks | Documentation table of contents
We like Code::Blocks for Windows development since it's light weight, and avoids some of the quirkiness of Windows Visual Studio. Here's a step by step tutorial to get up and running.
Note: Additions are required to run openFrameworks. Please do not skip this step.
Follow the steps here.
- Download the files
- In the zip there are two folders, you need to put the contents of them into the contents of folders in MinGW.
- Add the contents of the folder "add_to_codeblocks_mingw_include" into "C:\Program Files\CodeBlocks\MinGW\include" (or wherever your app\mingw\include is)
- Add the contents of the folder "add_to_codeblocks_mingw_lib" into "C:\Program Files\CodeBlocks\MinGW\lib" (or wherever your app\mingw\lib is)
These are additional libs and header files that need to be added to the MinGW distribution that comes with Code::Blocks.
Here's a quick video which shows what this should look like: copy steps for codeblocks.
You should open up the workspace that comes with each project:
imageSaverExample.cbp
imageSaverExample.workspace
<------ load this
The workspaces load both the imageSaverExample project as well as the openframeworksLib project, and will recompile the openframeworks library as needed.
-
It's easy to open up multiple projects into the workspace. Remember to close the workspace before working with a new project. If you accidently open up other projects into the workspace, just don't save it.
-
Within each workspace, it's easy to highlight which project you want to build by clicking it.
Choose the "project", ie, imageSaverExample as opposed to the openframeworks lib.
To create a new project, you could simply use the projectGenerator. See here how to.
As always have fun!