From kdevelop Fri Jun 28 18:46:49 2002 From: August =?iso-8859-1?q?H=F6randl?= Date: Fri, 28 Jun 2002 18:46:49 +0000 To: kdevelop Subject: Re: unresolved dependencies X-MARC-Message: https://marc.info/?l=kdevelop&m=102529009222952 On Friday 28 June 2002 14:37, you wrote: > Hi, > I have managed to add a static C library to my kdevelop project, but > when I want to call functions from that library I get unresolved > dependecies errors from the linker. (However using structs from that > lib works) I googled around, but couldn't find anything useful > besides some rumors that I need special compiler or linker options. > Can anyone tell me what I am doing wrong? you need 2 things 1) a header file to include 2) a library the get "simple" tools this information is separeted, so you have to do two things: tell the präprozessor where to find/search for the header file: -Ipath seems that yout got this one right ;-) tell the linker which library to link and where to find/search for the library: -Lpath -lname (hint the name is without lib and the extension) this information has to be entered into the project options hth Gustl -- August Hörandl august.hoerandl@gmx.at "How should I know if it works? That is what beta testers are for." -- Linus Torwald - to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body: unsubscribe »your-email-address«