Hi there,
Im just upgrading NifTK to the latest and greatest MITK, to be ready for the
14.09 release. BUT we have some command line apps, and the final executable has
a link time dependency on libMitkPersistence in the main executable folder,
when in reality the library is in the MitkCore folder, possibly implying it
should be auto-loaded like a micro service.
Has anyone else seen this?
How should this mechanism work?
I suspect it should be in the MitkCore, and our code has incorrectly made a
link time dependency that then fails to resolve.
i.e. at “make package” time, I get:
override result: @executable_path/plugins
warning: target '@executable_path/../MacOS/libMitkPersistence.dylib' is not
absolute...
warning: target '@executable_path/../MacOS/libMitkPersistence.dylib' does not
exist...
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:
can't open file: @executable_path/../MacOS/libMitkPersistence.dylib (No such
file or directory)
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:
can't open file: @executable_path/../MacOS/libMitkPersistence.dylib (No such
file or directory)
warning: target '@executable_path/../MacOS/libMitkPersistence.dylib' is not
absolute...
w
and if i look at the finished product I get:
Matts-MacBook-Pro:MacOS mattclarkson$ pwd
/Applications/niftk-14.09.0/NiftyView.app/Contents/MacOS
Matts-MacBook-Pro:MacOS mattclarkson$ otool -L niftkCameraCalibration | grep
Persistence
@executable_path/../MacOS/libMitkPersistence.dylib (compatibility version
0.0.0, current version 0.0.0)
Matts-MacBook-Pro:MacOS mattclarkson$ find . -name "libMitkPersistence.dylib"
./MitkCore/libMitkPersistence.dylib
Matt
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users