SFML community forums
Help => General => Topic started by: MadSiser on February 07, 2019, 12:46:10 pm
-
How can I make *.exe file in Linux Code::Blocks? I want send my project to friend which can't compiling, so I want create file which when he clicked will be working.
Write me it in steps, please.
-
The same as when you compile for Linux, but with a cross-compiler. You'd better find a proper tutorial, than waiting for people to explain on a forum.
Besides, this is the SFML forum, so please focus on SFML related questions.
-
Yeah but all tutorials says about Windows. I can't find information about that. :(
-
The very first Google result is a stackoverflow thread (https://stackoverflow.com/questions/2033997/how-to-compile-for-windows-on-linux-with-gcc-g) with plenty of useful information. It even gives a link to a tutorial for Code::Blocks (http://forums.codeblocks.org/index.php?topic=3343.0). So please don't say you can't find anything ;)
-
I was do it but still do not work (worked in project without SFML libraries). I have linked all libraries and added macro but I have error.
-
you can use wine with codeblocks for windows or you can install mingw to compile for windows