SFML community forums

Help => General => Topic started by: nullGrind on November 16, 2009, 05:33:30 pm

Title: SFML in Eclipse
Post by: nullGrind 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?
Title: SFML in Eclipse
Post by: Laurent 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++).
Title: SFML in Eclipse
Post by: Hiura 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.
Title: SFML in Eclipse
Post by: nullGrind 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?
Title: SFML in Eclipse
Post by: Avency 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.
Title: SFML in Eclipse
Post by: Hiura 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 !
Title: SFML in Eclipse
Post by: Nexus 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.