<HTML><HEAD><TITLE>Building VTK on WIN7 using all static libs</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=Generator content="MS Exchange Server version 6.5.7655.7"></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Even you link vtk statically, you probably still want to link to dynamic
vc++ runtime.</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=Kischell.Eric@mayo.edu
href="mailto:Kischell.Eric@mayo.edu">Kischell, Eric R.</A> </DIV>
<DIV><B>Sent:</B> Monday, October 24, 2011 12:03 PM</DIV>
<DIV><B>To:</B> <A title=vtkusers@vtk.org
href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
<DIV><B>Subject:</B> [vtkusers] Building VTK on WIN7 using all static
libs</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<P><B><FONT color=#008000 face="Century Schoolbook">Hello VTK
Lurkers,</FONT></B> </P>
<P><B><FONT color=#008000 face="Century Schoolbook">When building VTK 5.8 as a
static library under WIN7 using C-Make 2.8.6…</FONT></B> <BR><B><FONT
color=#008000 face="Century Schoolbook">I un-check BUILD_SHARED_LIBS under the
C-Make GUI.</FONT></B> <BR><B><FONT color=#008000 face="Century Schoolbook">The
generated VC++ 2005 solution contains projects with </FONT></B><BR><B><FONT
color=#008000 face="Century Schoolbook">C / C++ | Code Generation set to
</FONT></B><BR><B><FONT color=#008000 face="Century Schoolbook">/MD instead of
the correct /MT (Multi-threaded (/MT)).</FONT></B> <BR><B><FONT color=#008000
face="Century Schoolbook">I must then manually change all of the /MD's to /MT's
under the C-Make GUI's advanced settings.</FONT></B> </P>
<P><B><FONT color=#008000 face="Century Schoolbook">It would be more convenient
to have C-Make automatically set to /MT and /MTd</FONT></B> <BR><B><FONT
color=#008000 face="Century Schoolbook">if BUILD_SHARED_LIBS is
un-checked.</FONT></B> </P>
<P><B><FONT color=#008000 face="Century Schoolbook">thx</FONT></B> </P>
<P align=center><B><FONT color=#0000ff size=2 face=Verdana>keesh</FONT></B></P>
<P align=center><FONT size=2 face=Verdana>Work Life Plan:<BR>To improve the
quality of life for all mankind through better pattern recognition
techniques.</FONT></P><BR>
<P>
<HR>
_______________________________________________<BR>Powered by
www.kitware.com<BR><BR>Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html<BR><BR>Please keep messages
on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR><BR>Follow
this link to
subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></DIV></DIV></DIV></BODY></HTML>