SFML community forums

General => General discussions => Topic started by: eXpl0it3r on October 27, 2012, 12:44:33 am

Title: Unofficial Nightly Builds
Post by: eXpl0it3r on October 27, 2012, 12:44:33 am
If you're new to SFML or basically building any library, I strongly advise you to first learn how to use your development environment and how to build libraries on your own, since for a developer it's crucial to know how libraries work and how they get build. For that matter you can read the official tutorial for SFML here (http://www.sfml-dev.org/tutorials/2.1/compile-with-cmake.php).

For the other ones these nightly builds should keep you up-to-date.

The builds are packed with 7zip (http://www.7-zip.org/) and contain all the different possibilities on how to build SFML, Thor and CSFML.
Since the libraries have for mostly all combination a unique name they are all placed directly in the lib directory. The only combination that would overwrite existing libraries, are the ones with the runtime library linked statically, thus they got placed into a separate sub-directory lib/static-std.
The DLLs can be found as usual in the bin directory.
The examples have been linked statically to SFML and statically to the runtime library.
The archives also contain the full and up-to-date documentation.

SFML Dev
Check out the post about our Continuous Integration system (http://en.sfml-dev.org/forums/index.php?topic=19432.0) that constantly provides uptodate builds!

CSFML Dev

Latest [ee9b927dec] (https://github.com/LaurentGomila/CSFML/commit/ee9b927dec962f5f162181c7f20ac8bfa33fe835)
Earlier
Thor Dev

Latest [84f4821e49] (https://github.com/Bromeon/Thor/commit/84f4821e49036dc71421e3f628386d2136d96756)
Earlier
SFGUI Dev

Latest [6f4a009337] (https://github.com/TankOs/SFGUI/commit/6f4a009337f8ded28b7ac4724cddbbf1966013b8)
Earlier
If you got any questions, comments, suggestions, etc. feel free to leave them in this thread or contact me directly via PM/email. :)
Title: Re: Unofficial Nightly Builds
Post by: FRex on October 27, 2012, 01:24:44 am
Not that useful for me, since I'm using 2008 and I'm too lazy/busy to upgrade but nice initiative. :)
Title: Re: Unofficial Nightly Builds
Post by: Laurent on October 27, 2012, 07:57:43 am
How do you build them? Did you setup an automated build?

Quote
For the other ones that get annoyed building SFML over and over again
Once you've configured it with CMake, building it "over and over again" is quite simple and fast in my opinion: "git pull" "make" "make install" (basically). It might even be faster than downloading, extracting and copying precompiled packages.

I'm sure your packages will be downloaded mostly by beginners who don't want to bother with CMake :P
Title: AW: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 27, 2012, 09:41:04 am
How do you build them? Did you setup an automated build?
I've written batch files for each compiler, which first pulls the new changes, then compiles every version and then automatically packs them.
Maybe I'll extend it, so it gets uploaded automatically. :)

Quote
Once you've configured it with CMake, building it "over and over again" is quite simple and fast in my opinion: "git pull" "make" "make install" (basically). It might even be faster than downloading, extracting and copying precompiled packages.
Yes and no, it's quite easy for one version but to build all versions you'll have to change the CMake settings etc.

Quote
I'm sure your packages will be downloaded mostly by beginners who don't want to bother with CMake :P
Probably... ;)

Btw if you want you could make this thread stick to the top... :P
Title: Re: Unofficial Nightly Builds
Post by: Tank on October 27, 2012, 12:13:07 pm
Quote
Yes and no, it's quite easy for one version but to build all versions you'll have to change the CMake settings etc.
Not quite true, you can easily use separate build directories. I'm used to "build_[linking type]_[build_type]" -- e.g. "build_static_debug", "build_shared_release" etc.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 28, 2012, 04:01:21 pm
Added the following builds:

Not quite true, you can easily use separate build directories. I'm used to "build_[linking type]_[build_type]" -- e.g. "build_static_debug", "build_shared_release" etc.
Hmmm true, then again you'll still have to setup it up once and afterwards call it x times for all the different builds... Anyways I already counted a few downloads. :)
Title: Re: Unofficial Nightly Builds
Post by: Laurent on October 28, 2012, 05:57:50 pm
Quote
and afterwards call it x times for all the different builds
You can end up calling a single script that does everything ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 28, 2012, 05:59:41 pm
You can end up calling a single script that does everything ;)
Like I do, but instead of keeping it just to myself I pack, upload and share it. ;)
Title: Re: Unofficial Nightly Builds
Post by: Ceylo on October 29, 2012, 01:39:40 am
What about builds for the other OSs?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 29, 2012, 01:44:44 am
What about builds for the other OSs?
Well I'm mainly on Windows, but I've got also a Debian installed, so I could potentially build SFML also for Linux, the only problem is that one can't always switch the GCC version so easily, thus I'd probably only provide the GCC versions that Debian Squeeze and Sid provide. Would that be useful?
As for Mac OS X, I can't really do anything there, since I don't own a Mac... ;)
Title: Re: Unofficial Nightly Builds
Post by: Ceylo on October 29, 2012, 01:51:25 am
Well I'm mainly on Windows, but I've got also a Debian installed, so I could potentially build SFML also for Linux, the only problem is that one can't always switch the GCC version so easily, thus I'd probably only provide the GCC versions that Debian Squeeze and Sid provide. Would that be useful?
As far as I know, libraries built with a specific version of GCC are compatible with more recent versions of GCC. It's not like with Visual Studio where you have to build the library for each version of the compiler.

As for Mac OS X, I can't really do anything there, since I don't own a Mac... ;)
But if you wish so I could help you. Either by giving you SSH access to a Mac, and you take care of everything, or you give me the build script and I send the resulting binaries to you or to a server.
Title: Re: Unofficial Nightly Builds
Post by: Tank on October 29, 2012, 03:31:39 am
Who needs pre built libraries for Linux? That's often more a pain than helpful due to the depending libraries in different versions.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 29, 2012, 09:47:27 pm
Who needs pre built libraries for Linux? That's often more a pain than helpful due to the depending libraries in different versions.
Yeah, as I said I'm not really sure if this is useful... People using Linux often know or are at least willing to learn how to build/do stuff on their own anyways.

But if you wish so I could help you. Either by giving you SSH access to a Mac, and you take care of everything, or you give me the build script and I send the resulting binaries to you or to a server.
Well I've never developed anything with a Mac so I'm very unsure how things work there. I've a build script now for Windows (.bat) and one for Linux (.sh), but I'm not sure to what extend it would work on a Mac, but it's actually very simple although probably not the most efficient.
It probably would be better if you built them...
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on November 01, 2012, 03:49:00 pm
Updated the following builds:

Thanks to the external library fix (http://en.sfml-dev.org/forums/index.php?topic=9506.msg65262#msg65262) there shouldn't be problems anymore regarding static runtime library linkage with all Visual C++ and the MinGW 32bit builds.
For the MinGW 64bit builds I'll have to investigate a bit more. If you really need MinGW 64bit builds use the previous ones, but be aware that you can run into problems when linking statically...
Title: Re: Unofficial Nightly Builds
Post by: FRex on November 15, 2012, 11:14:26 pm
Would you mind sharing your batch scripts with us exploiter?
Pretty please. ;D
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on November 16, 2012, 12:44:40 am
Would you mind sharing your batch scripts with us exploiter?
Pretty please. ;D
I'm usually all for sharing, but there are multiple reasons I don't want to share the batch scripts directly.
If you know how to handle the command line, you essentially can write a batch script on your own. Since working with the command line is an essential step in effectively working with different applications, one should have to learn it.
Writing a batch script is also to some extend programming and since the main idea behind programming isn't strictly language specific, the process of writing a batch script adds to the overall experience in programming.
And the more rational reason is, that most of the involved code is setup specific. I've setup my applications and directories in a special way, so if I'd just give out the script, you'd still need to adapt some parts.

The batch script essentially setup the compiler environment variable, updates the source directories with git, then invokes CMake, runs the compiler, changes the CMake settings, builds, etc. and at the end everything gets automatically 7zipped.
Title: Re: Unofficial Nightly Builds
Post by: capz on November 16, 2012, 03:18:22 am
But if you wish so I could help you. Either by giving you SSH access to a Mac, and you take care of everything, or you give me the build script and I send the resulting binaries to you or to a server.
Well I've never developed anything with a Mac so I'm very unsure how things work there. I've a build script now for Windows (.bat) and one for Linux (.sh), but I'm not sure to what extend it would work on a Mac, but it's actually very simple although probably not the most efficient.
It probably would be better if you built them...
If Ceylo would install macports then you could just install whatever linux tools you use that way (sudo port install portname)
Mac OS X is a certified UNIX distro, so it's not that different to a linux box once you ssh in.
Title: Re: Unofficial Nightly Builds
Post by: didii on November 16, 2012, 03:59:05 pm
How did you build the static ones for VS2012? I tried multiple times, but it never worked. I used cmake like explained in the tutorial but VS2012 did not wanted to work with those files. According to cmake I could not use BUILD_SHARED_LIBS and SFML_USE_STATIC_STD_LIBS, which seems logical. CMAKE_BUILD_TYPE was Release, but that seems logical too, then build it with VS2012 without any error (Debug and Release), setup VS2012 to work with those files (with SFML_STATIC defined) and nothing but errors.
I could try to build it again and post the errors if you wish to have a closer look.

In any case, thanks for the files :) now I can at least try some VS2012 to compare.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on November 16, 2012, 05:33:46 pm
How did you build the static ones for VS2012? I tried multiple times, but it never worked.
I've had no problems so far. Make sure you're using the latest CMake version (iirc 2.8.10) and then set the flags: BUILD_SHARED_LIBS=FALSE and SFML_USE_STATIC_STD_LIBS=TRUE
Builds just fine here. ;)

I used cmake like explained in the tutorial but VS2012 did not wanted to work with those files. According to cmake I could not use BUILD_SHARED_LIBS and SFML_USE_STATIC_STD_LIBS, which seems logical. CMAKE_BUILD_TYPE was Release, but that seems logical too, then build it with VS2012 without any error (Debug and Release), setup VS2012 to work with those files (with SFML_STATIC defined) and nothing but errors.
I could try to build it again and post the errors if you wish to have a closer look.
I don't have any problems, so if you want to figure out what goes wrong on your end, you should open a new thread, since this wouldn't have anything to do with my Nightly Builds.

In any case, thanks for the files  now I can at least try some VS2012 to compare.
I'm glad, that I could help out. :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on November 21, 2012, 04:29:53 pm
Updated builds to the latest commit. Added the official MinGW32 compiler.

Due to the extlibs problem with GCC 64bit builds, I've removed them for now, until a find a way to make it work. ;)
Title: Re: Unofficial Nightly Builds
Post by: kaB00M on December 02, 2012, 12:59:13 am
Thank you works for vs 2012.  :)

Yet I have a question: only the 32x builds works, while I have a 64x. How come?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on December 02, 2012, 01:30:58 am
Yet I have a question: only the 32x builds works, while I have a 64x. How come?
What should this mean exactly?

If you want to use x64 builds then you need to load the x64 builds. Additionally you have to switch the compiler in Visual Studio. Though as far as I know VS Express doesn't have a x64 compiler, so simply stick with the Win32 one. ;)
Title: Re: Unofficial Nightly Builds
Post by: mateandmetal on December 03, 2012, 06:07:06 am
wich MinGW "distribution" do you recommend?

I´m using the official version from mingw.org
Never used TDM (It doesn´t include MSYS as far as I know)
Never heard of "rubenvb" distro
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on December 03, 2012, 06:05:34 pm
Updated the Nightly Builds to the latest commit [288bc87d3a]
There might have been problems with the past TDM releases, but those should now be fixed. ;)

wich MinGW "distribution" do you recommend?

I´m using the official version from mingw.org
Never used TDM (It doesn´t include MSYS as far as I know)
Never heard of "rubenvb" distro
Well I'd really want to use the MinGW-w64 branch since the development seems to be a bit more active and they try to build a nicer MinGW, but since they are a bit more on the experimental side, it's not as glorious as the official version.
rubenvb is actually just a guy that also makes nightly builds but from the MinGW-w64 branch, so it's more recent that the official MinGW-w64 builds.
The TDM is at the moment now definitely out of the race since the official MinGW package has been updated to GCC 4.7.2, where TDM still uses the GCC 4.7.1-2; additionally it has the bad habit for linking statically on default and causing an error when -static-libstd is defined, which is very silly and needed an adjustment from my side to get SFML even to compile correctly.

Over all now that the official MinGW features GCC 4.7.2, I would recommend that one.
Title: Re: Unofficial Nightly Builds
Post by: FRex on December 18, 2012, 01:05:49 am
The link to latest build commit is
[url=http://"https://github.com/SFML/SFML/commit/288bc87d3a95a1a838372f8e7d94da1a847c1fc3"][tt][288bc87d3a][/tt][/url]
which results in:
[288bc87d3a] (http://"https://github.com/SFML/SFML/commit/288bc87d3a95a1a838372f8e7d94da1a847c1fc3")
while it should be
[url=https://github.com/SFML/SFML/commit/288bc87d3a95a1a838372f8e7d94da1a847c1fc3][tt][288bc87d3a][/tt][/url]
that creates:
[288bc87d3a] (https://github.com/SFML/SFML/commit/288bc87d3a95a1a838372f8e7d94da1a847c1fc3)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on December 18, 2012, 01:42:58 am
Thanks for pointing it out, got already fixed! :)

New builds will get uploaded later today. ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on December 18, 2012, 01:52:20 pm
Updated the Nightly Builds to the latest commit. (Go to the first page.) (http://en.sfml-dev.org/forums/index.php?topic=9513.0)

If you have any problems regarding the builds or suggests, let me know! :)
Title: Re: Unofficial Nightly Builds
Post by: MorleyDev on December 18, 2012, 07:11:23 pm
Cool, useful for those who are scared of building from the source (which is pretty intimidating).

I currently have a Jenkins server I fire up whenever coding that polls a bunch of git repositories (like sfml) and builds and deploys  them automatically whenever it detects changes. Let's me keep third party libraries all up to date and it's not too tricky to set up.

Do you do something similar for these? If not you could probably save yourself a lot of time :-D Could even set it up to automatically ftp the binaries onto a website so the whole process is automated...
Title: Re: Unofficial Nightly Builds
Post by: AlexxanderX on December 18, 2012, 09:09:51 pm
So here is the latest version of SFML 2 beta but innoficially? And its an .exe or an already maked librarie( without using CMAKE)?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on December 18, 2012, 11:15:34 pm
Do you do something similar for these? If not you could probably save yourself a lot of time :-D Could even set it up to automatically ftp the binaries onto a website so the whole process is automated...
Yeah I'm aware of Jenkins (I'm using it to build the nightly builds for SFGUI), but I didn't set it up for SFML and simple wrote a few batch files for each compiler, which pull the source from git, build every version copy stuff around like I want/need to and then automatically packs it with 7zip. If I wanted to I could also upload it to the server and make changes to the website, but since I can't always be certain if the connection is stable, I don't want to directly do that.

The advantage of using my own batch files is that I can fine tune it for every compiler and don't need some partly bloated software to do the same thing. The downside is that it needs a bit more work, but I'm fine with that. ;)

So here is the latest version of SFML 2 beta but innoficially? And its an .exe or an already maked librarie( without using CMAKE)?
I just compile the source from GitHub (https://github.com/SFML/SFML), pack it with 7zip (http://www.7-zip.org/), upload the archives and release them here. It's unofficial because I'm not the developer of SFML. The archives contain all the possible builds of the library (debug/release static/dynamic lib/dll etc.) with the header files, as well as all the examples (.exe) build in release and statically and the automatically generated Doxygen (http://www.stack.nl/~dimitri/doxygen/) documentation (http://www.sfml-dev.org/documentation/2.0/).
So you won't have to use CMake, since you'd only need CMake if you'd compile SFML on your own.
Title: Re: Unofficial Nightly Builds
Post by: pwnstar23 on December 22, 2012, 05:34:29 am
To be honest I'm not sure how useful this is, but lets see what the download statistic will say... ;)

Thank you for these nightlies, very useful to me and my buddy, we are using VS2012 and your nightly is the only one I could find for that compiler, and we were having issues with the other ones.  Thank you.
Title: AW: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on December 22, 2012, 09:23:18 am
Thank you for these nightlies, very useful to me and my buddy, we are using VS2012 and your nightly is the only one I could find for that compiler, and we were having issues with the other ones.
I'm glad you like them and that you could use it for your prototpye. :)

FYI: The statistics says that people are using them actively. :D
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 03, 2013, 11:05:52 pm
Updated the Nightly Builds to the latest commit: [38da3f4338] (http://en.sfml-dev.org/forums/index.php?topic=9513.0)

Any requests, comments, etc.? :)
Title: Re: Unofficial Nightly Builds
Post by: RedTheGreen on January 10, 2013, 06:22:05 am
When will the maintenance end?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 10, 2013, 06:28:30 am
When will the maintenance end?
Sorry about the delay, but I'm still at rewriting the whole website, from front to back-end. As we speak I'm implementing the new way to handle downloads. It should be up shortly. ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 10, 2013, 08:13:49 am
The Nightly Builds are available again!

I've update the whole website (http://sfml.my-gate.net/) internally as well as the front-end and of course the builds have been updated to the latest commit.

Feel free to give some feedback on Nightly Builds as well as the new website, keep in mind though, that the website is still a bit under construction. ;)
Title: Re: Unofficial Nightly Builds
Post by: Goras on January 18, 2013, 10:18:27 am
Hi !
I want to thank you a lot for these build updates. We are programmers in a video game school and we love to work on the last version of SFML.
I will share your post in the school forum because some of us are using VS 2012 and SFML 2.0.

Thanks for the packages and a big thanks to Laurent for SFML !

Good luck for the 2.0 final version.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 18, 2013, 11:09:04 am
I want to thank you a lot for these build updates. We are programmers in a video game school and we love to work on the last version of SFML.
I will share your post in the school forum because some of us are using VS 2012 and SFML 2.0.
I'm glad, my Nightly Builds are of use for you guys.
Good luck with your projects! :)
Title: Re: Unofficial Nightly Builds
Post by: Blublop on January 21, 2013, 08:33:27 am
I'm glad, my Nightly Builds are of use for you guys.
Good luck with your projects! :)

You don't want to live through this.
I followed the tutorial and compiled SFML 2.0 myself for MinGW GCC 4.7.
Everything went fine until I tested the exe.
Program crashed at random points. Rebuilds without any code/settings change removed some crashes.
In the end I noticed that there were some .o files compiled by gcc 4.4.
Dumped it, compiled the whole project and still got a crash.
When I loaded a picture the program printed all kinds of japanese characters on the console.
Figured out, I somehow didn't build SFML 2.0 right ... found this thread and was saved by a hero !

Your builds are god !
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 21, 2013, 11:17:58 am
Your builds are god !
Wait, when they are god and I'm the creator of them, am I then an ubergod? ;D

I'm not sure what you did wrong, but building SFML isn't really magic and certainly nothing god-like, but I'm glad my builds have helped yet another person. :)
Title: Re: Unofficial Nightly Builds
Post by: Roose Bolton of the Dreadfort on January 21, 2013, 05:03:21 pm
I love you!

Fuck CMAKE.

All-together now!

..


.. no one?
Title: Re: Unofficial Nightly Builds
Post by: Romirresz on January 25, 2013, 09:18:36 pm
Many many Thanks for your excellent work.
I am lecturer at University and I tried to find a simple Object-oriented graphical library for some projects of my students. Last year they used MFC and it was terrible. It is very massive monster and  students hated it.
Now all became more simpler. Many thanks again.

And I has only one question: when I use you builds in Codeblocks  12.11 then I have about 10-15 seconds from moment of running of a binary exe-file and appearance of the graphical window (console window of the project appears immediately). Is it problem of my computer or it is not problem at all (may be it's ussual). But at VS2010 with official build of the lib, graphical window appears in 1-2 second.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 25, 2013, 10:22:42 pm
I love you!
You're welcome. ;D

Fuck CMAKE.
All-together now!
.... no one?
Nope, without it building SFML for all the different compilers would be even messier and harder. At the moment CMake is probably the best solution for platform independent compilation.

Many many Thanks for your excellent work.
I guess this is directed at Laurent, I'm only building the library for various compilers. :)

And I has only one question: when I use you builds in Codeblocks  12.11 then I have about 10-15 seconds from moment of running of a binary exe-file and appearance of the graphical window (console window of the project appears immediately). Is it problem of my computer or it is not problem at all (may be it's ussual).
Well it kind of depends how you're actually linking things. If you compare a debug and a release build, then a debug build will often be slower. There might even be a difference between static and dynamic builds.
Overall 10-15s seems to me way too long, if you're only creating a window and not doing other operations before the window's creation.

On my system with C::B 12.11 and the official MinGW32 compiler, a window appears within one second.

Do you have some software running that would hook themselves into applications (e.g. Fraps or alike)? Are you using a bad anti-virus software like Norton, which slows down the application? Or are you doing time intensive stuff, before the window creation?

In any case it shouldn't be SFML fault.
Title: Re: Unofficial Nightly Builds
Post by: Romirresz on January 25, 2013, 10:45:24 pm
I guess this is directed at Laurent, I'm only building the library for various compilers. :)

I understand that you only built the library, but it is not trivial task too and in all cases time-consumer.

I had about 20 tabs in Chrome and some of them with flash-video of flash-game. May be it was main reason of slow down.  Till this time I finished work for today and closed all tabs, then have run only exe-file from file browser and it started in one second. Big delay was when I tried to run file from Codeblocks (by pressing Run button).
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 25, 2013, 11:08:30 pm
I understand that you only built the library, but it is not trivial task too and in all cases time-consumer.
With a bit experience building SFML is a fairly simple task. I've build more complex things with around 10 dependencies, which also needed to built etc. ;D
But I agree it's a time saver, specially when you want to work in a group with the current release, such builds can help a lot.

Big delay was when I tried to run file from Codeblocks (by pressing Run button).
Which run button? ;)
If you start the application with the debugger, then it can take a bit longer, since the debugger first has to start and then load the application.
What CPU are you using?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 02, 2013, 01:44:41 pm
The SFML Nightly Builds have been updated to the latest commit: [fa69228716] (http://en.sfml-dev.org/forums/index.php?topic=9513.0)

Unfortunately there seems to be a problem with the automatically generated HTML documentation. I hope to find its source and fix it for the next builds.
Title: Re: Unofficial Nightly Builds
Post by: Laurent on February 02, 2013, 01:58:11 pm
Quote
Unfortunately there seems to be a problem with the automatically generated HTML documentation. I hope to find its source and fix it for the next builds.
What happens? Is it something I should investigate, or is it a problem in your environment?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 02, 2013, 04:34:43 pm
Well I'm not exactly sure where the problem originates from. I only set the option to also build the documentation, but for some reason the parsing gets screwed up. All the return types are replaced by some comments and comments are sometimes interpreted as functions. You can take a look at the output here (http://my-gate.net/pub/doc/classsf_1_1SoundBuffer.htm).
I'm using CMake 2.8.10.2 and Doxygen 1.8.3, but I've yet to test, how it looks like, when I build the docs manually with Doxygen to see whether it's a problem with Doxygen or with the build chain (compiler -> CMake -> Doxygen).

Any thoughts/ideas?
Title: Re: Unofficial Nightly Builds
Post by: Laurent on February 02, 2013, 04:58:35 pm
You should try doxygen 1.8.3.1, this fixed issue seems to be your problem:

Quote
id 691798: regression: C++ style comments that started with a line of slashes did not get processed correctly anymore.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 02, 2013, 05:12:20 pm
You should try doxygen 1.8.3.1
Yeah that fixed it, although I could've sworn, that I've updated Doxygen just recently. Hrm maybe I just downloaded it without installing it. ;D
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on February 07, 2013, 07:48:12 am
Hi! I'm wondering if there's any demand for OS X nightlies. I put together a little "Building SFML 2 with C++11 on OS X (http://www.mjbshaw.com/2013/02/building-sfml-2-with-c11-on-os-x.html)" guide, and after doing so I realized it's really quite dead simple to build SFML 2 from source on OS X (for C++03 or C++11). Because it's so simple, I'm wondering if there's even any demand for OS X nightlies at all (plus the automatic install scripts are easier than manually copy 'n' pasting, in my opinion).

If there is demand, I wouldn't mind providing g++4.2/clang++ (C++03 and C++11) OS X nightly builds (frameworks and dylibs). Your opinion/thoughts?
Title: Re: Unofficial Nightly Builds
Post by: Laurent on February 07, 2013, 08:06:46 am
I don't think it's more complicated to build SFML on other OSes, and yet people need prebuilt packages. So yes, it may be worth it ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 07, 2013, 12:08:16 pm
I'd gladly embed your builds into the post. At the moment I'm still missing a nice admin interface for my website, so I unfortunately can't give you a way to change things directly, but you can just send me a link to the download and I'll do the rest.
I've no idea how the directory structure looks like with the Mac OS X builds, but if it's anything similar to others structures, it might be nice if you could take a look at the one I use atm for the Windows builds. I'm also building every possible configuration but I don't know if that's needed for Mac builds.
Title: Re: Unofficial Nightly Builds
Post by: Hiura on February 07, 2013, 12:29:15 pm
If you can provide OS X build, that's great. But don't forget to write down for which OS X version you're building them (10.5 would be great for C++98/03 for example).  ;)
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on February 07, 2013, 08:09:00 pm
Ok, cool, I'll work on some build scripts then.

If you can provide OS X build, that's great. But don't forget to write down for which OS X version you're building them (10.5 would be great for C++98/03 for example).  ;)
I can build using the 10.7 and 10.8 base SDKs (so devs must have the 10.7 or 10.8 base SDKs), and I can set the deployment target to 10.5 (so end users need to have at least 10.5) (or later, but I'll probably just set it to 10.5 instead of every permutation). I only have an OS X 10.8 machine with Xcode 4.6, so I can't target base SDKs 10.5 or 10.6 (for developers with 10.5/6), unfortunately.
Title: Re: Unofficial Nightly Builds
Post by: Ceylo on February 07, 2013, 09:32:33 pm
I only have an OS X 10.8 machine with Xcode 4.6, so I can't target base SDKs 10.5 or 10.6 (for developers with 10.5/6), unfortunately.
Actually you can, but you would need to get the previous SDKs from older Xcode releases, then copy these SDKs next to the other ones (those from your latest Xcode installation).
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on February 10, 2013, 11:25:08 pm
I only have an OS X 10.8 machine with Xcode 4.6, so I can't target base SDKs 10.5 or 10.6 (for developers with 10.5/6), unfortunately.
Actually you can, but you would need to get the previous SDKs from older Xcode releases, then copy these SDKs next to the other ones (those from your latest Xcode installation).
Either it's a bit more complicated than that, or I'm doing it wrong :) I downloaded Xcode 3.2.6, installed the 10.5 and 10.6 SDKs, copied them next to my 10.7 and 10.8 SDKs, and tried to build (using the command line utils provided by Xcode 4.6), and I got a ton of errors about standard headers. I'm guessing I have to build with the command line tools from 3.2.6, but I don't have a whole lot of time to mess around with that. If you've got tips, I'd appreciate them. Otherwise, I may not be able to build with the 10.5 or 10.6 SDKs (or if I do, it might take me forever to get to it).

I've published my build scripts on github here: https://github.com/mjbshaw/SFML-OS-X-Nightlies (https://github.com/mjbshaw/SFML-OS-X-Nightlies)
My first builds can be found under the bin folder. I've tried to make the folders structured just like the official downloads.

If someone could please just take a peak at them and give me any kind of feedback, that would be great! If someone has questions (like exactly what the build settings are), feel free to ask. I will try to work on these a little bit more over the next couple of days whenever I get a free moment to get a better workflow and put a link on my blog.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 13, 2013, 08:29:39 pm
The SFML Nightly Builds have been update to the latest commit.
The OS X Nightly Builds by Cornstalks have been linked on the front page.
The library Thor, created by Nexus, has been added to the list of Nightly Builds


With the Thor Nightly Builds I want to give a faster access to the Nexus's genius library and hope that more people will try it out and start developing with it.

I hope you all like it and as always feel free to make suggestions, ask questions, give feedback, etc. :)
Title: Re: Unofficial Nightly Builds
Post by: SuperV1234 on February 13, 2013, 08:57:30 pm
The SFML Nightly Builds have been update to the latest commit.
The OS X Nightly Builds by Cornstalks have been linked on the front page.
The library Thor, created by Nexus, has been added to the list of Nightly Builds


With the Thor Nightly Builds I want to give a faster access to the Nexus's genius library and hope that more people will try it out and start developing with it.

I hope you all like it and as always feel free to make suggestions, ask questions, give feedback, etc. :)

Just wanted to say thanks for the hard work, keep it up! :)
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on February 13, 2013, 11:00:37 pm
The SFML Nightly Builds have been update to the latest commit.
The OS X Nightly Builds by Cornstalks have been linked on the front page.
The library Thor, created by Nexus, has been added to the list of Nightly Builds


With the Thor Nightly Builds I want to give a faster access to the Nexus's genius library and hope that more people will try it out and start developing with it.

I hope you all like it and as always feel free to make suggestions, ask questions, give feedback, etc. :)
Thanks for the link! I've updated my build scripts a bit (they still need more work and my current solution is kind hackish). I added a bin branch that has builds for the time being (so the link on your website is now broken) until I get a better system sorted out.

I added a page on my blog: http://www.mjbshaw.com/p/sfml-nightly-builds.html (http://www.mjbshaw.com/p/sfml-nightly-builds.html)
If I ever change the download URLs for the binaries, my blog will be immediately updated. It's probably the safest thing to link to (or the Github project's main page).

I also updated my builds to SFML a97577c

If anyone finds any issues with my builds, please open a ticket on my project's Github page (or post in this thread)!
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 14, 2013, 01:53:19 pm
Just wanted to say thanks for the hard work, keep it up! :)
Thank you as well, glad you appreciate my work. Nice video tutorial btw. ;)

I added a page on my blog: http://www.mjbshaw.com/p/sfml-nightly-builds.html (http://www.mjbshaw.com/p/sfml-nightly-builds.html)
If I ever change the download URLs for the binaries, my blog will be immediately updated. It's probably the safest thing to link to (or the Github project's main page).
I've updated the links. :)
Title: Re: Unofficial Nightly Builds
Post by: Nexus on February 14, 2013, 04:28:33 pm
Great, thanks a lot for supporting Thor! :)

I have added a link to your builds on my download page (http://www.bromeon.ch/libraries/thor/download.html).
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 14, 2013, 06:48:47 pm
I have added a link to your builds on my download page (http://www.bromeon.ch/libraries/thor/download.html).
Nice! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 19, 2013, 10:48:13 pm
Updated the SFML builds to the latest commit and added support for MinGW TDM GCC 4.7.1 64bit and MinGW-w64 rubenvb GCC 4.7.2 - 64bit
Title: Re: Unofficial Nightly Builds
Post by: Laurent on February 19, 2013, 10:57:26 pm
Are all these MinGW versions really incompatible? It starts to make a really big set of downloads just for one compiler on one OS... I don't know what to do for SFML 2.0.
Title: Re: Unofficial Nightly Builds
Post by: MorleyDev on February 20, 2013, 12:53:34 am
To be honest, the only thing you can be realistically expected to do is probably support the version included with Code::Blocks, and expect anybody using any other release of Mingw to understand how to build from source...
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on February 20, 2013, 01:11:43 am
To be honest, the only thing you can be realistically expected to do is probably support the version included with Code::Blocks, and expect anybody using any other release of Mingw to understand how to build from source...
Well it's a shame, that Code::Blocks uses the TDM build and not the official one (okay granted the official one only recentely updated to GCC 4.72), because TDM's default linking behavior for the runtime is static and if you want shared linking, you'll have to use -shared-libgcc -shared-libstdc++ and the compiler might error out when you use -static-libgcc -static-libstdc++, which is basically against all the other GCC based compilers. And not even SFML's build script supports this (I'm using a work around for my builds).

I'd at least support the official MinGW branch and since most of the people are too lazy MinGW TDM.
For the x64 based MinGW compilers, although there's an official source release, there isn't an official binary release, so you'd have to support an automatic build or rubenvb's build, if you'd want to produce a x64 builds.

Are all these MinGW versions really incompatible? It starts to make a really big set of downloads just for one compiler on one OS...
I haven't really tested them, but given that each of them are built completely different, I wouldn't suspect one to work with the other. I've tested MinGW 4.7.2 + MinGW TDM 4.7.1 which don't play nice due to sjlj.

I don't know what to do for SFML 2.0.
Support which every you feel is important enough. Personally I wouldn't mind building SFML for every single compiler, since it's really quite easy to do. Download compiler, unpack, start cmd, add compiler path to PATH with the provided bat file, build SFML (of course this step gets even easier with my scripts ;) ).
Title: Re: Unofficial Nightly Builds
Post by: MorleyDev on February 20, 2013, 01:34:09 am
Well it's a shame, that Code::Blocks uses the TDM build and not the official one (okay granted the official one only recentely updated to GCC 4.72), because TDM's default linking behavior for the runtime is static and if you want shared linking, you'll have to use -shared-libgcc -shared-libstdc++ and the compiler might error out when you use -static-libgcc -static-libstdc++, which is basically against all the other GCC based compilers.

Huh, well learn something new every day. Did not know that :)

Maybe support just official? Personally I've been using nuwen lately, and (once cmake stopped being annoying) building SFML for it is pretty easy once I got cmake to shut up, sit down and do what I told it. But to be simple and to have to build yourself are arguably not compatible...

Damnit Code::Blocks... -_-
Title: Re: Unofficial Nightly Builds
Post by: Laurent on February 20, 2013, 07:46:50 am
The most realistic solution is probably to start with a minimal set of packages for the initial release, and make it grow later with the most requested versions of the compiler.
Title: Re: Unofficial Nightly Builds
Post by: bomblol on March 04, 2013, 09:03:10 am
Thanks so much for these. I've spent the last several hours of my night trying to choose a library for a game I want to build, and after giving up on getting Allegro working and nearly giving up on this (I've never used a non standard library before...) I finally figured out a configuration of your build, codeblocks, and mingw that will work.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on March 07, 2013, 12:54:40 am
Updated the SFML builds to the latest commit (http://en.sfml-dev.org/forums/index.php?topic=9513.0).
Thor builds are coming soon!


With the loss of my notebook, I also lost the build scripts (but no other important data), so I had to recreate them. The system is now a bit nicer to handle. Then again those are still batch files, which are never really nice - I should really start looking into Python... ;D

Thanks so much for these. [...] I finally figured out a configuration of your build, codeblocks, and mingw that will work.
I'm glad my builds were of use to you! :)
Title: Re: Unofficial Nightly Builds
Post by: FRex on March 16, 2013, 03:13:21 am
Thor links are 404.  :(
It's because you are linking to latest.7z instead of previous.7z
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on March 16, 2013, 09:11:25 pm
Thor links are 404.  :(
It's because you are linking to latest.7z instead of previous.7z
Thanks for reporting it. Yeah I did a simple c&p for the forum view (http://sfml.my-gate.net/nightly/forum/) and forgot to change latest to previous. At least my website had the correct links.

I really hope I'll get around writing the Thor build scripts, so I could finally upload the new builds. Sorry for the delay btw. got just so much to do with university.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on March 18, 2013, 11:18:46 am
Updated the SFML builds to the latest commit (http://en.sfml-dev.org/forums/index.php?topic=9513.0).
Thor builds are still WIP, sorry!


So writing the Thor build scripts with the new system, seems to be a bit more complicated than I thought, but I didn't want to let people wait any longer for the newest SFML version, so I've now update the latest SFML version, but left the previous one untouched, so the Thor and SFML version match each other.
I hope to get things running soon!
Title: Re: Unofficial Nightly Builds
Post by: vanpet on April 02, 2013, 09:11:39 pm
I followed the tutorial here http://www.mjbshaw.com/2013/02/building-sfml-2-with-c11-on-os-x.html and it almost worked, except when I launch the Xcode Template "SFML App" I have a build error saying:

ditto: can't get real path for source
couldn't copy /Library/Frameworks/freetype.framework to /Users/vanpet/Library/Developer/Xcode/DerivedData/engine-aflrprlylygpwtcgjaleylrwvizo/Build/Products/Debug/engine.app/Contents/Frameworks/freetype.framework
Command /bin/sh failed with exit code 2

Any idea what is happening?
Title: AW: Unofficial Nightly Builds
Post by: eXpl0it3r on April 02, 2013, 09:51:04 pm
I'm sorry, I've no idea on Mac development, but you might want to create a topic of your own, write a comment on the blog post or ask the creator of the OS X builds directly, his name is Cornstalks. :)
With a topic of your own, the OS X dev of SFML might answer as well. Also make sure to search the forum first. ;)
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on April 03, 2013, 10:01:24 pm
I followed the tutorial here http://www.mjbshaw.com/2013/02/building-sfml-2-with-c11-on-os-x.html and it almost worked, except when I launch the Xcode Template "SFML App" I have a build error saying:

ditto: can't get real path for source
couldn't copy /Library/Frameworks/freetype.framework to /Users/vanpet/Library/Developer/Xcode/DerivedData/engine-aflrprlylygpwtcgjaleylrwvizo/Build/Products/Debug/engine.app/Contents/Frameworks/freetype.framework
Command /bin/sh failed with exit code 2

Any idea what is happening?
Heh, I just saw your comment (http://www.mjbshaw.com/2013/02/building-sfml-2-with-c11-on-os-x.html?showComment=1364932401847#c5071475879173636176) on my blog and just responded to it this morning (http://www.mjbshaw.com/2013/02/building-sfml-2-with-c11-on-os-x.html?showComment=1365004558824#c5379921968471882191). Good news is, I just got my computer back today so I can work on this.

I'd recommend possibly starting a new thread, as this is more about building SFML than using some pre-built binaires. Or you can respond on my blog. Either way, I'll see what you write and respond :)
Title: Re: Unofficial Nightly Builds
Post by: santiaboy on April 06, 2013, 07:00:59 pm
Hey, I downloaded the last nightly build (Latest (2013-03-15) [5c46daacd4]) and I have a question.

Has font::getDefaultFont() been erased? I can't seem to be able to use it, and so if I don't have a font of my own every text is 0 width, 0 height and doesn't display for some reason
Title: Re: Unofficial Nightly Builds
Post by: FRex on April 06, 2013, 07:05:29 pm
Quote
Has font::getDefaultFont() been erased?
YES, ages ago.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 06, 2013, 07:32:53 pm
Has font::getDefaultFont() been erased?
Yes as stated by FRex it was removed (http://en.sfml-dev.org/forums/index.php?topic=8752.0), due to various problems. You'll now always have to provide a font, otherwise nothing will be shown. ;)
Title: Re: Unofficial Nightly Builds
Post by: santiaboy on April 06, 2013, 08:58:02 pm
Thanks, I was becoming crazy due to nothing appearing on screen. Also, I used to call setFont AFTER setPosition, which made everything be more to the right than it should be.

Do you know if when SFML 2 finally releases (the 2.0 not the RC) do I have to compile it again or it would be like this nightly builds or will I have to use CMake?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 06, 2013, 10:53:07 pm
Do you know if when SFML 2 finally releases (the 2.0 not the RC) do I have to compile it again or it would be like this nightly builds or will I have to use CMake?
When SFML 2.0 gets completetly (http://en.sfml-dev.org/forums/index.php?topic=11126.0) released, it will get compiled for all the major compilers, similar to my nightly builds, so you can download it once and keep working with a stable build, until a new version gets released.

But since SFML's development, won't be shutting down and will constantly get a bit more advanced than the stable build, I'll be still maintaining these nightly builds. ;)
Title: Re: Unofficial Nightly Builds
Post by: santiaboy on April 07, 2013, 01:42:06 am
Sweet. Thanks for making this job of uploading the nightly builds! ;D
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 07, 2013, 02:12:30 am
Sweet. Thanks for making this job of uploading the nightly builds! ;D
You're welcome! :)
Title: Re: Unofficial Nightly Builds
Post by: santiaboy on April 08, 2013, 01:53:38 am
Sorry to bother you again, but this is the first time I updated SFML since I downloaded RC :P

I downloaded [5c46daacd4] MinGW TDM GCC 4.7.1 32bit version, and everything went OK. However, when I try to run the .exe outside code::blocks, there's an error requesting "libgcc_s_sjlj-1.dll", "libstdc++-6.dll", which I never needed before. I have them on my code::blocks folder. I know that I have to copy them to the folder or link them statically, so the question is this: Why do I need to do this now when I never needed before? Does it means I made some kind of error while trying to update?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 08, 2013, 02:12:31 am
Sorry to bother you again
No problem! :)

So you're using Code::Blocks 12.11 with the compiler MinGW TDM, right?
What have you been using before?

Does it means I made some kind of error while trying to update?
No everything is fine, in theory it's a bad SFML RC build, since it apparently links the runtime library statically for the dynamic builds... ;)

Why do I need to do this now when I never needed before?
The problem is, that the MinGW TDM builds link the runtime library statically by default and only when asked shared, thus the build CMake build script (and many other build scripts) "break" with the MinGW TDM compiler. For my nightly builds I use a work around to build them properly, thus all the SFML libraries located in directly in the lib/ folder link dynamically against the runtime library and only the static libraries within the lib/static-std/ folder link statically against the runtime library.
So you now either have to decide between:
For the first one you just link against the lib/sfml-XYZ(-d).a files and add -shared-libstdc++ and -shared-libgcc to the "Other linker options" in the project settings.
For the second one you link against the lib/sfml-XYZ-s(-d).a files and add -shared-libstdc++ and -shared-libgcc to the "Other linker options" in the project settings.
For the third one you only link against the lib/static-std/sfml-XYZ-s(-d).a files.

Keep in mind, that this applies only to the TDM builds of MinGW, all the other MinGW builds I've seen use the standard way of linking the runtime libraries, that is shared by default and only when specified -static-libstdc++ and -static-libgcc statically.

I hope that wasn't too confusing, it's just a bad decision of guy building the MinGW TDM versions... :-\
Title: Re: Unofficial Nightly Builds
Post by: santiaboy on April 08, 2013, 02:33:16 am
Sorry to bother you again
No problem! :)

So you're using Code::Blocks 12.11 with the compiler MinGW TDM, right?
What have you been using before?

Code::Blocks 10.05 with the GCC compiler and GDB debugger from MinGW.

Quote
Big explanation

Before I had to include the SFML dll, and none of the other 2 ("libgcc_s_sjlj-1.dll", "libstdc++-6.dll") , but I didn't need to add anything to other linked options. I guess I'll go with Dynamic SFML & runtime libraries, adding the 2 dll to the folder isn't enought reason to downgrade code::blocks to 10.05 haha

Thanks for the explanation! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 08, 2013, 02:42:48 am
Before I had to include the SFML dll, and none of the other 2 ("libgcc_s_sjlj-1.dll", "libstdc++-6.dll") , but I didn't need to add anything to other linked options. I guess I'll go with Dynamic SFML & runtime libraries, adding the 2 dll to the folder isn't enought reason to downgrade code::blocks to 10.05 haha
Well I guess you didn't really get it... ;D

The problem is not with Code::Blocks and if you're really still using v10.05, then I advise you to update.

The SFML 2.0 RC for the TDM compiler, are wrongly built and thus you didn't need the runtime libraries. My binaries are correctly built and thus you need the runtime libraries when linking dynamically.
SFML CMake settings essentially don't allow linking the runtime library static, while the SFML libraries being dynamic, so the only way to get the runtime library linked statically, you'll also have to link SFML statically.

Hmmm maybe I should try to fix the CMake script for the TDM builds or at least open another bug report, then again, it's already too late for SFML 2.0... ::)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 12, 2013, 10:35:12 am
Believe it or not, but the Unofficial Nightly Builds are back! :D

Updated the SFML and Thor builds to the latest commit. Removed the rubenvb version and added the MinGW Builds 32 & 64 bit (http://sourceforge.net/projects/mingwbuilds/), plus the nuwen.net (http://nuwen.net/mingw.html) version.

As always the packages include all possible builds (shared/static/static runtime lib, debug/release) with the fully generated documentation and completely statically build examples.
Enjoy and let me know your thoughts and ideas! :)
Title: Re: Unofficial Nightly Builds
Post by: xylr117z4 on July 14, 2013, 10:20:41 am
Thanks for keeping this up-to-date.  I had cMake configured a long time ago but I've since upgraded to a new PC and I don't really remember how to do that so this is much much easier.
Title: Re: Unofficial Nightly Builds
Post by: anthnich on July 14, 2013, 06:47:48 pm
Awesome, thank you! Glad to see you're doing this, it's much appreciated.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 14, 2013, 07:20:39 pm
Thanks for keeping this up-to-date.  I had cMake configured a long time ago but I've since upgraded to a new PC and I don't really remember how to do that so this is much much easier.
Glad you like it!
I'll still suggest you take a look at CMake again, since it's an important makefile generator not only for SFML but for many very useful libraries out there! ;)

Awesome, thank you! Glad to see you're doing this, it's much appreciated.
I'm glad I could help you out! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 21, 2013, 05:37:27 pm
Updated both Thor and SFML to reflect the latest commits for both libraries.
Title: Re: Unofficial Nightly Builds
Post by: Laurent on August 30, 2013, 08:02:13 am
Have you stopped maintaining your nightly builds? I see that the latest version is the official SFML 2.1.
Title: AW: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on August 30, 2013, 12:23:13 pm
Have you stopped maintaining your nightly builds? I see that the latest version is the official SFML 2.1.
No! :D
I've rebuilt SFML a few times, but I never updated the downloads themselves. I need an easier way to do so. Also you got me a few times. Just as I was finished with the build you pushed a new commit. ;D
I'll try to update today. ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on August 30, 2013, 07:28:46 pm
As promised:

Updated all the builds (SFML & Thor) to their latest commit! (http://en.sfml-dev.org/forums/index.php?topic=9513.0)
Updated the MinGW-Builds and nuwen compilers to their latest version.


"MinGW Builds - Posix SJLJ Rev 5 - 32bit" and "MinGW Builds - Posix SEH Rev 5 - 64bit" came out just under 11h ago with the change log comment: "update mingw-w64 runtime to rev.6165"

"MinGW Distro - nuwen.net - 64bit" is essentially a brand new compiler. The guy behind nuwen.net switched from a 32bit based compiler to a 64bit layout. If someone wants to bug him, he might include SFML in his package directly.

As always, feel free to leave comments, questions, request, etc.! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on September 17, 2013, 03:37:40 am
Updated SFML and Thor builds to the latest commit (http://en.sfml-dev.org/forums/index.php?topic=9513.90)!

I hope you like it! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on September 17, 2013, 12:41:12 pm
Oops, I forgot to move the new builds from the upload section to the actual download place. Luckily only one person has downloaded something so far... ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 01, 2013, 04:46:02 am
Updated the builds for SFML and Thor & I added CSFML to the list of Nightly Builds! Enjoy!

If you encounter any issues, especially regarding the CSFML builds, let me know. :)
Title: Re: Unofficial Nightly Builds
Post by: wintertime on October 12, 2013, 08:55:01 pm
Did you notice the official MinGW got a 4.8 version? Maybe you could add it to your list of compilers.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 12, 2013, 10:12:14 pm
Did you notice the official MinGW got a 4.8 version? Maybe you could add it to your list of compilers.
I didn't notice that the official MinGW got a new version. I'm updating as I'm writing this, will make sure to have changed it in the next version. Thanks!
Also the TDM compilers got an update, meaning they will get an update as well, though I'll be keeping the TDM compiler Code::Blocks ships with, since it's one of the more commonly used compiler.
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on October 14, 2013, 07:31:23 am
I just want to leave a note that I've upgraded my system to OS X 10.9 and Xcode 5, so I'll be changing the OS X builds I provide. The notable changes are:

No GCC builds
Only 10.8 and 10.9 base SDKs supported
I'm still debating whether I should make the minimum target SDK 10.7 or still 10.5
If I do decide to make the minimum target SDK 10.7, then I'm not sure if I'll continue providing C++03 builds (and instead only provide C++11 builds)

Anyway, I'll try to update my build system soon-ish so I can resume regular builds, but I'm quite busy at the moment and can't promise anything.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 14, 2013, 11:32:41 am
I just want to leave a note that I've upgraded my system to OS X 10.9 and Xcode 5, so I'll be changing the OS X builds I provide.
Cool! Thanks for letting us know! :)

On my side I'm currently fighting the TDM compiler. It seems to only crash ld.exe when trying to build the latest version of SFML fully static and I currently have no idea why. Given that the version a few weeks ago still works, I have to assume it's something in SFML's CMake code or something else...
As soon as I've resolved the issue, I'll upload new builds.
Title: Re: Unofficial Nightly Builds
Post by: Hiura on October 14, 2013, 11:48:27 am
@Cornstalks: It seems your nb don't have the freetype dep in the archive.

Quote
I'm still debating whether I should make the minimum target SDK 10.7 or still 10.5
Go with 10.7. I will drop 10.5 support for 2.2 (or 2.3?) and I'm not sure I will maintain compatibility with 10.6 too (yet to be decided).
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on October 14, 2013, 07:19:18 pm
Thanks Hiura for pointing out the missing FreeType framework.

I have updated my build system (http://www.mjbshaw.com/p/sfml-nightly-builds.html). The following changes were made:


If there are any issues you encounter/find (or any other feedback), let me know!
Title: Re: Unofficial Nightly Builds
Post by: Hiura on October 14, 2013, 10:25:27 pm
Nice! I'll probably steal a few ideas to update my packaging script when 2.2 is released.  ;)
Title: Re: Unofficial Nightly Builds
Post by: Cornstalks on October 15, 2013, 05:03:30 am
Nice! I'll probably steal a few ideas to update my packaging script when 2.2 is released.  ;)
Ha cool; yeah I just hacked my build scripts together. If I had more time I'd go back and try to make them less hacky. But if you have any improvements/scripts you want to share I'd be happy to incorporate them :)
Title: Re: Unofficial Nightly Builds
Post by: Hiura on October 15, 2013, 12:07:36 pm
Mine are probably not better – it's more a defensive programming style in sh so very verbose..

I just updated my gist (https://gist.github.com/mantognini/6080429) with my «build_head.sh» script; the one I use day-to-day when I need a fresh install of SFML for testing purpose. It allow me to switch easily from dylibs/frameworks and release/debug. The «build_package.sh» is the one I used to generate SFML 2.1 packages. I will update it when SFML 2.2 is released to use deploy and base SDK properly as you do.



@eXpl0it3r: sorry for hijacking your thread.  ;D
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 15, 2013, 01:31:28 pm
@eXpl0it3r: sorry for hijacking your thread.  ;D
Doesn't matter, it's like free advertising! :P

Also until SFML lets me link again statically with MinGW, I won't be able to upload new builds.
Title: AW: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 18, 2013, 06:58:20 pm
Can you upload visual studio 2013 build ?
I will! ;)
Got VS 2013 RC already installed, currently trying to get Thor to build again with the new way of linking SFML static,  but haven't found a way yet.
Might release a iteration without Thor if I or Nexus can't figure it out on time. ;)
Title: Re: Unofficial Nightly Builds
Post by: Nexus on October 18, 2013, 08:48:01 pm
Don't hesitate to skip Thor, I will await the decision concerning FindSFML (http://en.sfml-dev.org/forums/index.php?topic=9362.msg93127#msg93127) before I fix linking.
Title: Re: AW: Re: Unofficial Nightly Builds
Post by: anthnich on October 19, 2013, 07:15:35 pm
Can you upload visual studio 2013 build ?
I will! ;)

Awesome. As always, thanks.
Title: Re: Unofficial Nightly Builds
Post by: player931402 on October 20, 2013, 05:23:20 pm
I will! ;)

ty, i'm waiting for this!

As always, thanks.

+1
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 03, 2014, 05:11:47 pm
Oh look "Warning: this topic has not been posted in for at least 120 days.", seems like I've been busy with a lot of other stuff, but I'm slowly getting back into the game again.

I've now a dedicated domain & website to Nightly Builds (http://www.nightlybuilds.ch/), but things are still in development and thus not everything is functioning as plant right now, but feel free to check it out! :)

Updated the Nightly Builds to the latest GitHub commit!

I've changed the supported compilers as well, Visual Studio still comes with the full fleet (2010/2012/2013), while I now only support the two TDM compiler that get shipped with Code::Blocks. Due to a few issues with the official MinGW branch and the superior of the MinGW-w64 branch, the standard MinGW compiler got removed as well.

I hope you like it and let me know if you have any ideas, suggestions or bug reports. ;)
Title: Re: Unofficial Nightly Builds
Post by: StormWingDelta on April 06, 2014, 08:27:30 pm
Yep been worse Necros but at least this one has a purpose. :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 09, 2014, 10:04:44 am
Updated the SFML builds and added back the Thor builds.

Yep been worse Necros but at least this one has a purpose. :)
Not really a necro if it's my thread and the "thing" is still going. ;)
Title: Re: Unofficial Nightly Builds
Post by: Rosme on April 09, 2014, 04:38:45 pm
Real nice website. Thanks once again for this. Maybe you could add SFGUI?
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 09, 2014, 04:46:27 pm
Real nice website. Thanks once again for this. Maybe you could add SFGUI?
Thanks, I'm glad you like it! :)

SFGUI will most likely get there, but I first need to adjust the build scripts, of course there won't be support for VS 2010 and 2012, since SFGUI doesn't support them.
Title: Re: Unofficial Nightly Builds
Post by: infinitebox on April 10, 2014, 10:54:17 am
Thanks! I think I'm going to use this instead of compiling my own nightlies manually :P

+1 for SFGUI!
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on April 11, 2014, 10:05:42 am
Added CSFML (http://nightlybuilds.ch/project/forum/4/CSFML/) and 3DEE (http://nightlybuilds.ch/project/show/3/3DEE/)!

Thanks! I think I'm going to use this instead of compiling my own nightlies manually :P
You're welcome! I'm glad you like it!

+1 for SFGUI!
It's coming! ;)
Title: Re: Unofficial Nightly Builds
Post by: dk123 on May 20, 2014, 05:53:59 am
Thanks for all the work, the builds are absolutely great.

Any possible nightly builds for sfeMovie? (especially the sfeMovie2 branch)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on May 20, 2014, 09:19:02 am
Glad you like them!

Any possible nightly builds for sfeMovie? (especially the sfeMovie2 branch)
sfeMovie has quite a complex build script, as such I'm not sure how easily I could build it, but I've been thinking about it as well.
Title: Re: Unofficial Nightly Builds
Post by: MorleyDev on May 20, 2014, 02:58:51 pm
Out of curiosity, your build scripts are you invoking make/msbuild directly? It's just I recently learnt a neat little part of cmake (http://www.cmake.org/cmake/help/v2.8.8/cmake.html#opt:--builddir) that you'd think would be highlighted as a major feature but almost nobody ever talks about or seems to use: --build, --target and --config.

My build scripts for most cmake-based C++ libraries nowadays just look like
cmake ../SFML -G"[Generator Here]" -DCMAKE_BUILD_TYPE=[Debug/Release] -DCMAKE_INSTALL_PREFIX=[SFML DIR]
cmake --build . --config [Debug/Release]
cmake --build . --config [Debug/Release] --target install

No more worrying about if it's make, mingw32-make, msbuild /p:Configuration=Nonsense. Just three lines that can be used for any compiler.

Much more re-usable. So much re-usable I wrote a dependency management tool for C++ for myself that uses these with git for version control. Got it working for a basic cmake install, with caching and automated updating, already :) Need to add custom cmake flags and tag/branch based versioning and it's more or less usable for the majority of cmake-based projects xD Versioning will be where the complexity lies, I'm guessing. May release it into the wild at some point :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on May 20, 2014, 03:19:20 pm
Yeah I've called mingw32-make or nmake directly, so this might be interesting indeed. Thanks. ;)

Not sure how far I can generalize the scripts though. I once tried and ended up with an even worse and limited structure than when everything is separated. We'll see. ;)
Title: Re: Unofficial Nightly Builds
Post by: moistweb on June 19, 2014, 05:24:55 pm
Hey there, when downloading the VC++ 2013 build, Avast says there's a malware associated with the file. I need this build, is it a false positive ?
Title: Re: Unofficial Nightly Builds
Post by: zsbzsb on June 19, 2014, 05:38:43 pm
Hey there, when downloading the VC++ 2013 build, Avast says there's a malware associated with the file. I need this build, is it a false positive ?

I will personally say that eXpl0it3r would never intentionally put malware in any of his things. Still, its really up to you, but it is a most likely a false positive (and I never liked the thing called Avast anyways).

And if you don't want to trust me, build SFML yourself.  ;)
Title: Re: Unofficial Nightly Builds
Post by: moistweb on June 19, 2014, 05:49:42 pm
Yes that's what I doubted. I downloaded the VC++ 2013 x32 build, the opengl.exe and shader.exe in the examples directory were detected by Avast as malwares, but anyways I guess that's just Avast going mad again. Everything else is working perfectly fine, sorry for the interruption. Thanks for the builds
Title: AW: Unofficial Nightly Builds
Post by: eXpl0it3r on June 19, 2014, 06:11:59 pm
Avast is known for it's false positives especially on self compiled stuff. ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 01, 2014, 12:41:26 am
Updated the SFML and CSFML builds.

Will update the Thor builds soon as well.
MinGW-builds got updated from 4.8.1r5 to 4.9.0r2 - the old builds are no longer available, also I switched from SJLJ to Dwarf for the 32 bit compiler.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 01, 2014, 08:42:17 am
Updated the Thor builds.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 03, 2014, 02:13:56 am
Added SFGUI builds (http://nightlybuilds.ch/project/show/5/SFGUI/).

After many month of people requesting SFGUI builds, I've finally come around to adapt the scripts I used to build the "official" SFGUI builds. Since SFGUI requires a compiler with quite a few C++11 features, it doesn't support VS 10, VS 11 nor MinGW 4.7.1
Title: Re: Unofficial Nightly Builds
Post by: csandhmech on July 26, 2014, 05:13:11 pm
I just wanted to say thank you so much eXpl0it3r for this extremely helpful collection of libraries! I am new to the c++ world and could not for the life of me convince cmake that it wanted to work. It kicked my ass for 2 weeks with sfgui till I finally stumbled across this thread. I dont learn by reading, I learn by doing so I read what tutorials I can find then just play with everything till I get it figured out. This was beyond helpful as I was close to booting the pc out the window. Thanks again and keep the awesome work!
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 03, 2014, 01:43:40 am
Guess what! :D

Updated SFML (http://nightlybuilds.ch/project/show/1/SFML/), CSFML (http://nightlybuilds.ch/project/show/4/CSFML/) and Thor (http://nightlybuilds.ch/project/show/2/Thor/) to their latest commits!

SFGUI will follow soon, just needs some time to build everything...
On another note: Visual Studio 2010 and 2012 have been removed - if by now you're still using VS 2010 or 2012 then you're doing it wrong! If someone "forces" you to use these outdated IDEs, then let them provide you binaries! ;D
And as usual the MinGW compilers have been updated to their latest version (GCC 4.9.1).

Enjoy!

Thanks again and keep the awesome work!
I'm glad my builds where of help for you! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 14, 2014, 12:53:09 am
Updated SFML, CSFML, Thor and SFGUI

Here comes a (nearly) full on update. SFML, CSFML and Thor have been brought up to speed with their master, SFGUI is now built from the testing branch (https://github.com/TankOs/SFGUI/tree/testing), unfortunately there seems to be some issue with Visual Studio, so the VS builds will get put up, once the issue is resolved.

Enjoy! :)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on October 14, 2014, 11:25:42 pm
Added the VS builds for SFGUI

The issue in the code with dynamic libraries for SFGUI has been fixed, as well as the problems with my build script. Due to the change there was of course a new commit, but that didn't affect the other compilers, so there shouldn't be an issue, thus I didn't update them.
Title: Re: Unofficial Nightly Builds
Post by: BeautiCode on November 22, 2014, 04:01:06 am
Thank you very much. :)
I love the Visual c++ 13 version.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 16, 2015, 02:25:46 am
Updated SFML, Thor and SFGUI builds

Since CSFML has some issues with the latest changes in SFML, the provided builds are marked as outdated and no new builds have been added.
Title: Re: Unofficial Nightly Builds
Post by: Demir on January 17, 2015, 02:08:07 pm
Hello

I tried SFGUI-MinGW-builds-491r1-32 libs.


No such file ... compile error...
Renderer.hpp
#include <SFGUI/RendererTextureNode.hpp>

Table.hpp
#include <SFGUI/TableOptions.hpp>
#include <SFGUI/TableCell.hpp>

I think it is easy to understand for you.

My elementary solution is  taking that files from your ver..492 then  it seems worked.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on January 17, 2015, 02:31:52 pm
Looks like these files were removed/missing from the commit I guilt these binaries with, they only got re-added a few commits later (see this commit (https://github.com/TankOs/SFGUI/commit/5deefa279d8516fa4af3062b4ed023df12a211c7)).

You could try to manually add the headers and hope it will work, otherwise upgrading to the latest nightly build and the latest compiler might be another solution. ;)
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on May 19, 2015, 01:55:48 pm
After such a long time, I finally got around to these builds again. I've removed the old ones, since they were quite old and started to junk up the space.

Updated SFML, CSFML, Thor and SFGUI

Unfortunately there seems to be some issues with CSFML for Visual Studio 2010 and 2012. Probably something with my build script. When I get time, I'll look into it, but since they are C libraries, one should also be able to use the VS 2013 ones in VS 2010/2012 projects.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on May 19, 2015, 05:54:37 pm
Updated CSFML and Thor Visual Studio builds

Figured out the build script issue for CSFML and Thor, everything should now work properly. :)
Title: Re: Unofficial Nightly Builds
Post by: Hapax on May 19, 2015, 08:41:29 pm
Yay. Time for me to update to SFML 2.3!  ;D
Title: Re: Unofficial Nightly Builds
Post by: Hapax on May 19, 2015, 09:06:04 pm
The space in the file name in "Visual Studio" causes some trouble as the downloaded file loses everything after the space (it did for me, anyway). It's not a huge problem but it's probably something you didn't realise was happening.
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on May 19, 2015, 09:07:36 pm
Arg I thought I fixed that already.  :(
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 11, 2015, 08:17:25 pm
Updated all builds, added VS 2015RC builds and update MinGW Builds to GCC 5.1.0

I hope this helps all the people who've been looking for VS 2015RC builds. :)
Title: Re: Unofficial Nightly Builds
Post by: Jesper Juhl on July 11, 2015, 08:26:52 pm
Not to rain on your parade; you do a great job with your builds. But:
I wonder if the SFML community might actually be better served if only source code was released.

1. Any developer worth her salt should be able to compile a library she uses.
2. We would get rid of all the annoying forum threads about "my program behaves strangely" caused by people mixing SFML downloads done with compiler A with applications compiled with compiler B.
3. The SFML team wouldn't have to maintain a build-farm for doing builds on misc platforms with misc compilers.

Seriously, if you can't manage to download, unpack and compile + link the source for a library you need, then maybe you shouldn't be writing C++ code in the first place...
Title: Re: Unofficial Nightly Builds
Post by: eXpl0it3r on July 11, 2015, 10:13:49 pm
First off I have to say, that these builds are still unofficial ones, so the SFML Team itself has nothing to do with it.

Second I mostly agree, but unfortunately it doesn't really matter. I wish people learned how to build from source instead of being dependent on pre-built binaries, but if we did just provide the source we'd get equally as many posts about compiler issues and questions for pre-built binaries and just make more people angry at us.
Plus community members will start providing builds and if you ban builds from the forum they'll host it on some obscure site and never update it, etc. So I rather have an officially hosted binaries that we have full control over.

The "build-farm" as you put it, will in the future only generate binaries as side-effect. The main purpose is to have automated builds running on all major platforms to ensure that nothing broke.