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

Author Topic: Compile on Windows 8, returns status -1073741819  (Read 2167 times)

0 Members and 1 Guest are viewing this topic.

DC

  • Newbie
  • *
  • Posts: 5
    • View Profile
Compile on Windows 8, returns status -1073741819
« on: December 25, 2012, 11:03:49 pm »
Hello, I'm having a problem with compiling a game I'm working on on my new computer. My old one was Windows Vista, and the program's executable works just fine on the new computer. If I try to build it on Windows 8 though, running it makes the command line pop up (like usual) and then the program immediately crashes with an access violation. I have not changed the source code since I moved the code to the new computer. Is SFML not compatible with Windows 8, or is there something I can do to solve this problem?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Compile on Windows 8, returns status -1073741819
« Reply #1 on: December 26, 2012, 12:26:36 am »
You need to state what exact version of SFML you're using and which compiler (before and after moving to Windows 8 ).
« Last Edit: December 26, 2012, 12:50:36 am by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Compile on Windows 8, returns status -1073741819
« Reply #2 on: December 26, 2012, 12:39:16 am »
Try going through it with debugger and seeing what line it crashes at?
If it was visual and you upgraded: did solution conversion go without problems and you have new .lib and .dll for new visual?
Quote
Windows 8).
:D
Back to C++ gamedev with SFML in May 2023

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Compile on Windows 8, returns status -1073741819
« Reply #3 on: December 26, 2012, 12:52:00 am »
If it was visual and you upgraded: did solution conversion go without problems and you have new .lib and .dll for new visual?
If the project is not huge (and maybe even then), don't convert it, but create a new one.
Also if you switched from 20XX to 2012 you obviously will have to recompile SFML.

Quote
Windows 8).
lol ;D
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

DC

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Compile on Windows 8, returns status -1073741819
« Reply #4 on: December 26, 2012, 05:19:27 am »
Whoops, guess I should clarify that I'm using Code Blocks with MinGW and SFML 1.6 for both, although I went up quite a few versions of CB in the transition. I literally just copy and pasted the project over, should I make a new project and re-import all files? Also for some reason stepping through the code doesn't work in Code Blocks with SFML, so I always have to plant a ton of iostream statements to debug. It just crashes if I try to, even when it compiles successfully.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: Compile on Windows 8, returns status -1073741819
« Reply #5 on: December 26, 2012, 08:54:28 am »
If you use the latest C::B version (with GCC 4.7.x), then you have to recompile SFML.
But you can just open the old project.

Btw I strongly advise you to use SFML 2. SFML 1.6 hasn't been touched in over 2y and thus has a lot of bugs and lacks a lot of nice features. It's slso easier to compile with CMake. ;)
« Last Edit: December 26, 2012, 11:01:00 pm by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

DC

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AW: Compile on Windows 8, returns status -1073741819
« Reply #6 on: December 26, 2012, 10:57:49 pm »
If you use the latest C::B version (with GCC 4.7.x), then you hace to recompile SFML.
But you can just open the old project.

Btw I strongly advise you to use SFML 2. SFML 1.6 hasn't been touched in over 2y and thus has a lot of bugs and lacks a lot of nice features. It's slso easier to compile with CMake. ;)

Ah, gotcha. I'll try compiling SFML 2.0 and see if my old project works. If not, I'll post again. Thanks for your help exploiter. :)