Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
problem running sfml and vs 2012 .exe on different computer
Print
Pages: [
1
]
Author
Topic: problem running sfml and vs 2012 .exe on different computer (Read 2172 times)
0 Members and 1 Guest are viewing this topic.
neptunier
Newbie
Posts: 3
problem running sfml and vs 2012 .exe on different computer
«
on:
May 02, 2013, 08:43:44 am »
hello,
this is my first post here. my name is michael from germany and i was working the last months with sfml and really like it. i am a beginner in programming. i am using visual studio 2012 prof in windows 7 and sfml 2.0. i was compiling the libraries for for my computers and everything worked.
i wanted to share my programm with a friend but he has probs running it. it says he is missing the sfml-graphics-d-2.dll although it is in his system 32. however i am using win7 32bit and he 64bit.
does anybody know what went wrong there?
thanks for help,
michael
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: problem running sfml and vs 2012 .exe on different computer
«
Reply #1 on:
May 02, 2013, 08:49:37 am »
You should never distribute debug builds, and you should never copy SFML DLLs in Windows\System32.
However, that doesn't explain your problem. If you have problems with DLLs, you can also link SFML statically.
Logged
Laurent Gomila - SFML developer
neptunier
Newbie
Posts: 3
Re: problem running sfml and vs 2012 .exe on different computer
«
Reply #2 on:
May 09, 2013, 09:25:07 am »
thanks laurent, i will try that.
Logged
anthnich
Newbie
Posts: 34
Re: problem running sfml and vs 2012 .exe on different computer
«
Reply #3 on:
May 09, 2013, 05:06:35 pm »
Also, make sure that any sfml .dll files are in the same directory as the executable.
Logged
neptunier
Newbie
Posts: 3
Re: problem running sfml and vs 2012 .exe on different computer
«
Reply #4 on:
May 10, 2013, 08:41:03 am »
thanks laurent. i statically linked now and sent it to the friend. now it says missing mfc110.dll. i know that dll has nothing to do with sfml, but i was wandering if the sfml missing dll is now resolved.
might there be a difference in the mfc110.dll between 32bit and 64bit?
thanks, michael
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
problem running sfml and vs 2012 .exe on different computer