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

Author Topic: The program exiting with code -1073741515  (Read 11406 times)

0 Members and 1 Guest are viewing this topic.

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #15 on: September 30, 2014, 11:11:59 pm »
I use SFML with GCC 4.8.2 on RedHat 6.5 (via devtoolsets2) and it works fine. So the answer to that question would be "yes".
Thanx you too.
Infinite insomnia.

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: The program exiting with code -1073741515
« Reply #16 on: October 01, 2014, 05:01:13 am »
Yup, tried to cmake it twice. Same exiting code.
...the guy above said...
Actually, it was me  :P

I don't know if the compiler is removed when removing the IDE. It looks like you should check that when you remove it again  ;D
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
AW: The program exiting with code -1073741515
« Reply #17 on: October 01, 2014, 07:39:30 am »
Start the debugger, see where it crashes.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #18 on: October 01, 2014, 10:40:24 am »
Started debugger, at line 8
 sf::RenderWindow App(sf::VideoMode(800, 600, 32), "Hello World - SFML");
exited with code 0xc0000135
Btw here's my output for gcc -v.

Infinite insomnia.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: The program exiting with code -1073741515
« Reply #19 on: October 01, 2014, 11:00:40 am »
Provide the call stack.

Also do you have a graphics driver installed?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #20 on: October 01, 2014, 11:07:15 am »
Sure.
Btw, in Visual Studio everything works correctly.
Infinite insomnia.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: The program exiting with code -1073741515
« Reply #21 on: October 01, 2014, 11:30:10 am »
Provide the call stack.

I still think there's a library mismatch (i.e. SFML built for GCC 4.7 or something and you using GCC 4.8.2).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #22 on: October 01, 2014, 11:52:50 am »
If i understand you correctly..
Toogled stack in windows->views, while debugging the threads are empty. Put breakpoint at line 8

Infinite insomnia.

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #23 on: October 01, 2014, 11:58:18 am »
The guy above says his sfml(gcc 4.7.0 compatible) works with 4.8.2 too..
seems like i need to install <5.0 version of qtcreator with 4.7 gcc
Infinite insomnia.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: The program exiting with code -1073741515
« Reply #24 on: October 01, 2014, 01:49:03 pm »
You should never mix different compiler versions.
Just build SFML for the right compiler, no need to change QtCreator.

If an application crashes, there needs to be a call stack. You could also run gdb directly from the command line, run your application, let it crash and get the call stack with the command bt.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #25 on: October 01, 2014, 04:13:03 pm »
Decided to use MS studio instead creator in sfml case.
Can someone close topic? Thx for everyone above.
Infinite insomnia.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #26 on: October 01, 2014, 05:30:22 pm »
The guy above says his sfml(gcc 4.7.0 compatible) works with 4.8.2 too..
seems like i need to install <5.0 version of qtcreator with 4.7 gcc
I said that SFML works with GCC 4.8.2 and I meant the SFML source. I did not say that the pre-built SFML binaries work. They were build with a different compiler version and I wouldn't expect them to work.
I built SFML from source (a recent github snapshot) with GCC 4.8.2 so that it does work.

Mörkö

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: The program exiting with code -1073741515
« Reply #27 on: October 01, 2014, 06:40:43 pm »
Btw, does anybody work with SFML in QTcreator? I have heard it works awkwardly with qtcreator.
Yes daily. I use QT Creator + cmake.

Before I switched to cmake, I did have some trouble sometimes where QMake would require me to run `Clean All` first instead of just building in order to compile all updated files, but I don't remember the specific circumstances of when that would happen.

fakepotato

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: The program exiting with code -1073741515
« Reply #28 on: October 04, 2014, 01:09:44 am »
Damn, it works perfect in QTcreator on linux.
Infinite insomnia.