[Insight-users] How to build ITK dll?

Brad King brad.king@kitware.com
Tue, 11 Mar 2003 09:57:50 -0500 (EST)


Hi Ron,

> 1. During the build process, I get the following error:

It looks like you are using ITK from CVS.  It is likely that this error
was on the dashboard at the time you checked out ITK:

  http://public.kitware.com/dashboard.php?name=itk

Unless this is green on your platform for a day, it is unsafe to get ITK
for that day.

> 2. When I issue the command "package require InsightToolkit" in wish83,
> I get the following error:
[snip]
> I looked for this DLL and noticed that the build generated only
> static-link libraries, and no DLLs. I remember that in the VTK build
> there was a CMake switch called BUILD_SHARED_LIBS that could be turned
> ON to generate DLLs.  What do I have to do to generate DLLs in ITK?

ITK does not support DLLs on windows right now, but support may be added
soon.  Currently shared libraries are only available for UNIX.  You'll
have to use the itktcl executable to access the tcl bindings on windows.

-Brad