[Ctk-developers] CTK Update to latest DCMTK

Dominique Belhachemi domibel at debian.org
Tue Aug 2 18:19:04 UTC 2011


On Mon, Aug 1, 2011 at 2:41 PM, Jean-Christophe Fillion-Robin
<jchris.fillionr at kitware.com> wrote:
>

> You could for example do:
>
> #-----------------------------------------------------------------------------
>
> # To fix compilation problem: relocation R_X86_64_32 against `a local
> symbol' can not be
>
> # used when making a shared object; recompile with -fPIC
> # See http://www.cmake.org/pipermail/cmake/2007-May/014350.html
>
> #
> IF( CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
>
>   SET_TARGET_PROPERTIES(log4qt PROPERTIES COMPILE_FLAGS "-fPIC")
>
> ENDIF( CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
>
>
>
Hi,
this won't help on other platforms than x86_64 . I opened a bug and
will think about a solution

   http://www.na-mic.org/Bug/view.php?id=1294

Thanks
Dominique



More information about the Ctk-developers mailing list