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

Author Topic: Dev-C++ Instalation  (Read 16696 times)

0 Members and 1 Guest are viewing this topic.

metRo_

  • Newbie
  • *
  • Posts: 3
    • View Profile
Dev-C++ Instalation
« 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?

coral

  • Newbie
  • *
  • Posts: 37
    • View Profile
Dev-C++ Instalation
« Reply #1 on: November 12, 2008, 09:32:23 pm »
Have you added the lsfml-graphics, lsfml-system and so on in your linker settings?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Dev-C++ Instalation
« Reply #2 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.
SFML / OS X developer

metRo_

  • Newbie
  • *
  • Posts: 3
    • View Profile
Dev-C++ Instalation
« Reply #3 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

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Dev-C++ Instalation
« Reply #4 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.*
SFML / OS X developer

metRo_

  • Newbie
  • *
  • Posts: 3
    • View Profile
Dev-C++ Instalation
« Reply #5 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

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Dev-C++ Instalation
« Reply #6 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' ?
SFML / OS X developer