News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

SFML Project Template

Started by Wavesonics, July 04, 2008, 05:19:15 AM

Previous topic - Next topic

Wavesonics

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?

MortenMacFly

Quote from: Wavesonics on July 04, 2008, 05:19:15 AM
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Wavesonics

Ok, i checked out the trunk and am going to give it a shot.

Wavesonics

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?

Wavesonics

#4
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

I also uploaded it as a patch:
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?)

Wavesonics

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.

Jenna

Quote from: Wavesonics on July 06, 2008, 06:23:27 PM
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.

Wavesonics

#7
ok thanks, good to know.

Wavesonics

#8
I updated the patch:
Quote- 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 (Win32 build)

Wavesonics

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 :)