[ITK] [ITK-users] [ITK-dev] Undefined IOFactoryRegister__Private methods?

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


The Œusual way¹

I¹m trying to track down where this goes wrong; I wondered if anyone else
had run into this problem. It¹s with a package that might need some TLC
with its Cmake build system. http://www.nitrc.org/projects/dtiprocess/

find_package(ITK REQUIRED)
include(${ITK_USE_FILE})


From:  Bradley Lowekamp <blowekamp at mail.nih.gov>
Date:  Wednesday, July 23, 2014 at 10:28 AM
To:  Mushly McMushmaster <norman-k-williams at uiowa.edu>
Cc:  Insight <insight-users at itk.org>, ITK <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> 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 <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.
________________________________
_____________________________________
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.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-users



More information about the Community mailing list