SFML community forums

Help => General => Topic started by: slotdev on May 16, 2011, 07:50:03 pm

Title: SideBySide
Post by: slotdev on May 16, 2011, 07:50:03 pm
Hi

My app crashes when I run it on the target system, guess what it's the SideBySide MSVCRT and KERNEL32.

Most people will say, just install the MSVC Redistibutable stuff, problem is I have 7000 machines to deploy this on (no joke), so it's just impossible.

Therefore I must static link to the MS runtime libraries. This isn't normally a problem but for some reason it's not working.

So, are the SFML libraries linked against MSVCRT etc?

Thanks
Ed
Title: SideBySide
Post by: Laurent on May 16, 2011, 09:07:18 pm
SFML libraries are linked to DLL CRT, but you can change it to link statically and recompile them.

If you're using SFML 2, it's as simple as changing a CMake option.
Title: SideBySide
Post by: slotdev on May 16, 2011, 10:04:56 pm
Ah OK, I'll grab the source code and recompile.

I'm using 1.6 - it's a bit off topic but how "finished" is 2.0 ? My issue is that there are no tutorials for it and as a totally new SFML user it's good to have a lot of references. It saves asking silly questions on forums :-)
Title: SideBySide
Post by: Laurent on May 16, 2011, 11:38:29 pm
SFML 2 is almost finished, I've started to update the tutorials.

The tutorials for 1.6 can be used as a base, and with the API documentation (which is up-to-date) I think you can easily learn SFML 2.0.

And I allow silly questions about non-documented SFML 2 stuff :lol: