<div dir="ltr">Hi Andy,<div><br></div><div>I don't know if cygwin is officially supported anymore. VTK isn't being tested against cygwin on a regular basis.</div><div><br></div><div>Perhaps this page will help:</div><div><br></div><div><a href="http://hvrl.ics.keio.ac.jp/kimura/vtk/vtk-6.3.0.html" target="_blank">http://hvrl.ics.keio.ac.jp/kimura/vtk/vtk-6.3.0.html</a>.<br></div><div><br></div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 10:12 AM, Andrew J. Buckler (Elucid Bioimaging) <span dir="ltr"><<a href="mailto:andrew.buckler@elucidbio.com" target="_blank">andrew.buckler@elucidbio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hello,<u></u><u></u></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:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">$ make<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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*)’:<u></u><u></u></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<u></u><u></u></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);<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console""> ^<u></u><u></u></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&)’:<u></u><u></u></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<u></u><u></u></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)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console""> ^<u></u><u></u></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*)’:<u></u><u></u></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<u></u><u></u></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;<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console""> ^<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Any help?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><b><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Andy<u></u><u></u></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-------------------------------------<u></u><u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#336699">Elucid Bioimaging Inc.<u></u><u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Office: <a href="tel:%2B1-978-468-0508" value="+19784680508" target="_blank">+1-978-468-0508</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Mobile: <a href="tel:%2B1-978-473-1986" value="+19784731986" target="_blank">+1-978-473-1986</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Fax: <a href="tel:%2B1-978-468-0527" value="+19784680527" target="_blank">+1-978-468-0527</a><span style="color:black"><u></u><u></u></span></span></p>
<p class="MsoNormal"><a href="mailto:andrew.buckler@elucidbio.com" target="_blank"><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/" target="_blank"><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"><u></u><u></u></span></u></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#0233be"><u></u><span style="text-decoration:none"> </span><u></u></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""><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>