[vtkusers] vtk40+CMake+MS VisualStudio 6.0+Missing DLLs after Compilation

William A. Hoffman billlist at nycap.rr.com
Thu Mar 21 09:13:27 EST 2002


By default VTK is built statically.  If you want dll's you have to 
turn on BUILD_SHARED_LIBS in CMakeSetup.

-Bill


At 09:16 AM 3/21/2002 +0100, b.dorn at berlin.de wrote:
>Hello, 
>I am upgrading to Vtk 4.0 on my Win NT System for compilation with Visual Studio 6.0 like that:
>1) Unpack vtk40Src.zip to x:\vtk
>2) Run CMake Setup with binary directory x:\vtk\vtkbin
>   and source directory x:\vtk
>3) Open vtk.dsw in x:\vtk\vtkbin
>4) Select for example the active configuration vtkCommon
>   win32 debug
>5) Open the project settings dialog: Instead of the expected
>   tab for the Link-options there is only a library tab.
>6) Visual Studio compiles all the cxx-source files without errors and only creates the lib but not the DLL.
>
>Can anyone tell me what I have to do in order to have the
>DLLs too? Is this a matter of compiler options to be specified in CMake? A typical sample configuration might be helpful.
>
>Sorry if this question is too stupid. 
>
>Thanks
>Burkhardt
>mailto:b.dornREMOVETHIS at berlin.de
>
>
>
>--
>berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
>http://www.berlin.de/home/MeineStadt/Anmeldung
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers 




More information about the vtkusers mailing list