SFML community forums

Help => General => Topic started by: reportados123 on October 13, 2012, 02:37:46 pm

Title: SFML 2.0 Building Windows Binaries on Linux?
Post by: reportados123 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
Title: Re: SFML 2.0 Building Windows Binaries on Linux?
Post by: Laurent 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.