SFML community forums

Help => General => Topic started by: metRo_ on November 12, 2008, 08:23:56 pm

Title: Dev-C++ Instalation
Post by: metRo_ on November 12, 2008, 08:23:56 pm
I'm having some problems to use your library with Dev-C++.

My Dev-C++ version is 4.9.9.2

That is the steps that i made:

1- Download [/img]http://sourceforge.net/project/downloading.php?groupname=sfml&filename=SFML-1.3-dev-windows.zip&use_mirror=ovhhttp://

2-Tested an Hello World on Dev-C++ and it's ok.

3-Extract SFML-1.3-dev-windows and copy SFML-1.3 to C:\Programs\Dev-Cpp\include

4-Copy the *.a files in SFML-1.3\lib\mingw to the C:\Programs\Dev-Cpp\lib

5-Add:
[img]http://fe.up.pt/~ee06091/1.jpg[/img]

6-Use a example code and the errors:
[img]http://fe.up.pt/~ee06091/2.jpg[/img]

Any suggestions?
Title: Dev-C++ Instalation
Post by: coral on November 12, 2008, 09:32:23 pm
Have you added the lsfml-graphics, lsfml-system and so on in your linker settings?
Title: Dev-C++ Instalation
Post by: Hiura on November 12, 2008, 10:11:57 pm
You do a mistake on point 3. You need to copy the SFML directory from include (in the SDK) to C:\Programs\Dev-Cpp\include , not extract all the SDK archive.
Title: Dev-C++ Instalation
Post by: metRo_ on November 13, 2008, 11:41:52 am
I correct the step 3 to "3-Extract SFML-1.3-dev-windows and copy SFML to C:\Programs\Dev-Cpp\include "

And now i have "Done" when i compile :)

But when i click run i have an warning: "Source file not compiled"...

:S
Title: Dev-C++ Instalation
Post by: Hiura on November 13, 2008, 04:54:43 pm
I don't know very much devcpp, I'm using C::B because this one is up to date.

But, I think that your compiler write some data in the message box. It mights get an error.

*sorry for my bad English.*
Title: Dev-C++ Instalation
Post by: metRo_ on November 13, 2008, 05:26:43 pm
The Dev-c++ compile without any error but when i click run it's just give me the warning...
Another thing, i can't see the exe anywhere. I think that compile but doesn't create the exe.. Any sugertion?

C::b its similar to dev-c++?

My english isn't good too :p
Title: Dev-C++ Instalation
Post by: Hiura on November 13, 2008, 06:25:28 pm
Quote from: "metRo_"
C::b its similar to dev-c++?
C::B is better, because it is still in development, and get better every day (nightly-build) .

It is not build. The compiler must have write something somewhere. Is there anything in 'Compile log' ?