root / Community_Core_Vision / readme.win_cb @ 11
View | Annotate | Download (2.4 KB)
| 1 | |
|---|---|
| 2 | |
| 3 | 1) installing Codeblocks: |
| 4 | -------------------------------------------------------------------------------- |
| 5 | |
| 6 | follow the steps here: |
| 7 | http://www.openframeworks.cc/setup/setup/codeblocks |
| 8 | |
| 9 | ** be sure to follow step e ** |
| 10 | |
| 11 | download this zip: |
| 12 | |
| 13 | http://www.openframeworks.cc/content/files/codeblocks_additions.zip |
| 14 | and add the includes / libs to the corresponding includes / libs folder in mingw. |
| 15 | |
| 16 | |
| 17 | 2) workspaces |
| 18 | -------------------------------------------------------------------------------- |
| 19 | |
| 20 | In 0.061 we've moved to a "compiled" openframeworks. This means, you should open up the workspace |
| 21 | that comes with each project: |
| 22 | |
| 23 | imageSaverExample.cbp |
| 24 | imageSaverExample.workspace <---------- load this |
| 25 | |
| 26 | the workspaces load both the imageSaverExample project as well as the openframeworksLib project, and |
| 27 | will recompile the openframeworks library as needed. |
| 28 | |
| 29 | a few points: |
| 30 | |
| 31 | a) it's easy to open up multiple projects into the workspace. remember to close the workspace before working |
| 32 | with a new project. If you accidently open up other projects into the workspace, just don't save it. |
| 33 | |
| 34 | b) within each workspace, it's easy to highlight which project you want to build by clicking it. |
| 35 | choose the "project", ie, imageSaverExample as opposed to the openframeworks lib. |
| 36 | |
| 37 | |
| 38 | |
| 39 | 2) if you want to make a new project: |
| 40 | -------------------------------------------------------------------------------- |
| 41 | |
| 42 | a) copy the folder inside of apps and paste in the same directory |
| 43 | |
| 44 | ie (copy "emptyExample" and paste "copy of emptyExample") |
| 45 | |
| 46 | b) rename the folder, and inside the folder, rename the .cbp and .workspace |
| 47 | |
| 48 | c) open the .cbp file with a text editor. change the occurances of the old name to the new name: |
| 49 | |
| 50 | line 5: <Option title="emptyExample" /> |
| 51 | line 11: <Option output="bin\emptyExample" prefix_auto="1" extension_auto="1" /> |
| 52 | line 18: <Option output="bin\emptyExample_DEBUG" prefix_auto="1" extension_auto="1" /> |
| 53 | |
| 54 | for example, if I copied emptyexample and wanted to call it "coolExample" would look like: |
| 55 | |
| 56 | line 5: <Option title="coolExample" /> |
| 57 | line 11: <Option output="bin\coolExample" prefix_auto="1" extension_auto="1" /> |
| 58 | line 18: <Option output="bin\coolExample_DEBUG" prefix_auto="1" extension_auto="1" /> |
| 59 | |
| 60 | in the solution file, change the name of .cbp file: |
| 61 | |
| 62 | line 4: <Project filename="emptyExample.cbp" active="1" /> |
| 63 | |
| 64 | to whatever you've renamed the cbp to. |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | as always if you have issues, check or post on the forum: openframeworks.cc/forum |
| 70 | |
| 71 | have fun! |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 |
