<div dir="ltr">Sorry I didnt get it completely. I have to build normal ITK enabling this cmakelist somewhere, or I have to open CMake and try to build this CmakeLists in WindowsBuild and then build ITK??<div>Thanks </div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 11, 2013 at 11:16 AM, Williams, Norman K <span dir="ltr"><<a href="mailto:norman-k-williams@uiowa.edu" target="_blank">norman-k-williams@uiowa.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You might ought to look at<br>
ITK/Modules/ThirdParty/DCMTK/WindowsBuild/CMakeLists.txt<br>
<br>
I find working on Windows to be excruciating for exactly the reasons that<br>
cause your problems; there has to be PERFECT agreement between a VS<br>
project with the build flags of ALL libraries to which it links.<br>
It's a little annoying on Linux/OS X that you have to rebuild everything<br>
to go between Debug and Release, but there's no problem with linking<br>
Release libraries into a Debug application.<br>
<br>
--<br>
Kent Williams <a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
On 10/10/13 3:52 PM, "Jose Ignacio Prieto" <<a href="mailto:joseignacio.prieto@gmail.com">joseignacio.prieto@gmail.com</a>><br>
wrote:<br>
<div><div class="h5"><br>
>Hi All,<br>
>I know this is a DCMTK issue rather than ITK, but maybe some of you have<br>
>tried this (and experienced the frustration).<br>
>I was developing in linux using both libs but I had to move to windows<br>
>because of a third lib. I haven't been able to build correctly my project<br>
>now.<br>
>I am using DCMTK and ITK head.<br>
>1. First I generate DCMTK project with cmake. I set folder "A" for git<br>
>source, "B" for build code and "C" for install, in a tree like c:\A c:\B<br>
>c:\C. Then configure for build type Debug;Release, generate using MSVC 10<br>
>x64 native compiler.<br>
>2. Configure and generate using default conf.<br>
>3. In VS2010 I build entire solution in debug, then build "install", then<br>
>build entire solution in release, then build "install"<br>
>4. I configure ITK, setting on ITK_USE_DCMTK and ITK_USE_IODCMTK, then<br>
>USE_SYSTEM_DCMTK, reconfigure and point to previous folder c:\B<br>
>5. Generate<br>
>6. In VS2010 I build entire ITK solution in debug, then build "install",<br>
>then build entire ITK solution in release, then build "install"<br>
><br>
>7. I run cmake for my own project ( that already worked on linux). On<br>
>that CMakeLists I don't have any reference to DCMTK, but when I check the<br>
>includes in the .h files I can see the dcmtk code.<br>
><br>
><br>
>I had about 25 errors LKN2001 and LNK2019. I could read that it was<br>
>something on the order of the libraries link:<br>
><br>
><br>
>, I tried to add ofstd on top of the classes I use. Didn't work. I read<br>
>on some forum that there could be a difference setting off<br>
>DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS<br>
> df but it showed about 160 LNK2038 errors:<br>
>dcmjpeg.lib(djdecode.obj):-1: error: LNK2038: mismatch detected for<br>
>'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in<br>
>epxMainWindow.cxx.obj<br>
><br>
><br>
><br>
><br>
><a href="http://forum.dcmtk.org/viewtopic.php?t=1285" target="_blank">http://forum.dcmtk.org/viewtopic.php?t=1285</a><br>
><br>
><a href="http://www.itk.org/pipermail/insight-developers/2013-February/022462.html" target="_blank">http://www.itk.org/pipermail/insight-developers/2013-February/022462.html</a><br>
><br>
><a href="http://forum.dcmtk.org/viewtopic.php?f=4&t=35" target="_blank">http://forum.dcmtk.org/viewtopic.php?f=4&t=35</a><br>
><br>
><a href="http://forum.dcmtk.org/viewtopic.php?f=4&t=36" target="_blank">http://forum.dcmtk.org/viewtopic.php?f=4&t=36</a><br>
><br>
><br>
><br>
>I don't know what else to try,<br>
><br>
><br>
>Thanks<br>
><br>
><br>
><br>
>--<br>
>José Ignacio Prieto<br>
>celular(nuevo): 94348182<br>
><br>
<br>
<br>
<br>
</div></div>________________________________<br>
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.<br>
________________________________<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</div>