Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Wavesonics on July 04, 2008, 05:19:15 am
-
Hi all,
been a while since I posted here, and I have posted about this idea before, but it was just before 8.02 was going to release and things were too hectic to fit it in.
But SFML - Simple Fast Media Library ( https://www.sfml-dev.org ) is a simply fantastic library for creating multimedia apps (games, or what ever) and it would be awesome to support them by providing a Project Template in the create project dialog.
What do you guys think?
-
What do you guys think?
I'd say: Start coding! Project wizards are really easy. Take e.g. FLTK (or any other) and "adjust" it to SFML. We are happy to apply a patch into that direction.
-
Ok, i checked out the trunk and am going to give it a shot.
-
Well that was indeed pretty easy :)
I've got it all set to go, but I'm having a strange problem when trying to create the patch:
I just did a normal SVN Checkout to a directory. And now when I try to create a patch from that same directory it tells me that it is not a working copy. Any idea why that could be?
-
Ah, i had just upgraded my Tortis SVN to 1.5 and not restarted yet, so it was unhappy.
Now I went through and created the patch, but I am a bit confused, because in addition to source changes and additions, I had to add 2 images.
How do these get included with the patch?
As for now I have rar-ed up the .patch along with the 2 images and put there on my site: http://www.darkrockstudios.com/files/sfmlWizard.rar (http://www.darkrockstudios.com/files/sfmlWizard.rar)
I also uploaded it as a patch:
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2512&group_id=5358 (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2512&group_id=5358)
Is there a different way I should have done it? (not rar-ing them together?)
-
I'm working on a 2nd version which will add more to the wizard. But I still need to know how to patch with new images.
-
But I still need to know how to patch with new images.
Afaik there is no way do do it directly.
Create a patch of the text-files and copy the binary-files manually.
It's the best way to put them into packed archive. I prefer 7z, because it's freeware and creates very small archives, but any other format should do also.
-
ok thanks, good to know.
-
I updated the patch:
- Removed path dialog, now C::B global variable "sfml" is used for the library path
- Added custom dialog for SFML package selection, enforces package dependencies, and correctly sets linking options
you can try it out here:
http://www.darkrockstudios.com/files/CBdevel.zip (http://www.darkrockstudios.com/files/sfmlWizard.zip) (Win32 build)
-
I haven't heard of any complaints or problems with the last version of the patch so unless anyone brings up something I will consider it done.
Hope the devs find it good to apply for the next nightly :)