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

Author Topic: Problem to run on windows.  (Read 2261 times)

0 Members and 1 Guest are viewing this topic.

djm_jm

  • Newbie
  • *
  • Posts: 23
    • View Profile
Problem to run on windows.
« on: November 17, 2016, 05:27:16 pm »
I am developing a project on linux and in this platform it's all ok, it's running fine the game. however, when I try porting the game to windows, the game compiles fine, but it happens one error on the execution. It's the following error:

"Errror 0xc00007b"

Somebody can help solve this? What is the cause?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Problem to run on windows.
« Reply #1 on: November 17, 2016, 05:35:27 pm »
The usual way to solving a problem is to first search if there already exists topics with similar issues that already have a solution. If the forum itself doesn't provide a result, the next step could be to use s general search engine such as Google.

If after this one still couldn't find an answer or doesn't understand the found solution, one could try to grt help by for example write on a forum, but one shouldn't forget to include all relevant information.

Your error generally occures when you mix x86 and x64 libraries. Make sure you use x86 DLLs of SFML if you used a x86 compiler or x64 DLLs with a x64 compiler.
Note that compilers aren't automatically x64 just because you use a x64 system. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

djm_jm

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Problem to run on windows.
« Reply #2 on: November 18, 2016, 02:12:02 am »
Good, I updated the DLLs and now it's happened this error on the attached image.

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Problem to run on windows.
« Reply #3 on: November 18, 2016, 10:14:58 am »
Copy the dll files from SFML's bin directory next to your executable. Make sure to not mix up x86/x64 and debug/release. Then try again.

djm_jm

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Problem to run on windows.
« Reply #4 on: November 18, 2016, 03:15:00 pm »
Copy the dll files from SFML's bin directory next to your executable. Make sure to not mix up x86/x64 and debug/release. Then try again.

I make this and the error continues. I am sure that directory has only x86 dlls. The compiler is Mingw x86_x64.
« Last Edit: November 18, 2016, 03:16:36 pm by djm_jm »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Problem to run on windows.
« Reply #5 on: November 18, 2016, 04:16:23 pm »
x86_x64 would indicated a x64 compiler, but you probably meant MinGW-w64.

Your compiler needs to be 100% the exacte same as the compiler the DLLs were built with.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/