[vtkusers] Re: VTK/ITK with VC8
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Tue Nov 29 12:47:20 EST 2005
Hi Arash,
Looks like "user32.lib" hasn't been set as an input to the linker.
Right click on the ITKCommon.lib project, click properties, goto the linker
properties, and add user32.lib as a linker input. Usually, VTK needs at
least: kernel32.lib, user32.lib and gdi32.lib... some projects also need
advapi32.lib et al.
hth
Goodwin
ps. if you search microsoft.com for the function name you usually hit the
msdn help page which (at the bottom of the page) tells you which libraries
contain which functions.
"Arash Jahangir" <arash at vije.ca> wrote in message
news:006401c5f4ee$71507820$6601a8c0 at AZAR...
> Hi Nic,
> I have gotten it to the point that the nightly code compiles if I limit
> myself to a minimal build (more problems on ITK than VTK) but in both
> cases the linker has issues. Typical error message is with unresolved
> external symbols:
>
> Error 6 error LNK2019: unresolved external symbol __imp__DestroyWindow at 4
> referenced in function "protected: virtual __thiscall
> itk::Win32OutputWindow::~Win32OutputWindow(void)"
> (??1Win32OutputWindow at itk@@MAE at XZ) ITKCommon.lib
>
>
> I'd appreciate any help with this.
>
> Arash
>
> ----- Original Message -----
> From: "Nicolaus Andratschke" <koegli at yahoo.com>
> To: <arash at vije.ca>
> Sent: Monday, November 28, 2005 3:04 PM
> Subject: VTK/ITK with VC8
>
>
>> Hi Arash,
>>
>> I'm facing similar problems.
>> Actually, the c++ part compiles quite well (VTK and
>> ITK). I'll try Python wrapping today with VTK. The
>> Python part with ITK fails completely. BTW, I haven't
>> succeded to build CableSwig etc. for any Windows
>> platform. That's why I switched to Ubuntu Linux.
>>
>> Unfortunately, there is a problem with ITK on Windows
>> platforms as I regularly get exceptions when handling
>> IO, e.g. with reading and writing dicom images. I'll
>> post a message to the list.
>>
>> I would appreciate any update on your problem.
>> Conversely, I let you know when I succeded.
>>
>> NIC
>>
>>
>>
>> __________________________________
>> Yahoo! Music Unlimited
>> Access over 1 million songs. Try it free.
>> http://music.yahoo.com/unlimited/
>>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list