[vtkusers] Building VTK on WIN7 using all static libs

Xiaofeng Z xf10036 at hotmail.com
Tue Oct 25 23:16:47 EDT 2011


Building VTK on WIN7 using all static libsEven you link vtk statically, you probably still want to link to dynamic vc++ runtime.

From: Kischell, Eric R. 
Sent: Monday, October 24, 2011 12:03 PM
To: vtkusers at vtk.org 
Subject: [vtkusers] Building VTK on WIN7 using all static libs

Hello VTK Lurkers, 

When building VTK 5.8 as a static library under WIN7 using C-Make 2.8.6… 
I un-check BUILD_SHARED_LIBS under the C-Make GUI. 
The generated VC++ 2005 solution contains projects with 
C / C++ | Code Generation set to  
/MD instead of the correct /MT (Multi-threaded (/MT)). 
I must then manually change all of the /MD's to /MT's under the C-Make GUI's advanced settings. 

It would be more convenient to have C-Make automatically set to /MT and /MTd 
if BUILD_SHARED_LIBS  is un-checked. 

thx 

keesh

Work Life Plan:
To improve the quality of life for all mankind through better pattern recognition techniques.





--------------------------------------------------------------------------------
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111025/58bb08e1/attachment.htm>


More information about the vtkusers mailing list