User forums > Using Code::Blocks

project with sfml :unable to run .exe

<< < (3/3)

skool daze:
Resuming:
Yes I know the most likely error is mine, not C::B fault (neither SFML's fault), but nonetheless, it puzzless me.
It's only a minimal test code with creation of window waiting to be closed with the minimal content, nothing more.
Nor it uses any external file other that the own *.dll's

I am thinking about the targets, it's the first time I code with that debug/release dichotomy

run it from shell --> no, it's GUI application

Also checked in "Build options...", dont touch Compiler Flags...or only the same checks for Release as Debug, in Linker settings>Link libraries ensure that the *.a's are in correct order (first graphics, then window, last system). Also in both options of Search directories (Compiler + Linker), ensure correct paths.

Maybe I missed something related to the possibility of static version?

Many thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version