<div dir="ltr"><div>Andy,</div><div><br></div><div>Glad to hear you got it to work.</div><div><br></div><div>You may want to ask the ITK mailing list [1] for help building ITK.<br></div><div><br></div><div>- Cory</div><div><br></div><div>[1] <a href="http://www.itk.org/ITK/help/mailing.html">http://www.itk.org/ITK/help/mailing.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 11:24 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";color:#1f497d">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">I was able to build VTK, which is great, but now have the same problem with ITK. I did look at the VTK patch, to see if it could be applied to ITK as well, but
it is more complex than I am conformable with. I did also do a web search, but do not find anything obvious. Cory or others, is there another patch or approach for ITK?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Thank you,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Andy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Andrew J. Buckler (Elucid Bioimaging)
<br>
<b>Sent:</b> Friday, October 30, 2015 6:30 PM<br>
<b>To:</b> 'Cory Quammen'<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> RE: [vtkusers] SystemTools.cxx:326:51: error: ‘realpath’ was not declared in this scope<u></u><u></u></span></p>
</div>
</div><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">That did it, thank you!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Cory Quammen [<a href="mailto:cory.quammen@kitware.com" target="_blank">mailto:cory.quammen@kitware.com</a>]
<br><span class="">
<b>Sent:</b> Friday, October 30, 2015 12:10 PM<br>
<b>To:</b> Andrew J. Buckler (Elucid Bioimaging)<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
</span><b>Subject:</b> Re: [vtkusers] SystemTools.cxx:326:51: error: ‘realpath’ was not declared in this scope<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Andy,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I don't know if cygwin is officially supported anymore. VTK isn't being tested against cygwin on a regular basis.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Perhaps this page will help:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><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>.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Cory<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Oct 30, 2015 at 10:12 AM, Andrew J. Buckler (Elucid Bioimaging) <<a href="mailto:andrew.buckler@elucidbio.com" target="_blank">andrew.buckler@elucidbio.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hello,</span><u></u><u></u></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:</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none">
<span style="font-size:9.0pt;font-family:"Lucida Console"">$ make</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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</span></span><u></u><u></u></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*)’:</span><u></u><u></u></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</span><u></u><u></u></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);</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none">
<span style="font-size:9.0pt;font-family:"Lucida Console""> ^</span><u></u><u></u></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&)’:</span><u></u><u></u></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</span><u></u><u></u></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)</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none">
<span style="font-size:9.0pt;font-family:"Lucida Console""> ^</span><u></u><u></u></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*)’:</span><u></u><u></u></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</span><u></u><u></u></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;</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none">
<span style="font-size:9.0pt;font-family:"Lucida Console""> ^</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Any help?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Best regards,</span><u></u><u></u></p>
<p class="MsoNormal"><b><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Andy</span></i></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-------------------------------------</span><u></u><u></u></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</span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#336699">Elucid Bioimaging Inc.</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">225 Main Street, Suite 15 | Wenham, MA 01984 USA</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Office:
<a href="tel:%2B1-978-468-0508" target="_blank">+1-978-468-0508</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Mobile:
<a href="tel:%2B1-978-473-1986" target="_blank">+1-978-473-1986</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Fax:
<a href="tel:%2B1-978-468-0527" target="_blank">+1-978-468-0527</a></span><u></u><u></u></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></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#0233be"> </span><u></u><u></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><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" 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" 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" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</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>