[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Re: unresolved dependencies
From: Dirk Broer <dbroer () matricsrfid ! com>
Date: 2002-06-28 18:36:03
[Download RAW message or body]
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@kdevelop.org with the following body: unsubscribe
> ;your-email-address+
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic