Author Topic: SFML Project Template and Wizard  (Read 14774 times)

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
SFML Project Template and Wizard
« on: November 14, 2009, 06:53:31 am »
Since so far multiple people have attempted to get SFML project support into Code::Blocks, here is my humble attempt. It provides both a wizard and a template. To test it, just put it to /usr/share/codeblocks/templatess/. I'd need this tested on Windows and Mac.
Hopefully we can get this merged this time ;)

[attachment deleted by admin]

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #1 on: November 24, 2009, 03:49:55 pm »
Since nobody really seems to care, I also submitted a patch to the bug tracker: http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2851&group_id=5358

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7683
    • My Best Post
Re: SFML Project Template and Wizard
« Reply #2 on: November 24, 2009, 04:16:06 pm »
I suggest you learn how to make an SVN patch if you really care to have this patch added. But, It most likely makes no difference if all the files are new files. I have no idea what SFML is; no idea if the Code::Blocks dev team has a member who does or not.

Tim S.
« Last Edit: November 24, 2009, 04:18:04 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7683
    • My Best Post
Re: SFML Project Template and Wizard
« Reply #3 on: November 24, 2009, 07:12:36 pm »
FYI:

I do suggest attaching the patch file to the patch on Berlios; the attachments to messages on this board are deleted on a regular basis to save space.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #4 on: November 24, 2009, 11:20:35 pm »
Berlios only works with text files, this is a binary blob. I know how to do proper svn patches but this isn't really apropiate when I'm adding new files mostly. SFML is basically a faster, more modern SDL.

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: SFML Project Template and Wizard
« Reply #5 on: November 25, 2009, 02:08:42 am »
Since so far multiple people have attempted to get SFML project support into Code::Blocks, here is my humble attempt. It provides both a wizard and a template. To test it, just put it to /usr/share/codeblocks/templatess/. I'd need this tested on Windows and Mac.
Hopefully we can get this merged this time ;)

thank you! I will try it.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9693
Re: SFML Project Template and Wizard
« Reply #6 on: November 25, 2009, 06:48:19 am »
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2851&group_id=5358
I've taken it (as I had the other, too).

But I have to tell you the same as wavesonics: It can only be applied if it's ready for the automake build system, too. This is missing completely so it needs to be done before committing. I'm very limited in time currently so this may take a while... Alternatively you can provde the required files, too. Just have a look at the other wizards how they are built. It's very easy.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #7 on: November 25, 2009, 02:53:06 pm »
Alright. I think I might have been too naive by doing this against the installed files only. Will provide a new package with auto* stuff a little later on.

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #8 on: November 25, 2009, 08:32:52 pm »
Here you go, it includes patch and integrates wonderfully with trunk.

[attachment deleted by admin]
« Last Edit: November 25, 2009, 08:34:49 pm by Svenstaro »

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #9 on: December 01, 2009, 09:10:26 pm »
So can this last patch I attached in the previous post be merged now or are there still issues? I included the necessary binary files and a patch.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9693
Re: SFML Project Template and Wizard
« Reply #10 on: December 02, 2009, 07:02:52 am »
So can this last patch I attached in the previous post be merged now or are there still issues? I included the necessary binary files and a patch.
I didn't have the time for testing (need to "install" SFML on Windows / Linux before) but it's on my todo list. Please be patient.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #11 on: December 03, 2009, 02:19:05 am »
Very well. Just making sure this actually goes somewhere this time since other people have attempted getting a SFML wizard in before and failed. I'll practice overwhelming patience now.

Offline Svenstaro

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: SFML Project Template and Wizard
« Reply #12 on: February 06, 2010, 04:10:22 pm »
Still more patience? :(

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9693
Re: SFML Project Template and Wizard
« Reply #13 on: February 06, 2010, 08:22:26 pm »
Still more patience? :(
Well, still the build system is missing / invalid for the scripted wizard. So a commit would break compilation of C::B under Linux which is obviously not acceptable. I still need so time to setup the "Makefile.am"'s and test compilation under Linux.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ