Hi,

Sorry, I’m not experienced in Mac at all and we’re currently very short on 
developers working with Mac. However, to me it sounds like the same issue we 
had with ITK and Boost, which is why we have patches like [1]. This could help 
in your case as well?

Best,
Stefan

[1] 
https://github.com/MITK/MITK/blob/master/CMakeExternals/ChangeBoostLibsInstallNameForMac.cmake.in


From: Admin Uniapp [mailto:contactuni...@gmail.com]
Sent: Donnerstag, 1. Juni 2017 23:18
To: MITK
Subject: [mitk-users] VMTK and make package

Hi all,

I used vmtk in one of my developed plugins and managed to build it on OSX fine 
after a few hiccups but now when I try to do "make package" it builds the 
project but comes back with:

warning: target '@rpath/libvtkvmtkCommon.dylib' is not absolute...
warning: target '@rpath/libvtkvmtkCommon.dylib' does not exist...
CMake Error at 
/Applications/CMake.app/Contents/share/cmake-3.4/Modules/GetPrerequisites.cmake:800
 (message):
  /usr/bin/otool failed: 1

  /Library/Developer/CommandLineTools/usr/bin/objdump:
  '@rpath/libvtkvmtkCommon.dylib': No such file or directory

Call Stack (most recent call first):
  
/Applications/CMake.app/Contents/share/cmake-3.4/Modules/GetPrerequisites.cmake:925
 (get_prerequisites)
  
/Applications/CMake.app/Contents/share/cmake-3.4/Modules/GetPrerequisites.cmake:925
 (get_prerequisites)
  
/Applications/CMake.app/Contents/share/cmake-3.4/Modules/BundleUtilities.cmake:555
 (get_prerequisites)
  
/Applications/CMake.app/Contents/share/cmake-3.4/Modules/BundleUtilities.cmake:804
 (get_bundle_keys)
  /Users/dxr/Install/CEMRG/cemrgapp-build/Apps/CemrgApp/cmake_install.cmake:625 
(fixup_bundle)
  /Users/dxr/Install/CEMRG/cemrgapp-build/Apps/cmake_install.cmake:32 (include)
  /Users/dxr/Install/CEMRG/cemrgapp-build/cmake_install.cmake:72 (include)

I use the MITK 2016.3 version. I found another question on the mailing list 
suggesting to add LD_LIBRARY_PATH and point it to where vmtk libraries are. 
This didn't help either. Can anyone help me with these please?

As always much appreciated
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to