Hi Sascha,

I have just managed to solve it by disabling the gcc hidden visibility flag
for the XnatRest library.

The CMakeLists.txt looks like this now:

# These should be automatically included but it is not.
include(${CMAKE_SOURCE_DIR}/CMake/PackageDepends/MITK_curl_Config.cmake)

MITK_CREATE_MODULE(XnatRest
  PACKAGE_DEPENDS curl
)

if(CMAKE_COMPILER_IS_GNUCXX)
  set_target_properties(XnatRest PROPERTIES COMPILE_FLAGS
"-fvisibility=default")
endif()

# add testing dir
add_subdirectory(Testing)


Thanks,
Miklos
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to