[Insight-users] ITK_USE_SYSTEM_GDCM ITK V4
Quang Tran
quangt.security at gmail.com
Tue Dec 13 21:18:16 EST 2011
Hello,
to build ITK with ITK_USE_SYSTEM_GDCM option (with assume that you have
already had the code of gdcm library) you should:
- build gdcm library (using CMAKE with notice that the build directory
is out side the code directory)
- check the option ITK_USE_SYSTEM_GDCM and set the GDCM_DIR to the gdcm
build directory above
- set the variables environment of visual studio in such a way that it
can find the gdcm libraries (ex: Tools -> Options -> Projects and
Solotions -> VC++ Directories -> Library files)
- Run CMake to generate ITK project and build it
(In Linux environment you should set LD_LIBRARY_PATH point to the gdcm
libraries directory)
There is an another way by using CMAKE RPATH handling but I can't success
with this. You can make a reference to
http://www.vtk.org/Wiki/CMake_RPATH_handling . If you success by this way,
please notice to everyone.
/QuangT
2011/12/13 Rick Frank <rickf at fullspectrumsw.com>
> Hi****
>
> ** **
>
> I noticed someone posting that they tried ITK_USE_SYSTEM_GDCM ITK v4.****
>
> ** **
>
> > I'm trying to use ITK v4. I have been able to install it successfully
> (note****
>
> > that the option ITK_USE_SYSTEM_GDCM doesn't work, it produce a link
> error to****
>
> > gdcmMSFF).****
>
> ** **
>
> ** **
>
> I would really like to be able use this feature. I’m currently building
> with ITK 3.20 but looking to use 4.0 in final project.****
>
> ** **
>
> Is there any chance that this will be fixed in v4? If not, can anyone
> explain/assist with the problem so that I could fix it myself? I wasn’t
> able to figure out how to fix it.****
>
> ** **
>
> Thanks****
>
> ** **
>
> ** **
>
> ** **
>
> > I'm trying to use ITK v4. I have been able to install it successfully
> (note****
>
> > that the option ITK_USE_SYSTEM_GDCM doesn't work, it produce a link
> error to****
>
> > gdcmMSFF).****
>
> ** **
>
> ** **
>
> Full Spectrum Software****
>
> 225 Turnpike Rd.****
>
> Southborough, MA 01772****
>
> O. 508-620-6400****
>
> F. 508-620-6465****
>
> *An ISO 13485 Certified Company*
>
> rickf at fullspectrumsoftware.com****
>
> ** **
>
> www.FullSpectrumSoftware.com****
>
> ** **
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111213/1ef958f0/attachment.htm>
More information about the Insight-users
mailing list