<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I am building VTK on Windows with Cygwin.  I am trying to make the use of cmake and the build process as similar to Mac as possible; I already have it working there.  The cmake
 configuration works fine, but the build fails:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">$ make<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#FF40FF">Scanning dependencies of target VTKData<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%] Built target VTKData<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console";color:#FF40FF">Scanning dependencies of target vtksys<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building C object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/ProcessUNIX.c.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building C object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Base64.c.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building C object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/EncodingC.c.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building C object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/MD5.c.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building C object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/System.c.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Directory.cxx.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/DynamicLoader.cxx.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/EncodingCXX.cxx.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Glob.cxx.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/RegularExpression.cxx.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">[  0%]
<span style="color:#00BF00">Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemTools.cxx.o<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/VTK-6.3.0/Utilities/KWSys/vtksys/SystemTools.cxx: In function ‘void Realpath(const
 string&, std::string&, std::string*)’:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/VTK-6.3.0/Utilities/KWSys/vtksys/SystemTools.cxx:326:51: error: ‘realpath’ was
 not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">   char *ret = realpath(path.c_str(), resolved_name);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">                                                   ^<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/VTK-6.3.0/Utilities/KWSys/vtksys/SystemTools.cxx: In function ‘int vtksys::kwsysUnPutEnv(const
 string&)’:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/VTK-6.3.0/Utilities/KWSys/vtksys/SystemTools.cxx:518:16: error: ‘putenv’ was
 not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">   if(putenv(buf) < 0 && errno != EINVAL)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">                ^<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/VTK-6.3.0/Utilities/KWSys/vtksys/SystemTools.cxx: In member function ‘bool vtksys::kwsysEnv::Put(const
 char*)’:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/VTK-6.3.0/Utilities/KWSys/vtksys/SystemTools.cxx:658:25: error: ‘putenv’ was
 not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">     return putenv(newEnv) == 0;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">                         ^<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/build.make:302: recipe for target 'Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemTools.cxx.o'
 failed<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">make[2]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemTools.cxx.o] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">CMakeFiles/Makefile2:193: recipe for target 'Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all' failed<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">make[1]: *** [Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">Makefile:127: recipe for target 'all' failed<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">make: *** [all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Any help?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Andy<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#336699">Andrew J. Buckler</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">, President and CEO<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#336699">Elucid Bioimaging Inc.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">225 Main Street, Suite 15 | Wenham, MA  01984  USA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Office: +1-978-468-0508<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Mobile: +1-978-473-1986<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Fax: +1-978-468-0527<span style="color:black"><o:p></o:p></span></span></p>
<p class="MsoNormal"><a href="mailto:andrew.buckler@elucidbio.com"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">andrew.buckler@elucidbio.com</span></a><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> |
</span><a href="http://www.elucidbio.com/"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">www.elucidbio.com</span></a><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#0233BE"><o:p></o:p></span></u></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#0233BE"><o:p><span style="text-decoration:none"> </span></o:p></span></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">This e-mail is from Elucid Bioimaging Inc., a product development and contract research company, and may contain information that is confidential or privileged. If you are not
 the intended recipient, do not read, copy or distribute the e-mail or any attachments. Instead, please notify the sender and delete the e-mail and any attachments. Thank you.</span><span style="font-size:10.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>