Page MenuHomePhabricator

Link directory not found on Mac while linking MITK modules
Closed, ResolvedPublic

Description

While creating the library for each MITK module on MAC OSX non existing directories are passed into the linker. The following warning is printed in the shell:

Linking CXX shared library ../../bin/libMitkToFUI.dylib
ld: warning: directory not found for option '-L/Release'
[ 84%] Built target MitkToFUI
Linking CXX shared library ../../bin/libMitkUS.dylib
ld: warning: directory not found for option '-L/Release'
[ 84%] Built target MitkUS
Linking CXX shared library ../../../bin/libMitkUSNavigation.dylib
ld: warning: directory not found for option '-L/Release'

Event Timeline

bug out of date, can't be reproduced.

new linker errors:

ld: warning: directory not found for option '-L../MITK-debug/ep/lib/vigra/lib'

User cordes has pushed new remote branch:

bug-18003-remove-ld-warning

[fee6bd]: Merge branch 'bug-18003-remove-ld-warning'

Merged commits:

2015-03-11 15:13:32 Jonas Cordes [17a817]
remove additional vigra runtime path environment variables


2015-03-11 15:12:08 Jonas Cordes [9abfc3]
remove additional vigra link directories, to avoid linking against non existing path