<div dir="ltr">Strange. Have you tried opening and building the solution "ITKHDF5.sln" alone (located in "your_ITK_Build_folder\Modules\ThirdParty\HDF5")? If not, please try it and paste the contents of the output window (not just the error list).<div>




<div><br></div></div><div>PS: <span style="font-size:13px;color:rgb(0,0,0);font-family:arial,sans-serif">Please keep the discussion on the mailing list (by cc'ing the community or </span><span style="font-size:13px;font-family:arial,sans-serif">replying</span><span style="font-size:13px;color:rgb(0,0,0);font-family:arial,sans-serif"> to </span><span style="font-size:13px;font-family:arial,sans-serif">all</span><span style="font-size:13px;color:rgb(0,0,0);font-family:arial,sans-serif">)...:)</span></div>


<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 11:34 AM, tejas lunawat <span dir="ltr"><<a href="mailto:tejasl2603@gmail.com" target="_blank">tejasl2603@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">yes, the problem is with "itkhdf5" and all others which are dependent on it. As error are:</div>

<div class=""><div style="font-family:arial,helvetica,sans-serif;font-size:small">
<div><span style="font-family:arial,sans-serif;line-height:18.2000007629395px"><font color="#000000"><br></font></span></div><div style="font-size:13px;font-family:arial,sans-serif">
<div><font face="arial, sans-serif" color="#000000"><span style="line-height:18.2000007629395px">Error<span style="white-space:pre-wrap">       </span>1<span style="white-space:pre-wrap">       </span>error MSB6006: "cmd.exe" exited with code 216.</span></font></div>


<div><font face="arial, sans-serif" color="#000000"><div><span style="line-height:18.2000007629395px">Error<span style="white-space:pre-wrap">    </span>2<span style="white-space:pre-wrap">       </span>error LNK1104: cannot open file '..\..\..\..\lib\Debug\itkhdf5-4.6.lib'</span></div>


</font></div></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 3:53 PM, Girish Mallya Udupi <span dir="ltr"><<a href="mailto:indianzeppelin@gmail.com" target="_blank">indianzeppelin@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok. So, when you build "ITK.sln", do all the projects in it build fine with only "itkhdf5" failing?</div>


<div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 11:18 AM, tejas lunawat <span dir="ltr"><<a href="mailto:tejasl2603@gmail.com" target="_blank">tejasl2603@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">Yes, You are right.</div>


<div style="font-family:arial,helvetica,sans-serif;font-size:small">I am having a problem in building the ITK library itself.</div>
<div style="font-family:arial,helvetica,sans-serif;font-size:small">I followed all the steps described in this link </div><div style="font-family:arial,helvetica,sans-serif;font-size:small">



        <a href="http://www.itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio" target="_blank">http://www.itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio</a> </div><div style="font-family:arial,helvetica,sans-serif;font-size:small">





I have <span style="font-family:arial,sans-serif;font-size:13px">used CMake for configuring and generating the .sln files from the ITK source file.</span></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">





<span style="font-family:arial,sans-serif;font-size:13px">And then I am building the </span><span style="color:rgb(0,0,0);font-family:arial,sans-serif;line-height:18.200000762939453px">libraries by using itk.sln.</span></div>





<div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 2:46 PM, Girish Mallya Udupi <span dir="ltr"><<a href="mailto:indianzeppelin@gmail.com" target="_blank">indianzeppelin@gmail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">1) From your question, I understand that you are having a problem building the ITK library itself and not a project which uses the library. Is that correct? <div>





<br><div>2) If so, I assume you have used CMake for configuring and generating the .sln files from the ITK source files on your computer. Specifically, did you follow the steps described here - <a href="http://www.itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio" target="_blank">http://www.itk.org/Wiki/ITK/Configuring_and_Building/VisualStudio</a>?</div>







<div><br></div><div>3) Are you trying to build only "ITKHDF5.sln" (located at "your_ITK_build_folder\Modules\ThirdParty\HDF5)?</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>





<div>On Wed, Sep 3, 2014 at 7:36 AM, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Are you using a CMakeLists.txt file and cmake to create your project files? 
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> tejas lunawat [<a href="mailto:tejasl2603@gmail.com" target="_blank">tejasl2603@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, 3 September 2014 5:59 p.m.<br>
<b>To:</b> Gib Bogle<br>
<b>Cc:</b> <a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br>
<b>Subject:</b> Re: [ITK] Error while building ITK<br>
</font><br>
</div><div><div>
<div></div>
<div>
<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif;font-size:small">
​​</div>
<div style="font-family:arial,helvetica,sans-serif;font-size:small">
Even after <span style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px">changing the build selection in Visual Studio to Release, same error still persisits.</span></div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Sep 3, 2014 at 2:00 AM, Gib Bogle <span dir="ltr">
<<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">You are building a Debug program.  Check that you have Debug ITK libraries installed.  If not change the build selection in Visual Studio to Release.<br>








<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Community [<a href="mailto:community-bounces@itk.org" target="_blank">community-bounces@itk.org</a>] on behalf of tejas lunawat [<a href="mailto:tejasl2603@gmail.com" target="_blank">tejasl2603@gmail.com</a>]<br>








<b>Sent:</b> Wednesday, 3 September 2014 8:07 a.m.<br>
<b>To:</b> <a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br>
<b>Subject:</b> [ITK] Error while building ITK<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif;font-size:small">
<div><font color="#000000">Hey...</font></div>
<div><font color="#000000"><br>
</font></div>
<div><font color="#000000">I am an engineering student, working on a project, based on ITK <span style="font-family:arial,sans-serif;line-height:18.2000007629395px">libraries. I am new to ITK. I have encounter an error while building 'itkhdf5.sln' file. Details
 of the error are as follows:</span></font></div>
<div><span style="font-family:arial,sans-serif;line-height:18.2000007629395px"><font color="#000000"><br>
</font></span></div>
<div style="font-size:13px;font-family:arial,sans-serif">
<div><font color="#000000" face="arial, sans-serif"><span style="line-height:18.2000007629395px">Error<span style="white-space:pre-wrap">
</span>1<span style="white-space:pre-wrap"> </span>error MSB6006: "cmd.exe" exited with code 216.</span></font></div>
<div><font color="#000000" face="arial, sans-serif">
<div><span style="line-height:18.2000007629395px">Error<span style="white-space:pre-wrap">
</span>2<span style="white-space:pre-wrap"> </span>error LNK1104: cannot open file '..\..\..\..\lib\Debug\itkhdf5-4.6.lib'<span style="white-space:pre-wrap">
</span></span></div>
<div><span style="line-height:18.2000007629395px"><span style="white-space:pre-wrap"><br>
</span></span></div>
<div><span style="line-height:18.2000007629395px"><span style="white-space:pre-wrap">I have searched for the solution of this error, but I didn't found it. Is their any possible way to solve this error Thank you</span></span></div>








</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br></div></div>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<br>Girish</div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div dir="ltr">Regards,<br>Girish</div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<br>Girish</div>
</div></div>