1
General / Re: SFML + Eclipse. Nothing happens when I press "Run"
« on: September 26, 2015, 08:26:58 pm »
Ok, will do. Thanks all for your help.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Then you didn't download it from mingw.org.At first I did, but then, after your posts I decided to try another places..
At best you recompile SFML with your compiler.
The provided binaries are for the MinGW-w64 4.9.2 rev 2 (you have rev 4).
Is the compiler exe in your path? Can you get the name of the compiler exe? Something like mingw-g++ iirc. If so, then open a cmd, and run "<compiler exe> -v" and paste the output.
If it isn't in your path, open a cmd in the folder that the exe is in (hold Shift, and right click in the folder), and then do the same thing.
32 bit or 64 bit? I'm assuming you're using the 64 bit compiler with the 32 bit DLLs then. Or you have the SJLJ compiler and the DW2 DLLs.Actually i have no idea about the version of compiler, as there's only 1 link (at top right corner) and no additional info, just quick redirection to download. ..
The DLLs you used are not compatible with the compiler you use.DLLs from this site. GCC 4.9.2 MinGW (DW2) - 32-bit.
Where did you get the DLL from and what compiler do you use?
Launch it in a debugger, put a breakpoint early in your program's execution, and step line by line until you find out the reason for the (seemingly) early exit.Doesn't really look like the program even starts... I set the breakpoint, run a debug, it doesn't redirect me to debug view so I'm going there myself and there's pretty much nothing except <terminated>.
Do you link SFML statically? If not, does the program find the right *.dll files (the one you compiled/downloaded with/for VS13 aren't compatible).Dynamically, I installed VS13 on another laptop so I'm pretty sure I'm using right DLLs for MinGW.
Have you tried to run the executable yourself? (it's located in the Debug folder iirc)
AlexAUT
I'm just trying to run a code from tutorial page.but it does nothing.Which means...? What is your code supposed to do?
Seems like an IDE- and not SFML-related problem. Maybe people at an Eclipse forum can help you more