Hi Matt,
well I am not the author of the Micro Service infrastructure, but yes: There
should be no link time dependency for the persistence lib. It should be AUTO
loaded. However, we had some trouble getting it working, this is why the
statement in Modules/IGTUI/CMakeLists.txt survived somehow. Without having
tested it, I'd say that this dependency can be removed.
Best
Michael
Von: Clarkson, Matt [mailto:[email protected]]
Gesendet: Freitag, 26. September 2014 09:09
An: MITK
Betreff: Re: [mitk-users] libMitkPersistence
Hi All,
With this in mind, should Modules/IGTUI/CMakeLists.txt explicitly name a
dependency on libMitkPersistence if indeed it should be auto-loaded?
Thanks
Matt
On 26 Sep 2014, at 07:46, Clarkson, Matt
<[email protected]<mailto:[email protected]>> wrote:
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