SFML community forums
Help => General => Topic started by: _4004 on May 02, 2019, 12:47:26 pm
-
Hello there. I did interface design with tgui to get rid of the console screen. On the console screen (project version 1) I played without any errors. I made this project with vs2013. When I switch to vs2017(project version 2), I can't play it myself but on other computers (64bit computer) my project. Error code: 0xc000007b.
ucrtbased.dll missing, I copied to project location after the download file.
vcruntime140d.dll missing, i copied to project location after the download file.
After 2 file copied error code: 0xc000007b.
Why?
-
It's best to install the correct VS runtime libraries on the target system.
If you do want to copy the DLLs next to your binary, you have to make sure you pick the correct architecture.
The 0xc000007b indicates that you probably copied an x64 lib while your application is compiled for x86 or the other way around.
-
Yes I chose 64 bit. I'm sure of that.
-
What does that mean exactly?
Does your compiler architecture settings and the retrieved DLL architecture match?
Did you actually check or are you just vaguely remembering from memory? ;)
-
vcruntime140d.dll and ucrtbased.dll are debug versions (there's a 'd' on the end of the file names). You want to build in Release mode before distributing.