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

Author Topic: SFML in Eclipse  (Read 6997 times)

0 Members and 1 Guest are viewing this topic.

nullGrind

  • Newbie
  • *
  • Posts: 23
    • View Profile
SFML in Eclipse
« on: November 16, 2009, 05:33:30 pm »
Hello everybody.

There is a nice tutorial for including SFML into Code-Blocks.
But i would prefer to use Eclipse but dont know how to implent SFML. Does anybody know about a tutorial explaining Eclipse implentation or does he or she can explain it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML in Eclipse
« Reply #1 on: November 16, 2009, 05:47:23 pm »
I'm sorry I don't know how to do it in Eclipse.

But if you don't know how to configure a project to use a library, then you're probably a beginner and if so it's still time to change to a more decent IDE, like Code::Blocks or Visual C++ 2008 Express ;)
(I'm not saying that Eclipse is a bad EDI, but it's clearly not the best one for C++).
Laurent Gomila - SFML developer

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML in Eclipse
« Reply #2 on: November 16, 2009, 05:47:38 pm »
It's harder with eclipse than with other IDE. But if you really want to...

Look at the configuration about c++ in preferences. You should find some menu like on other IDE.

Maybe you can googlize on the topic but with another lib than SFML and adjust the information for SFML.
SFML / OS X developer

nullGrind

  • Newbie
  • *
  • Posts: 23
    • View Profile
SFML in Eclipse
« Reply #3 on: November 16, 2009, 06:08:09 pm »
Ok i will try to google for implenting librarys in general into ecplipse.
But why do you think is Eclipse a hard to use IDE?

Avency

  • Full Member
  • ***
  • Posts: 113
    • View Profile
SFML in Eclipse
« Reply #4 on: November 16, 2009, 06:52:07 pm »
Look under

Project->Properties->C/C++-Build->Settings->GCC C++ Linker->Libraries

I think Eclipse is one of the best IDEs around (and I definitely prefer it over Code::Blocks), so don't give up on it yet.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
SFML in Eclipse
« Reply #5 on: November 16, 2009, 07:20:15 pm »
"It's harder with eclipse than with other IDE." I tried to use Eclipse some times ago and succeed but there are too many panel to configure compared to other IDE.

Another downside for Eclipse is its weight ( it's build with Java :-° ) .

This IDE is build primary for Java productivity and is not very useful for C++ development compared to other to other IDE.

If you are interested in some IDE look at :
- codelite ( I tried this one very fast, it seemed to me to be better than CodeBlocks )
- Xcode ( mac os only, but What an IDE ! )
- vim ( hum hum  :P – This is not an IDE but it is so powerful ! )
- Qt Creator ( I've never tried this one but I've heard good things about )

PS : I'm using Eclipse everyday to develop Java application ( why do I have to learn THIS language at school ?!? ) on very light machines ( virtual machine to be exact ) : it's hell on earth !
SFML / OS X developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML in Eclipse
« Reply #6 on: November 16, 2009, 10:53:39 pm »
Quote from: "Hiura"
"It's harder with eclipse than with other IDE." I tried to use Eclipse some times ago and succeed but there are too many panel to configure compared to other IDE.

Another downside for Eclipse is its weight ( it's build with Java :-° ) .

This IDE is build primary for Java productivity and is not very useful for C++ development compared to other to other IDE.
You are absolutely right. For Java development, Eclipse is quite nice, but I wouldn't recommend it for C++. By the way, I don't like that Eclipse is rather heavy-weight and slow, either. In contrast to often heard statements, performance problems of Java seem to be a topic to this day. Anyway, choose the right tool for the right task; I use Java from time to time, as well.

Quote from: "Hiura"
If you are interested in some IDE look at : [...]
Don't forget Visual C++! In my opinion, it's the best IDE under Windows.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything