unresolved dependencies

Boris Duerner Marc.Duerner at student.shu.ac.uk
Fri Jun 28 20:21:46 BST 2002


Thanks, I haven tried it but I think thats it. After a long search in the 
internet I have found some faqs which suggests the same thing.

http://www.inf.uni-konstanz.de/~kuehl/cpp/cppfaq.htm/mixing-c-and-cpp.html#[29.4]


regards,
Marc


On Friday 28 June 2002 19:36, you wrote:
> C++ does name mangling on the function names.
>
> try this in the header to your static library:
>
> extern "C" {
> //function declarations here
> }
>
> You can also try that around the #include directive
>
> Dirk
>
> On Friday 28 June 2002 08:37 am, 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?
> >
> >
> > Marc
> >
> > -
> > to unsubscribe from this list send an email to
> > kdevelop-request at kdevelop.org with the following body: unsubscribe
> > ;your-email-address+
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«

-
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