| Author |
Message |
|
|
roxlu
|
Posted: Sun May 17, 2009 11:27 am |
|
|
| Joined: Wed Aug 06, 2008 5:53 pmPosts: 158Location: Amsterdam |
|
|
Top
|
|
|
arturo
|
Posted: Sun May 17, 2009 11:56 am |
|
|
| Site AdminJoined: Wed Apr 11, 2007 1:02 amPosts: 1192Location: barcelona |
oooh man that's so great!! going to try to port it to linux
thanks!
|
|
Top
|
|
|
zach
|
Posted: Sun May 17, 2009 4:32 pm |
|
|
Site AdminJoined: Mon Feb 05, 2007 9:31 pmPosts: 1806Location: brooklyn |
that's get triple smiles: can't wait to check it out....
|
|
Top
|
|
|
kylemcdonald
|
Posted: Mon May 18, 2009 6:16 am |
|
|
| Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn |
This is going to be awesome... but right now it isn't working  When I follow the instructions on the Google code site, when I get to the "creating a new project" step there's a weird issue. For some reason the prompts are using some text from the OGRE wizard, but with the OF logo (see attachment). Also, you write: Quote: Add this line in the RegisterWizards() function (i.e. line 66)
But in my config.script file, line 66 is RegisterWizard(type, folder, title, category) rather than RegisterWizards().
Attachments:

ogre-of.png [ 7.86 KiB | Viewed 6627 times ]
|
|
Top
|
|
|
roxlu
|
Posted: Mon May 18, 2009 7:48 am |
|
|
| Joined: Wed Aug 06, 2008 5:53 pmPosts: 158Location: Amsterdam |
Ah you're right. I'll fix this today. The reason for the screens you see is that CodeBlocks doesn't show that first page to me anymore. -snip- no it's not.. something went wrong when adding the files to te repository. -snip- kylemcdonald wrote: This is going to be awesome... but right now it isn't working  When I follow the instructions on the Google code site, when I get to the "creating a new project" step there's a weird issue. For some reason the prompts are using some text from the OGRE wizard, but with the OF logo (see attachment). Also, you write: Quote: Add this line in the RegisterWizards() function (i.e. line 66)
But in my config.script file, line 66 is RegisterWizard(type, folder, title, category) rather than RegisterWizards().
|
|
Top
|
|
|
roxlu
|
Posted: Mon May 18, 2009 7:21 pm |
|
|
| Joined: Wed Aug 06, 2008 5:53 pmPosts: 158Location: Amsterdam |
Hi kylemcdonald,
I've updated the script. Somehow the wrong script was added to the repository. I've updated the repository with the correct script. Can you test this maybe?
Greetings
|
|
Top
|
|
|
kylemcdonald
|
Posted: Mon May 18, 2009 7:34 pm |
|
|
| Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn |
Sweet, it works now! Some requests: 1 Would it be possible to not copy over the .svn folder into the project? It's kind of confusing, and might cause conflicts for people who manage their projects using svn. 2 All of the files are added under the root directory of the project. One of the things that is most annoying about C::B is creating virtual directories and dragging files around one at a time. Would it be possible to create the virtual directories automatically? In the XML, it looks like this: Code: <Option virtualFolders="addons\;addons\ofxDirList\;addons\ofxVectorMath" />
Just before the <Build>. Then, later in the project, instead of saying: Code: <Unit filename="..\..\..\addons\ofxDirList\src\ofxDirList.cpp"/>
You say: Code: <Unit filename="..\..\..\addons\ofxDirList\src\ofxDirList.cpp"><Option virtualFolder="addons\ofxDirList\" /></Unit>
I don't know how much of this can be automated with the scripting you're doing, but I figured I'd ask
|
|
Top
|
|
|
roxlu
|
Posted: Mon May 18, 2009 8:31 pm |
|
|
| Joined: Wed Aug 06, 2008 5:53 pmPosts: 158Location: Amsterdam |
Hi kylemcdonald,
You should use "svn export" instead of "svn checkout". When using "svn export" you won't have the .svn info.
I've been trying to create virtual folders automatically for a couple of hours but I did find a solution for this. I'm not sure if this is even possible. I need to use the API CodeBlocks provides and I couldnt find a method to add files with a virtual folder. I've posted this question on the CodeBlocks forum.
If someone knows how to do this please reply.
I'm also thinking to create another "plugin" which let you add addons after you've created a project.
Roxlu
|
|
Top
|
|
|
memo
|
Posted: Fri May 29, 2009 12:07 pm |
|
|
Joined: Tue May 27, 2008 10:03 amPosts: 691Location: London, UK |
man this is awesome! just tried it out and works ace. Being a complete noob to codeblocks it made me very happy A question about the addons list, is this hardcoded or is it read from somewhere? I have all of my own addons in a separate folder (/ofw/addons MSA) for SVN reasons (it's a working copy of http://ofxmsaof.googlecode.com/svn/trunk/ - I couldn't figure out a way of keeping all the addons in the same folder and easily committing the whole folder without making a project per addon, which I don't wanna do). So is it possible to configure the template to read the available addons from the addons folder and/or additional folders?
|
|
Top
|
|
|
roxlu
|
Posted: Fri May 29, 2009 12:38 pm |
|
|
| Joined: Wed Aug 06, 2008 5:53 pmPosts: 158Location: Amsterdam |
Hi Memo,
If the path of the addons is at the depth as the other addons it's definitely possible. The wizard in OF uses a scripting language called squirrel, which is new to mee. It looks nice, though the community is very tiny and I haven't found a XML parser to parse the addons XML install files.
Therefore I hardcoded all the include/links/etc.. information into the script. Some of your addons are currently in my working copy as I'm a big fan of them :> Especially ofxSimpleGuiTOO!
I'll check if I can give you access to the repository so you can edit the script.
Roxlu
|
|
Top
|
|
|
kylemcdonald
|
Posted: Fri May 29, 2009 4:44 pm |
|
|
| Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn |
By the way Roxlu, I've stopped using virtual folders recently. So I'm 10x more satisfied with this plugin
|
|
Top
|
|
|
roxlu
|
Posted: Sat May 30, 2009 9:05 am |
|
|
| Joined: Wed Aug 06, 2008 5:53 pmPosts: 158Location: Amsterdam |
kylemcdonald wrote: By the way Roxlu, I've stopped using virtual folders recently. So I'm 10x more satisfied with this plugin  Nice! I'm thinking to create another plugin which let you add OF addons after you've created a project. It would be also great if one could just download plugins/addons and add those to a project.... Roxlu
|
|
Top
|
|
|
Martincg
|
Posted: Wed Jun 03, 2009 7:26 pm |
|
|
| Joined: Tue May 26, 2009 12:30 amPosts: 1 |
|
|
Top
|
|
|
memo
|
Posted: Thu Jun 04, 2009 12:08 pm |
|
|
Joined: Tue May 27, 2008 10:03 amPosts: 691Location: London, UK |
Hey, I just tried a release build and it didn't work  lots of errors: undefined reference to: 'ofAppGlutWindow::ofAppGlutWindow()' undefined reference to: 'ofSetupOpenGL(ofAppBaseWindow*, int, int, int)' undefined reference to: 'ofRunApp(ofBaseApp)' etc. in fact undefined reference to everything!! any ideas what the problem is and how I can fix it? (ideally without starting the project from scratch)
|
|
Top
|
|
|
kylemcdonald
|
Posted: Thu Jun 04, 2009 12:19 pm |
|
|
| Joined: Fri Jun 27, 2008 4:49 amPosts: 453Location: Brooklyn |
Hey Memo, I got this same error. For some reason it isn't importing libs/openframeworks. Go to project->add files recursively and add the folder. It's already in the build path.
|
|
Top
|
|
|
|