<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hans,
<div class=""><br class="">
</div>
<div class="">This looks like an issue with tr1 includes [1]. This is very tricky business with VS, gcc, clang and libstdc++ and libc++. And it looks like VCL is now requiring shared_ptr support? It that intentional?</div>
<div class=""><br class="">
</div>
<div class="">In my tests for SimpleITK, I have it noted [2], that Visual Studio 2008, 2010, 2012 don’t need the tr1 in the include path for tr1 headers. The checks in VXL seem to require this sub-folder arrangement. So check like the following should be done:</div>
<div class=""><br class="">
</div>
<div class=""><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; background-color: rgb(255, 255, 255);" class="">CHECK_TYPE_EXISTS_ZERO(std::tr1::shared_ptr<void> memory VCL_MEMORY_HAS_TR1_SHARED_PTR)</span></div>
<div class=""><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; white-space: pre; background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="white-space: pre;" class="">Note the tr1 namespace but not the tr1 include path.</span></font></span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="white-space: pre;" class=""><br class="">
</span></font></span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="white-space: pre;" class="">I’m working on testing this now.</span></font></span></div>
<div class=""><br class="">
</div>
<div class="">[1] <a href="https://github.com/vxl/vxl/blob/abb93b9cea365318028cf18c9b84020c3c6a1d67/vcl/vcl_compiler.h#L942-L955" class="">https://github.com/vxl/vxl/blob/abb93b9cea365318028cf18c9b84020c3c6a1d67/vcl/vcl_compiler.h#L942-L955</a></div>
<div class="">[2] <a href="https://github.com/SimpleITK/SimpleITK/blob/fc6bbeaf91dd74ebb294db57ccef8f9bb9e5e6b0/CMake/sitkCheckCXX11.cmake#L59-L61" class="">https://github.com/SimpleITK/SimpleITK/blob/fc6bbeaf91dd74ebb294db57ccef8f9bb9e5e6b0/CMake/sitkCheckCXX11.cmake#L59-L61</a></div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On May 17, 2016, at 11:07 AM, Johnson, Hans J <<a href="mailto:hans-johnson@uiowa.edu" class="">hans-johnson@uiowa.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">Thanks Brad.  Do you know if this version can be installed along side of VS 2015 without conflicts?<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">Hans<o:p class=""></o:p></span></div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<span style="font-size: 10.5pt; font-family: Calibri;" class="">-- <o:p class=""></o:p></span></div>
</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""><o:p class=""> </o:p></span></div>
<div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;" class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<b class=""><span style="font-family: Calibri;" class="">From:<span class="Apple-converted-space"> </span></span></b><span style="font-family: Calibri;" class="">Bradley Lowekamp <<a href="mailto:blowekamp@mail.nih.gov" class="">blowekamp@mail.nih.gov</a>><br class="">
<b class="">Date:<span class="Apple-converted-space"> </span></b>Tuesday, May 17, 2016 at 9:34 AM<br class="">
<b class="">To:<span class="Apple-converted-space"> </span></b>Hans Johnson <<a href="mailto:hans-johnson@uiowa.edu" class="">hans-johnson@uiowa.edu</a>><br class="">
<b class="">Cc:<span class="Apple-converted-space"> </span></b>"<a href="mailto:insight-developers@itk.org" class="">insight-developers@itk.org</a>" <<a href="mailto:insight-developers@itk.org" class="">insight-developers@itk.org</a>><br class="">
<b class="">Subject:<span class="Apple-converted-space"> </span></b>Re: ITK4.10rc1 SimpleITK VNL error<o:p class=""></o:p></span></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
Hans,<span class="Apple-converted-space"> </span><o:p class=""></o:p></div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
I’ll take a look into it. Thanks for the offer for a hang out, well go there if needed.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
I haven’t tries this my self, but there is the Free, VS for Python 2.7, that is suppose to be based on VS9 2008[1]. I don’t know how this works with general CMake project, but maybe it will help improve your access.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
Brad<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
[1] <a href="https://www.visualstudio.com/en-us/features/python-vs.aspx" style="color: purple; text-decoration: underline;" class="">https://www.visualstudio.com/en-us/features/python-vs.aspx</a><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
<div class="">
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
On May 17, 2016, at 10:29 AM, Johnson, Hans J <<a href="mailto:hans-johnson@uiowa.edu" style="color: purple; text-decoration: underline;" class="">hans-johnson@uiowa.edu</a>> wrote:<o:p class=""></o:p></div>
</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">This is not fixed in VXL upstream.</span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">There are currently no windows builds on VXL dashboard:<span class="apple-converted-space"> </span><a href="https://open.cdash.org/index.php?project=vxl" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">https://open.cdash.org/index.php?project=vxl</span></a></span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">I don’t see any VS9 builds for ITK either.</span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">I’d be happy to help identify a solution, but I don’t have the VS resources.  If you would like to have a hang out, I’d be interested in assisting with the fix.</span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class="">Hans</span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 10.5pt; font-family: Calibri;" class="">-- </span><o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<span style="font-size: 11pt; font-family: Calibri;" class=""> </span><o:p class=""></o:p></div>
</div>
<div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;" class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
<b class=""><span style="font-family: Calibri;" class="">From:<span class="apple-converted-space"> </span></span></b><span style="font-family: Calibri;" class="">Bradley Lowekamp <<a href="mailto:blowekamp@mail.nih.gov" style="color: purple; text-decoration: underline;" class="">blowekamp@mail.nih.gov</a>><br class="">
<b class="">Date:<span class="apple-converted-space"> </span></b>Tuesday, May 17, 2016 at 9:14 AM<br class="">
<b class="">To:<span class="apple-converted-space"> </span></b>"<a href="mailto:insight-developers@itk.org" style="color: purple; text-decoration: underline;" class="">insight-developers@itk.org</a>" <<a href="mailto:insight-developers@itk.org" style="color: purple; text-decoration: underline;" class="">insight-developers@itk.org</a>><br class="">
<b class="">Cc:<span class="apple-converted-space"> </span></b>Hans Johnson <<a href="mailto:hans-johnson@uiowa.edu" style="color: purple; text-decoration: underline;" class="">hans-johnson@uiowa.edu</a>><br class="">
<b class="">Subject:<span class="apple-converted-space"> </span></b>ITK4.10rc1 SimpleITK VNL error</span><o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
Hello,<span class="apple-converted-space"> </span><o:p class=""></o:p></div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
On the SimpleITK dashboard with SimpleITK compiled with ITK 4.10rc1 I am getting the following compilation error with VS9 2008[1]:<o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div style="border: 1pt inset rgb(204, 204, 204); padding: 0in;" class="">
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; overflow-x: scroll; max-height: 350px; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>3>------ Build started: Project: itkv3p_netlib, Configuration: MinSizeRel x64 ------</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>4>------ Build started: Project: itksys, Configuration: MinSizeRel x64 ------</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>2>Compiling...</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>4>Compiling...</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>1>Compiling...</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>2>triangle.c</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>1>vcl_deprecated.cxx</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>4>FStream.cxx</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>3>Compiling...</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><span style="font-size: 10.5pt;" class="">3>3>v3p_netlib_init.c</span><o:p class=""></o:p></pre>
<pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; background-color: white; overflow-x: scroll; max-height: 350px; background-position: initial initial; background-repeat: initial initial;" class=""><b class="">3>1>c:\d\vs9\simpleitk-build\itk\modules\thirdparty\vnl\src\vxl\vcl\vcl_compiler.h(940) : fatal error C1189: #error :  "Missing definition for SHARED_PTR"</b><o:p class=""></o:p></pre>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
Is this addressed in VNL upstream yet? or should I begin looking into it?<o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
Thanks,<o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
Brad<o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
 <o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; background-color: white;" class="">
[1] <a href="https://open.cdash.org/viewBuildError.php?buildid=4368953" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">https://open.cdash.org/viewBuildError.php?buildid=4368953</span></a><o:p class=""></o:p></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>