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

Author Topic: sfml compile but dont show anything  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

lindahl

  • Newbie
  • *
  • Posts: 1
    • View Profile
sfml compile but dont show anything
« on: June 09, 2013, 12:48:30 pm »
hi

i have a problem with sfml in codeblocks as it doing nothing after i compiled it.
no error no blinking..... nothing.
the only thing that is weird it stops after it run half the program and
then ask "it seems that this project has not been built yet. do you want to build it now".

i use static linking and followed the tutorial.
the compiler is mingw4.7.1 in codeblocks 12.11.
os is windows 7 64bit.
about the sfml version i cant tell what version it is more than i downloaded it here.
https://github.com/SFML/SFML/archive/master.zip
the reason i downloaded it there is i have tried all of the sfml versions
here on sfml-dev but none of them has worked out near as good as this version i have now.

cheers lindahl

amireldor

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: sfml compile but dont show anything
« Reply #1 on: June 14, 2013, 02:49:23 pm »
What do you mean "it stopped after it ran half of the program"?
Did it finish compiling and building the project? Did you manage to compile a simple C++ "Hello World" application with CodeBlocks?

The Hatchet

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • Email
Re: sfml compile but dont show anything
« Reply #2 on: June 14, 2013, 09:10:41 pm »
More info and maybe a screenshot is always good.

One thing I know with codeblocks 12.11 is you need to go to http://sfml.my-gate.net/nightly/ and download either the MinGW TDM for either 32 or 64 bit as the official releases of SFML don't work right with codeblocks built in mingw compiler.

 

anything