<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=us-ascii">
<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-compose;
font-family:"Arial","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@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 working to build ITK 4.8.1 on Cygwin, but receive the following error:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/InsightToolkit-4.8.1/Modules/ThirdParty/KWSys/src/KWSys/SystemTools.cxx: In function ‘void Realpath(const
string&, std::string&, std::string*)’:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">/cygdrive/c/Users/Andrew Buckler/My Documents/projects/InsightToolkit-4.8.1/Modules/ThirdParty/KWSys/src/KWSys/SystemTools.cxx:326:51: error: ‘realpath’
was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal" style="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"><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"">I had run cmake beforehand, using the following:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">$ cmake -DCMAKE_CXX_FLAGS=-std=c++11 -DCMAKE_PREFIX_PATH=../VTK-build -DModule_ITKReview:BOOL=ON -DModule_MinimalPathExtraction:BOOL=ON -DModule_ITKVtkGlue:BOOL=ON
../InsightToolkit-4.8.1<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"">Which ran successfully.<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"">As it happens, I did have what seems the same error building VTK. A request to that list elicited a most helpful message from Cory, pointing me to
<a href="http://hvrl.ics.keio.ac.jp/kimura/vtk/vtk-6.3.0.html">http://hvrl.ics.keio.ac.jp/kimura/vtk/vtk-6.3.0.html</a> which included a patch and instructions that cleared the problem. Before posting this message to the list, I did ask Cory whether he had
or knew of a similar fix for ITK, but he replied suggesting I post to this list (apparently indicating that he had more specific experience on this point for VTK than ITK).<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 would be most wlecome, with my thanks.<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"">Happy Halloween,<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";color:blue">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";color:blue">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>