Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
SFML program works fine in Codeblocks but not from EXE file.
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: SFML program works fine in Codeblocks but not from EXE file. (Read 4815 times)
karpelec
Single posting newcomer
Posts: 2
SFML program works fine in Codeblocks but not from EXE file.
«
on:
March 09, 2018, 04:13:12 pm »
I configured CodeBlocks under MYSYS2 just like on a screenshot:
https://zapodaj.net/images/39af38f140f44.png
After creating EXE file including SFML in Codeblocks under MYSYS2, when I run programme there pops up an error:
"The application was unable to start correctly (0xc000007b).
Click Okay to close the application"
Before in Codeblocks without MYSYS2 everything was OK.
I will add that in Codeblocks programme is working normal. But it doen't run from EXE file.
Logged
BlueHazzard
Developer
Lives here!
Posts: 3352
Re: SFML program works fine in Codeblocks but not from EXE file.
«
Reply #1 on:
March 09, 2018, 04:45:52 pm »
you are probably missing some dlls. You can use dependency walker to get some idea...
in general msys2 application don't run outside the msys environment...
Logged
karpelec
Single posting newcomer
Posts: 2
Re: SFML program works fine in Codeblocks but not from EXE file.
«
Reply #2 on:
March 09, 2018, 06:13:59 pm »
I change Windows environment path from
C:\Program Files (x86)\CodeBlocks\MinGW\bin
to
C:\msys64\mingw64\bin
and everything works fine
.
«
Last Edit: March 10, 2018, 07:02:52 pm by karpelec
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
SFML program works fine in Codeblocks but not from EXE file.