Page MenuHomePhabricator

[Dashboard] mitkProjectTemplatePackageTest, mitkPluginGeneratorPackageTest and PMD lib
Closed, ResolvedPublic

Description

mitkProjectTemplatePackageTest and mitkPluginGeneratorPackageTest fail on my nightly cause of my activated PMD library:

warning: target 'libpmdaccess2.so' is not absolute...
warning: target 'libpmdaccess2.so' does not exist...
ldd: ./libpmdaccess2.so: No such file or directory
...

Error copying file "libpmdaccess2.so" to "/media/hdd/thomasHdd/DartClients/MITK/MITK-Superbuild-Release-nightly/MITK-build/GP-bin/GP-build/_CPack_Packages/Linux/TGZ/MITK-2014.03.99-linux64/bin/libpmdaccess2.so".
CMake Error at /media/hdd/thomasHdd/DartClients/MITK/MITK/CMake/BundleUtilities.cmake:488 (file):

file RPATH_REMOVE given FILE
"/media/hdd/thomasHdd/DartClients/MITK/MITK-Superbuild-Release-nightly/MITK-build/GP-bin/GP-build/_CPack_Packages/Linux/TGZ/MITK-2014.03.99-linux64/bin/libpmdaccess2.so"
that does not exist.

There are also SOFA warnings and linker errors in the test output. Check this for details: http://cdash.mitk.org/testDetails.php?test=8056263&build=442103

I also tried building an installer with the same result.

Event Timeline

User kilgus has pushed new remote branch:

bug-17740-PathVariablesForInstaller

[386148]: Merge branch 'bug-17740-PathVariablesForInstaller'

Merged commits:

2014-05-28 14:37:37 Thomas Kilgus [8e2c1c]
Added correct PMD lib and OpenCV lib to search library path.

It turned out that the PMD/lib path was missing in mitkFunctionGetLibrarySearchPaths. Sascha and I also figured out that the OpenCV path OpenCV-build\lib is different between linux and windows (and fixed that also).