SFML community forums
Help => General => Topic started by: CreaM on November 26, 2015, 06:50:15 pm
-
Hello, I have sended a couple of programs to a friend, but he cant run them.
All the programs are just loading but wont either load or crash. Ive tried both Debug and Release but nothing works.
Im using vs 2015 on my win 7. He has win 10. We both have a 64bit-operating system. And ofc. everything runs fine on my PC.
Thanks for any ideas.
-
"won't load or crash"
No details of the crash?
-
It doesnt crash. But it wont load either. It is just loading but nothing appears - there is no error message to post + he tried to run it for windows 7 but it also didnt help.
-
Try running it under a debugger so you can see what actually happens.
-
Try running the program from the command window to see if SFML is spitting out any errors as well.
-
I've got the same problem. My app is working correctly on my PC with win8 64bit. When I send it to a friend with win10 64 bit, he can open it as usual, but only the console is visible. It also displays main window, but it is empty. What should I do, or what info do you need to help me?
-
Console output (if there is any). Also make sure they've got the latest graphics drivers and OpenGL is working fine (e.g. by trying some other program that uses OpenGL).
-
Theres no console output. I've sent him ready to go .exe file (with additional files, libs etc). Should I upload this to you?
-
You could, then I can see for myself.
-
I've attached some libs and all necessary (mostly txt and png) files.
My friend said me that some apps using openGL were working fine: minecraft, google earth
Zippy (http://www27.zippyshare.com/v/TghtrF2v/file.html)
Pass: sfmldev
vt scan of .exe file (https://www.virustotal.com/pl/file/6a094b60bfb6ec772b8f4469922adcd50ea3c810226ba56ae02267cfee413526/analysis/1449486941/)
Btw I've tried to execute this on the other platforms and devices. Works fine on desktop winME-win8 and virtualbox' win10.
-
What window resolution do you set? Seems like the window resolution is bigger than the screen, which will lead to the application not showing up.
(http://i.imgur.com/veeFu4a.png)
-
<insert some epic facepalm gifs>
That was it.
How should I prevent bugs like that? Should I make it possible to pick it by user, or auto get his screen resolution?
-
Pick whatever solution you're most comfortable with. You might find sf::VideoMode::getDesktopMode() (http://www.sfml-dev.org/documentation/2.3.2/classsf_1_1VideoMode.php#ac1be160a4342e6eafb2cb0e8c9b18d44) useful.
-
Now it displays an additional window with some gfx/sfx options. I wish I had a c# System.Windows.Forms for that.
Thanks for help @eXpl0it3r