Admin Uniapp
2017-06-01 21:17:59 UTC
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
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