[ITK-dev] Undefined IOFactoryRegister__Private methods?

Williams, Norman K norman-k-williams at uiowa.edu
Wed Jul 23 11:23:50 EDT 2014


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.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20140723/bcc2850a/attachment.html>


More information about the Insight-developers mailing list