View Full Version : OpenGL and SDL tell compiler to use them "LINUX"
01-04-2012, 11:59 AM
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 :) cheers
P.S. i have SDL and OpenGL installed Correctly as i can use my friends project he sent me
01-05-2012, 02:14 AM
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?
01-06-2012, 03:22 AM
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?
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.