help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linker won't find dll


From: Paul Pluzhnikov
Subject: Re: Linker won't find dll
Date: Tue, 26 Aug 2008 21:06:59 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

jjones7947@comcast.net writes:

> The undefined references are:
> inxight::delete_summarizer(inxight::summarizer_interface*)
> inxight::make_summarizer(char const*, char const*, char const*)
...
> The exports from summarizer37 and platform 37 (I'm using the .lib
> versions) are:
> INXIGHT_SUMMARIZER_EXPORT summarizer_interface* make_summarizer
>         (const char* resource_dir,
>          const char* license_file,
>          const char* key);
> INXIGHT_SUMMARIZER_EXPORT void
> delete_summarizer(summarizer_interface*);

My money is still on incompatible name mangling.

Above names are *demangled*. If this DLL was compiled with a
different compiler the *mangled* names will not match what
g++-compiled code expects.

What does 

  dumpbin /EXPORTS summarizer37.dll | 
    egrep '(make|delete)_summarizer'

say?

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]