OpenGL and SDL tell compiler to use them "LINUX"

Hey guys, im trying to find out how i can tell Eclipse in Linux (Fedora 15) to find the SDL and OpenGL compilers so i can create a new file and use them, if i just include the header files it finds them but ofcourse it doesnt compile at all,

Any help would be awesome :slight_smile: cheers

P.S. i have SDL and OpenGL installed Correctly as i can use my friends project he sent me

i have SDL and OpenGL installed Correctly as i can use my friends project he sent me

So you can compile a project based on OpenGL and SDL? Or can you just run an executable using libSDL and libGL?

Naa, my friend gave me his project which has like a make.am file or something and so other stuff, which he got from the net, and that works and compiles fine, but if i make a new project and copy the code from main over to my new project main, it cant compile as the hasnt linked openGL or SDL to it, i can include them with SDL.h but it still doesnt use the openGL and SDL compiler, how do i link them into my compiler, or how do i make a makefile.am?

Cheers