[vtkusers] vtk42 using with Borland 5 builder
Mario Medved
mario.medved at fe.uni-lj.si
Mon Apr 11 05:35:29 EDT 2005
Hi,
Your demo program clearly tries to load the DLLs at the beginning of the
execution and something goes wrong. I would recompile the VTK again using
the "STATIC LIB" option which will create static Borland lib files and you
will not need any DLLs, since you will include the libs directly in your
project.
Bye,
Mario
-----Original Message-----
From: Wienand Drenth [mailto:w.drenth at chello.nl]
Sent: 9. april 2005 9:35
To: Mario Medved; vtkusers at vtk.org
Subject: Re: [vtkusers] vtk42 using with Borland 5 builder
Hi Mario,
As far as I know, I don't use any DLL's. But perhaps they are linked
unnoticed? The error I get is a pop-up window, even before the form
constructor is invoked. It says some like: cannot find ordinal 55?? in
VTKCOMMON.DLL. Perhaps this does ring a bell?
I have tried to put some breakpoints, but the program terminates even
before it enters some of my code. The sample project is just the
standard Borland think you get when starting a new project. In my case I
just made a form with a button, and when clicking that button that
example should execute. I tried Dean's suggestion, and placed that dll
in the .exe directory, but with no result. :(
Cheers,
Wienand
Mario Medved wrote:
>Hi,
>
>
>
>>Thanks for the reply. I did it the way you described and somehow I
>>managed to get the example code (with the Sphere) compiled!!
>>
>>
>That is a very good start:)))
>
>
>
>
>>quite happy about that. However, next I wanted to run the program but
>>that was less sucessfull. I recieved some vague dll error.
>>
>>
>To the best of my knowledge, you do not need any DLLs, because the LIBS are
>static, so all the code is contained in there. When you deliver the EXE,
you
>do not need to deliver VTK dlls.
>
>
>
>>Did I do something wrong with Cmake? For that I just used the default
>>settings, and when Cmake finished I just typed 'make' and things started
>>compiling. What could that dll error be related to?
>>
>>
>Can you give me more details about the error. You should pinpoint the line
>in your code which causes the error (use breakpoints)?
>
>
>
>>Thanks for your time!
>>
>>
>No problem!
>
>Bye,
>Mario
>
>
>
>
More information about the vtkusers
mailing list