unresolved dependencies

Dirk Broer dbroer at matricsrfid.com
Fri Jun 28 19:36:03 BST 2002


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«



More information about the KDevelop mailing list