How to include a library

Willy Gardiol gardiol at libero.it
Thu May 17 22:06:04 BST 2001


i started looking at the SDL library (thanks Zdenek) and it seems very easy...
but i have a problem, i use KDevelop, i have a bit of confusion about 
libraries under linux:
libSDL.a should be the static version of the library, the one i need to link 
to my project, i think, i am right? if so, how could i link it? i tryed to 
add "libSDL.a" in the linker options tab in the project options dialog but i 
always get a message like:
gmake[2]: *** No rule to make target `libSDL.a', needed by `cavpro'.  Stop.
why?
this was a simple task in dos or iwndows enviroments i am a bit confused by 
all those configuration files in the project dir...

libSDL.so should be the dinamic version of the library, if so how could i use 
it? Under microsoft enviroments i hat do LoadLibrary and GetProcAddress but 
under linux?

sorry for the stupid and basic questions...

-- 
Willy Gardiol
gardiol at libero.it
www.poli.studenti.to.it/
digilander.iol.it/Shimitar
Orgoglioso di NON essere Cattolico


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list