FAQ Compiling on Eclipse in Linux

What you should know

How to do

In Eclipse, create a managed C++ project.

In project properties > C/C++ Build > Configuration Setting > Tool Settings > GCC C++ Compiler > Miscellaneos > Other flags, append `sdl-config --cflags`

http://luzi82.servehttp.com/~luzi82/res/etc/200506200812%20Screenshot-Properties%20for%20SDLTest%200.jpg

In project properties > C/C++ Build > Configuration Setting > Tool Settings > GCC C++ Linker > Miscellaneos > Linker flags, add `sdl-config --libs`

http://luzi82.servehttp.com/~luzi82/res/etc/200506200813%20Screenshot-Properties%20for%20SDLTest%201.jpg

Write your code and compile it.

FAQ_Compiling_on_Eclipse_in_Linux (last edited 2008-04-17 08:18:57 by localhost)