Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SideBySide  (Read 1723 times)

0 Members and 1 Guest are viewing this topic.

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
SideBySide
« 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
SFML 2.1

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SideBySide
« Reply #1 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.
Laurent Gomila - SFML developer

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
SideBySide
« Reply #2 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 :-)
SFML 2.1

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SideBySide
« Reply #3 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:
Laurent Gomila - SFML developer

 

anything