[ITK-dev] Undefined IOFactoryRegister__Private methods?

Williams, Norman K norman-k-williams at uiowa.edu
Wed Jul 23 14:39:18 EDT 2014


This is an issue with recent changes to SlicerExecutionModel, and JC is on the job ;-)

From: Bradley Lowekamp <blowekamp at mail.nih.gov<mailto:blowekamp at mail.nih.gov>>
Date: Wednesday, July 23, 2014 at 10:28 AM
To: Mushly McMushmaster <norman-k-williams at uiowa.edu<mailto:norman-k-williams at uiowa.edu>>
Cc: Insight <insight-users at itk.org<mailto:insight-users at itk.org>>, ITK <insight-developers at itk.org<mailto:insight-developers at itk.org>>
Subject: Re: [ITK-dev] Undefined IOFactoryRegister__Private methods?

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<mailto: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<mailto: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<http://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



________________________________
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/ef275acf/attachment.html>


More information about the Insight-developers mailing list