SFML community forums

Help => General => Topic started by: CostinV on April 14, 2013, 05:06:07 pm

Title: Can't run SFML program
Post by: CostinV 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.
Title: Re: Can't run SFML program
Post by: FRex 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.
Title: Re: Can't run SFML program
Post by: CostinV 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
Title: Re: Can't run SFML program
Post by: CostinV on April 14, 2013, 07:46:09 pm
Thanks for the help! I build the files and now everything is working just fine.