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

Author Topic: Can't run SFML program  (Read 1248 times)

0 Members and 1 Guest are viewing this topic.

CostinV

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Can't run SFML program
« on: April 14, 2013, 05:06:07 pm »
So this is the thing. I've installed VisualStudio 2010, but decided i don't like it, so i uninstalled most of his components and installed Code Blocks. So far so good. I downloaded SFML 2.0, linked the libraries, tried to run a sample program. The ide build it perfectly. Now it comes the tricky part. I received a "Just in time debugger" error when i tried to run the program. I searched the issue on the net and discovered a way to get rid of JIT debugger, by deleting some register, and activating Dr. Watson debugger in cmd. Now i don't get a JIT error i get a Send/Don't send error when i try to run the program, and a non 0 terminate status. What can i do to solve the problem?  I get this error only when I'm using SFML, when i try to create a window using windows.h standard library it is working.

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Can't run SFML program
« Reply #1 on: April 14, 2013, 05:11:44 pm »
You can't use files downloaded from page with latest version of compiler that comes with code blocks, you need to build your own or use nightly builds.
Back to C++ gamedev with SFML in May 2023

CostinV

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Can't run SFML program
« Reply #2 on: April 14, 2013, 06:12:49 pm »
I know it may sound stupid but from where do i get the source code to build SFML 2 myself?... i can't find it anywhere

I've found them
« Last Edit: April 14, 2013, 06:24:48 pm by CostinV »

CostinV

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Can't run SFML program
« Reply #3 on: April 14, 2013, 07:46:09 pm »
Thanks for the help! I build the files and now everything is working just fine.

 

anything