SFML community forums

Help => General => Topic started by: snesh on May 24, 2015, 10:08:15 am

Title: Application crashes on another computer (Solved)
Post by: snesh on May 24, 2015, 10:08:15 am
Hello, I have some problems with compiled application...
I have built sfml 2.3 with mingw make, because applications were crashing...
Anyway, now it works on my computer, but when I send to my friend application with these 5 built dlls, he has error: 0x000007b

I dont know what to do  :-\
Is something wrong with version of compiler and dlls?
Our OS is win7
(Sorry for my english)
Title: Re: Application crashes on another computer
Post by: Mario on May 24, 2015, 11:06:14 am
Any more detail? Which files did you provide? Which components of SFML are you using?

Can you try compiling him a simple executable like "hello world" and run that?
Title: Re: Application crashes on another computer
Post by: snesh on May 24, 2015, 11:38:07 am
I sent him simple "Hello world" program and he said its working...
In folder with application are window, network, system, audio and graphics debug dlls, the same I have built with mingw make. I tried also Release and he had the same problem. I use only SFML/Graphics.hpp library.

But it must be a problem from my side, becasue when I've had another OS (vista), I havent got any problems, and he hasnt got any problems too..



Title: Re: Application crashes on another computer
Post by: snesh on May 25, 2015, 03:35:34 pm
Anybody know why this is happening?
Why its working only on my computer?
Title: Re: Application crashes on another computer
Post by: StormWingDelta on May 26, 2015, 03:21:05 pm
We have to see this error in order to do anything.  ???
Title: Re: Application crashes on another computer
Post by: DarkRoku12 on May 26, 2015, 09:14:57 pm
Hello, I have some problems with compiled application...
I have built sfml 2.3 with mingw make, because applications were crashing...
Anyway, now it works on my computer, but when I send to my friend application with these 5 built dlls, he has error: 0x000007b

I dont know what to do  :-\
Is something wrong with version of compiler and dlls?
Our OS is win7
(Sorry for my english)

Check is the program say "something.dll" is missing , and then pack the .dll with the program.
Is the version x64 and your friend's computer x32 ?

Try it in another PC.

(I speak spanish (if you too) , you can contact me for PM ).

Title: Re: Application crashes on another computer
Post by: snesh on May 27, 2015, 03:09:58 pm
Yes, he had to download more dlls, and yes, he has 64 bit, I have 32. Is that a source of the problem?
Must I build another dlls for x64 system?
Title: Re: Application crashes on another computer
Post by: DarkRoku12 on May 27, 2015, 08:19:24 pm
Yes, he had to download more dlls, and yes, he has 64 bit, I have 32. Is that a source of the problem?
Must I build another dlls for x64 system?

32bits is compatible with 64.

remember that you need to pack the minGW .dll with executable ( for the version alongside with codeblocks are more o less  10 dll )

Mi pc is x64 but i use x32 compiler my path for the dlls of minGW is: C:\Program Files (x86)\CodeBlocks\MinGW\bin 
Title: Re: Application crashes on another computer
Post by: snesh on May 28, 2015, 07:34:00 am
Yes, he had to download more dlls, and yes, he has 64 bit, I have 32. Is that a source of the problem?
Must I build another dlls for x64 system?

32bits is compatible with 64.

remember that you need to pack the minGW .dll with executable ( for the version alongside with codeblocks are more o less  10 dll )

Mi pc is x64 but i use x32 compiler my path for the dlls of minGW is: C:\Program Files (x86)\CodeBlocks\MinGW\bin

Thank you so much! I didnt know there were dlls! All its working. Thanks everyone!