[Insight-users] How to build STATIC in Windows
Luis Ibanez
luis.ibanez at kitware.com
Tue Jul 13 18:37:57 EDT 2004
Hi Ramzy,
You select to build static libraries when you
run CMake for configuring ITK.
Just run CMake and look for the variable
BUILD_SHARED_LIBS
then set it to ON.
Click on "Configure", then "OK", and then
load the .dsw file in VisualStudio.
IMPORTANT: Search your disk for ITK dlls and
get rid of them. You don't want to have mixes
of shared and static libs from different ITK
versions.
Regards,
Luis
-------------------
Ramzy Darwish wrote:
> OK, I understand what you are saying, and maybe this is a stupid
> question (I am used to UNIX software building so how and when to use
> DLL's is still a mystery to me), but how do I either build ITK without
> dll support or just have the system link to the libs and ignore the DLL.
>
> WHen I have been building ITK, I have just been building the "ALL_BUILD"
> project.
>
> Is there a config.h file or a makefile that I can manually edit to get
> rid of the DLLs?
>
> Thanks,
> ramzy
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
More information about the Insight-users
mailing list