[ITK-dev] Undefined IOFactoryRegister__Private methods?
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed Jul 23 11:28:12 EDT 2014
How are you "finding" and "using" ITK in the CMake code? Are you using ITK via components?
Brad
On Jul 23, 2014, at 11:23 AM, Williams, Norman K <norman-k-williams at uiowa.edu> wrote:
> We have a bunch of big Cmake build systems that until very recently (I noticed it yesterday) were working fine. Now we get link errors like this:
>
> "itk::BMPImageIOFactoryRegister__Private()", referenced from:
> itk::(anonymous namespace)::ImageIOFactoryRegisterRegisterList in libmaxcurvatureLib.a(maxcurvature.cxx.o)
> "itk::GE4ImageIOFactoryRegister__Private()", referenced from:
> itk::(anonymous namespace)::ImageIOFactoryRegisterRegisterList in libmaxcurvatureLib.a(maxcurvature.cxx.o)
>
> When I go looking for these symbols, I see them where you’d expect them — libITKBMPIO-4.6.a etc.
>
> The problem seems to be that the IO libraries are being LEFT OUT of the ITK_LIBRARIES Cmake variable.
>
> We use a pretty recent version of ITK:
> commit 06d5bfec67805bfadb5dc344b08ab554381592c6
> Merge: b960bce c1bcfb7
> Author: Matt McCormick <matt.mccormick at kitware.com>
> Date: Tue Jul 15 16:05:22 2014 -0400
> o
> Merge topic 'FixThresholdMaxCCWarning'
>
> c1bcfb73 COMP: Fix implicit conversion warnings
>
>
>
> 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.
> _______________________________________________
> 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://kitware.com/products/protraining.php
>
> 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://public.kitware.com/mailman/listinfo/insight-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20140723/a2800e1e/attachment.html>
More information about the Insight-developers
mailing list