Error with Dcmtk_20161102 on Mac Os X Sierra

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
paolom
Posts: 169
Joined: Tue, 2008-09-16, 15:02

Error with Dcmtk_20161102 on Mac Os X Sierra

#1 Post by paolom »

Hi,
I'm trying to compile the snapshot 20161102 on Mac Os X Sierra 10.12.3. The compilation is ok, but when I try to use the compiled libs on my project I received this error:

Code: Select all

Undefined symbols for architecture x86_64:
  "FGFrameAnatomy::FGFrameAnatomy()", referenced from:
      FGFactory::create(DcmFGTypes::E_FGType) in libdcmfg.a(fgfact.o)
  "FGParametricMapFrameType::FGParametricMapFrameType()", referenced from:
      FGFactory::create(DcmFGTypes::E_FGType) in libdcmfg.a(fgfact.o)
  "FGIdentityPixelValueTransformation::FGIdentityPixelValueTransformation()", referenced from:
      FGFactory::create(DcmFGTypes::E_FGType) in libdcmfg.a(fgfact.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
These are the included libs:

Code: Select all

                -ldcmpstat \
                -ldcmjpeg \
                -lijg8 \
                -lijg12 \
                -lijg16 \
                -ldcmdsig \
                -ldcmqrdb \
                -ldcmtls \
                -ldcmsr \
                -ldcmimage \
                -ldcmimgle \
                -ldcmwlm \
                -ldcmfg \
                -ldcmiod \
                -ldcmnet \
                -ldcmdata \
                -loflog \
                -lofstd
Am I missing any dicom lib?

Any suggestions?

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Error with Dcmtk_20161102 on Mac Os X Sierra

#2 Post by Michael Onken »

Hi,

the library dcmpmap seems to be missing in the list.

Some of the symbols, though, seem to be from dcmfg what you already link.

Please try adding dcmpmap and let me know what the result is.

Thanks,
Michael

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest