SFML community forums

Help => General => Topic started by: Teknol on September 21, 2017, 10:27:57 am

Title: Sfml to exe
Post by: Teknol on September 21, 2017, 10:27:57 am
I'm trying to make my cbp file into a exe, so that as long as you have the dlls, images and the audios, you can run it.

Can someone please tell me how to do that??
I'm using Code::Blocks
Title: Re: Sfml to exe
Post by: eXpl0it3r on September 21, 2017, 11:08:32 am
You compile your code. See the official tutorials on how to setup Code::Blocks.
Title: Re: Sfml to exe
Post by: Teknol on September 21, 2017, 02:01:08 pm
Everything is correct, before when using cpp, clicking build will build a exe file for me but when using sfml it only creates it for the debug and it doesn't work as it can't find the dlls. I am still able to run it but I want to share it for people who can't open cpp file or doesn't have code blocks, visual studios cpp etc


Sent from my iPhone using Tapatalk
Title: Re: Sfml to exe
Post by: Gleade on September 22, 2017, 12:31:31 am
The DLL's (if not compiled statically) are required to be in the same directory as the executable (*.exe).