Page MenuHomePhabricator

patmjen (Patrick M Jensen)
User

Projects

User does not belong to any projects.

User Details

User Since
Thu, Sep 23, 1:45 PM (4 w, 1 d)

Recent Activity

Thu, Oct 14

patmjen added a comment to T28738: MITK does not build on Mac OS 11.6.

Thank you for such a quick answer. I have now got MITK to build with clang.

Thu, Oct 14, 5:06 PM · MITK
patmjen created T28738: MITK does not build on Mac OS 11.6.
Thu, Oct 14, 1:34 PM · MITK

Tue, Sep 28

patmjen added a comment to T28706: Cannot build module DataTypesExt becasue lz4 is not linked by CMake.

Seems like you were right. I was doing a Debug build, yes. Changing the lib name to lz4 instead of lz4d fixed the issue on my end too.

Tue, Sep 28, 1:58 PM · MITK (v2021.10)

Fri, Sep 24

patmjen added a comment to T28706: Cannot build module DataTypesExt becasue lz4 is not linked by CMake.

I tried adding lib64 as you suggested, but it sadly did not fix the issue. The error looks to be the same: liblz4.so is not added during linking.
Here's the output from what you suggested in your first comment:

CMake Error at CMake/PackageDepends/MITK_lz4_Config.cmake:3 (message):
  include dirs: /work1/patmjen/MITK/MITK-superbuild-test/ep/include
  libraries:
  optimized;/work1/patmjen/MITK/MITK-superbuild-test/ep/lib64/liblz4.so
Call Stack (most recent call first):
  CMake/mitkFunctionUseModules.cmake:52 (include)
  CMake/mitkFunctionUseModules.cmake:133 (_include_package_config)
  CMake/mitkFunctionCreateModule.cmake:605 (mitk_use_modules)
  Modules/DataTypesExt/CMakeLists.txt:1 (mitk_create_module)

Just in case, I am at commit 895486021524908ada2cd5c5978120d66678ec45 (HEAD -> develop, origin/develop, origin/HEAD).
Here's a full git diff:

diff --git a/CMake/Findlz4.cmake b/CMake/Findlz4.cmake
index a79f05ade4..e9c68dccc4 100644
--- a/CMake/Findlz4.cmake
+++ b/CMake/Findlz4.cmake
@@ -8,14 +8,14 @@ mark_as_advanced(lz4_INCLUDE_DIR)
Fri, Sep 24, 3:14 PM · MITK (v2021.10)

Thu, Sep 23

patmjen created T28706: Cannot build module DataTypesExt becasue lz4 is not linked by CMake.
Thu, Sep 23, 3:45 PM · MITK (v2021.10)