hammer_faq > RE: Hammer in 3D Slicer for mac only support x86?
Nov 29, 2011  10:11 PM | Yang Yu
RE: Hammer in 3D Slicer for mac only support x86?
Sorry, I wanner put this thread to Help forum, but I have no limit to do that.

I change some codes in CMakeList.txt to build shared library for HammerRegistration as following:

OPTION(BUILD_HAMMER_SHARED "Build the Hammer libraries shared." ON)

IF(BUILD_HAMMER_SHARED)
  SET(HAMMER_LIBRARY_TYPE SHARED)
ELSE(BUILD_HAMMER_SHARED)
  SET(HAMMER_LIBRARY_TYPE STATIC)
ENDIF(BUILD_HAMMER_SHARED)

ADD_LIBRARY(HammerRegistration ${HAMMER_LIBRARY_TYPE} HammerRegistrationTest.cxx)

Now I can obtain x86_64 HammerRegistration library on Mac.

Best,
Yang

Threaded View

TitleAuthorDate
Yang Yu Nov 29, 2011
RE: Hammer in 3D Slicer for mac only support x86?
Yang Yu Nov 29, 2011