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

Author Topic: SFML 2.0 Building Windows Binaries on Linux?  (Read 1049 times)

0 Members and 1 Guest are viewing this topic.

reportados123

  • Newbie
  • *
  • Posts: 18
    • View Profile
SFML 2.0 Building Windows Binaries on Linux?
« on: October 13, 2012, 02:37:46 pm »
Hello, I'm new to SFML and I was wondering if someone knew how to build Windows Binaries on Linux?

My linux distro is OpenSuSE and I already have the mingw32 compiler installed on it. I already installed cmake too, but I couldn't get it to work because I am new to it. I've looked at all the tutorials and it only was for Windows, no actual Linux to Windows cross comilation tutorial was made.

Any help is appreciated, thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 Building Windows Binaries on Linux?
« Reply #1 on: October 13, 2012, 03:47:06 pm »
Cross-compiling with CMake is simple: when you configure the project you specify a toolchain file (which contains the target OS and compiler identification), and that's it. You should find more detailed tutorials about it.

That's all you should need.
Laurent Gomila - SFML developer

 

anything