Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Wont run on windows 10  (Read 4901 times)

0 Members and 1 Guest are viewing this topic.

CreaM

  • Newbie
  • *
  • Posts: 36
    • View Profile
Wont run on windows 10
« 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10818
    • View Profile
    • development blog
    • Email
Wont run on windows 10
« Reply #1 on: November 26, 2015, 07:04:47 pm »
"won't load or crash"
No details of the crash?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

CreaM

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Wont run on windows 10
« Reply #2 on: November 26, 2015, 07:13:46 pm »
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.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Wont run on windows 10
« Reply #3 on: November 26, 2015, 07:36:30 pm »
Try running it under a debugger so you can see what actually happens.

Spirro

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Wont run on windows 10
« Reply #4 on: November 26, 2015, 08:24:47 pm »
Try running the program from the command window to see if SFML is spitting out any errors as well.

noct

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • nctdev.pl
Re: Wont run on windows 10
« Reply #5 on: December 05, 2015, 10:58:54 am »
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?

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 878
    • View Profile
Re: Wont run on windows 10
« Reply #6 on: December 05, 2015, 08:46:37 pm »
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).

noct

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • nctdev.pl
Re: Wont run on windows 10
« Reply #7 on: December 05, 2015, 11:52:34 pm »
Theres no console output. I've sent him ready to go .exe file (with additional files, libs etc). Should I upload this to you?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10818
    • View Profile
    • development blog
    • Email
Wont run on windows 10
« Reply #8 on: December 06, 2015, 10:08:16 am »
You could, then I can see for myself.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

noct

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • nctdev.pl
Re: Wont run on windows 10
« Reply #9 on: December 07, 2015, 12:22:54 pm »
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
Pass: sfmldev
vt scan of .exe file

Btw I've tried to execute this on the other platforms and devices. Works fine on desktop winME-win8 and virtualbox' win10.
« Last Edit: December 07, 2015, 12:27:33 pm by noct »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10818
    • View Profile
    • development blog
    • Email
Re: Wont run on windows 10
« Reply #10 on: December 07, 2015, 12:50:07 pm »
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.

Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

noct

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • nctdev.pl
Re: Wont run on windows 10
« Reply #11 on: December 08, 2015, 12:07:59 am »
<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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10818
    • View Profile
    • development blog
    • Email
Re: Wont run on windows 10
« Reply #12 on: December 08, 2015, 12:30:32 am »
Pick whatever solution you're most comfortable with. You might find sf::VideoMode::getDesktopMode() useful.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

noct

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • nctdev.pl
Re: Wont run on windows 10
« Reply #13 on: December 08, 2015, 02:53:18 pm »
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