<div dir="ltr">I am not using the GDCM_BUILD_EXAMPLES flag. The exact error message is<br><br>gdcm-2.0.7\Utilities\gdcmzlib/zlib.h(34) : fatal error C1083: Cannot open include file: 'zconf.h': No such file or directory<br>
<br>which appears while compiling gdcmdump.<br><br>I find that I can compile by renaming zconf.in.h into zconf.h and removing the cmake directive in it, but I am not sure if this hack makes an error-safe binary.<br><br>Pascal<br>
<br><div class="gmail_quote">On Tue, Aug 12, 2008 at 10:30 AM, Mathieu Malaterre <span dir="ltr"><<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think GDCM_BUILD_APPLICATIONS is ok, but GDCM_BUILD_EXAMPLES is not.<br>
Try to deactivating this one, or send the actual error message.<br>
<br>
Thanks,<br>
-Mathieu<br>
<div><div></div><div class="Wj3C7c"><br>
On Tue, Aug 12, 2008 at 9:53 AM, Pascal Cathier<br>
<<a href="mailto:pascal.cathier@gmail.com">pascal.cathier@gmail.com</a>> wrote:<br>
> I am using Visual Studio 8, CMake 2.6. I am setting the<br>
> GDCM_BUILD_APPLICATIONS and GDCM_BUILD_SHARED_LIBS under CMake. Building in<br>
> release mode crashes because "zconf.h" is not found. Under<br>
> Utilities\gdcmzlib I indeed see a zconf.in.h file which apparently needs to<br>
> be processed by CMake but hasn't. I did not find a zlib related flag under<br>
> CMake.<br>
><br>
> Thanks for your help,<br>
><br>
> Pascal<br>
><br>
</div></div>> _______________________________________________<br>
> Dcmlib mailing list<br>
> <a href="mailto:Dcmlib@creatis.insa-lyon.fr">Dcmlib@creatis.insa-lyon.fr</a><br>
> <a href="http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib" target="_blank">http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib</a><br>
><br>
<br>
<br>
<br>
--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br></div>