[Insight-users] Re : Build ITK with ITK_USE_SYSTEM_GDCM

Rick Frank rickf at fullspectrumsw.com
Sat Dec 3 23:43:08 EST 2011


As far as I can tell, ITK_USE_SYSTEM_GDCM is just plain broken.

I never got it to work. Hopefully it will work in 4.0

Rick Frank

> 
> Date: Fri, 2 Dec 2011 21:56:47 +0100
> From: Arthur Porat <arthur.porat at gmail.com>
> Subject: [Insight-users] Re : Build ITK with ITK_USE_SYSTEM_GDCM
>    option
> To: gdcm-developers at lists.sourceforge.net, insight-users at itk.org,
>    jmalsoaz at yahoo.fr
> Message-ID:
>    <CAK+Ltb6qCeD6+8QPCa7hZAomRM-Pj1ivGVkCQuUf=qK0TDMWmw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi James,
> 
> I'm currently trying to do the same thing as you. I tryed several
> possibilities and none of them work. :/ My goal is the same as you build
> GDCM with GDCM_USE_VTK and build ITK with ITK_USE_SYSTEM_GDCM
> 
> I have 3 differents errors
> 
> 1 - A CMake error regarding vtkMetaIO. I think I have solved this problem:
> modify the CMakeList in Utilities/MetaIO, disable the "if(VTK_SOURCE_DIR)"
> and let the CMake choose the itkMetaIO. I'm not sure if it is correct but
> it works
> 
> 2 - With the previous solution, I'm able to configure and generate the
> makefile. Unfortunately the build fails with a "Cannot find gdcmMSFF..."
> I found something on the GDCM mailing list to modify some files in GDCM
> source dir. Solution here:
> http://sourceforge.net/tracker/?func=detail&aid=3380038&group_id=137895&atid=739587
> 
> 3 - Unfortunately (again, ...), this leads me to other errors. The one you
> mention in your email with the "undefined reference to ..." gdcm stuff. I
> can't figure out how to solve this.
> 
> 
> Here are the possibilities I try :
> - Build ITK (3.20.1) with GDCM (2.0.18) and the GDCM_USE_VTK option.
> - Build last release git for ITK and GDCM
> - Build last git for ITK and GDCM. V4 for ITK and V1.2.0 for GDCM. For this
> one, The solution 2 fails and I stuck to the "Cannot find gdcmMSFF".
> 
> All of them lead me to one of the several errors listed above.
> 
> Really, I'm out of ideas on this despite the time I spent. I really hope
> someone will be able to help us.
> Best
> Arthur
> 
> 
>  ------------------------------
> *De :* Malsoaz James <jmalsoaz at yahoo.fr>
> *? :* "insight-users at itk.org" <insight-users at itk.org>; "
> gdcm-developers at lists.sourceforge.net" <
> gdcm-developers at lists.sourceforge.net>
> *Envoy? le :* Mercredi 30 Novembre 2011 23h15
> *Objet :* [Gdcm2] Build ITK with ITK_USE_SYSTEM_GDCM option
> 
> Hi all,
> 
> I'm trying to build ITK 3.20.1 with MinGW. Unfortunately I can't set the
> ITK_USE_GDCM_SYSTEM option to ON. I got an error during the CMake
> configuration regarding vtkMetaIO
> 
> 1- Do you know how I can solve the problem ? I guess it is because my
> GDCM(v2.0.18) is built with the GDCM_USE_VTK option. Should I use another
> GDCM with this option set to off ?
> 
> 2- Thus, I have tryed with a GDCM and GDCM_USE_VTK set to off (which is not
> my initial goal - I would prefer to solve question1). The CMake
> configuration and generation works but the build fails. The errors concerns
> gdcmMSFF.lib. I paste the errors here : http://pastebin.com/sfrLNHZ7. A lot
> of undefined reference with gdcm, ...
> Have you any idea ?
> 
> 
> Best
> James.
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Gdcm-developers mailing list
> Gdcm-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gdcm-developers
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.itk.org/pipermail/insight-users/attachments/20111202/ca8a92a6/attachment-0001.htm>
> 
> ------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> End of Insight-users Digest, Vol 92, Issue 3
> ********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111203/48c3a913/attachment.htm>


More information about the Insight-users mailing list