comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL make_dll and unresolved externals
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL make_dll and unresolved externals [message #69686] Wed, 03 February 2010 02:50 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Tue, 2 Feb 2010 18:13:34 -0800 (PST), james
<james5452003@yahoo.com> wrote:

> I think my problem currently is with make_dll, and not with
> call_external. After make_dll is called, I have an unresolved
> external error at compile time.
> I do set the header directories and .lib file locations parameters for
> the make_dll command, though. As for finding the opencv dll's, I'm
> not sure how to direct its location using the make_dll command. Is
> there somewhere I can set this on the IDL workbench?
>
> I am unfamiliar with dependency walker and idl_opserver. I will look
> into these. (I am relatively new to IDL)


Ah, sorry. Or to quote Kenneth: RTFQ :-).

So make_dll can't make the dll and gives a very helpful "unresolved
external error" message.

The next obvious question: can you compile and build the C-code
without make_dll (i.e. C compiler and linker)? Btw, this is C code and
not C++ right?

As for the location of the dll. This is only needed when calling your
dll, not when building it. You don't need it at all if you statically
link to opencv.

Dependency walker checks export functions (and decoration) as well as
external dependencies. This helps you in finding out what's wrong when
call_external throughs an error. Since you can't even build the dll,
this will not help you at this stage :-).

idl_opserver is running when you start IDL. If you have a debugger
than you could attach that debugger to idl_opserver, set a breakpoint
in your C code and call "call_external" in IDL. It will break and you
can trace through your C-code to find out what's wrong. Here again:
this only helps in debugging the dll when you call its functions.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Simple question about the '>' sign.
Next Topic: Extract / interpolate in 3d atmospheric field

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:40:36 PDT 2025

Total time taken to generate the page: 1.60074 seconds