Cancer Imaging Phenomics Toolkit (CaPTk) is a software platform to perform image analysis and predictive modeling tasks. Documentation: https://cbica.github.io/CaPTk
Describe the bug
We are trying to compile CaPTk 1.9.0 on Ubuntu 20.04.
We obtain these errors:
-- Extracting pre-compiled hausdorff
-- Extracting pre-compiled external applications
CMake Error: Problem with archive_read_open_file(): Unrecognized archive format
CMake Error: Problem extracting tar: /home/ubuntu/CaPTk/build-01-September-2022.07h18/binaries_linux.zip
...
CMake Error at cmake_modules/CaPTk_macros.cmake:19 (ADD_EXECUTABLE):
Target "DirectionalityEstimate" links to target "GTest::GTest" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:668 (CAPTK_ADD_EXECUTABLE)
...
CMake Generate step failed. Build files cannot be regenerated correctly.
CaPTk Version
We use git branch 1.9.0 because we got this error with the 1.9.0 archive:
fatal: not a git repository (or any of the parent directories): .git
CCMake Error: File ..../src/applications/Preprocessing/greedy/src/GreedyVersion.cxx.in does not exist.
CMake Error at src/applications/Preprocessing/CMakeLists.txt:33 (CONFIGURE_FILE):
CONFIGURE_FILE Problem configuring file
We also use CAPTK_PACKAGE_PROJECT=ON and modified the CMakeLists.txt to avoid this error:
-- Downloading all the sample data using following link: ftp://www.nitrc.org/home/groups/captk/downloads/SampleData/TestData.zip
CMake Error at testing/CMakeLists.txt:34 (MESSAGE):
Failed to download TestData. Status=9;"Access denied to remote resource"
Desktop (please complete the following information):
OS: Our machines OS are under Ubuntu 20.04 and GUIX
Describe the bug We are trying to compile CaPTk 1.9.0 on Ubuntu 20.04. We obtain these errors:
To Reproduce Steps to reproduce the behavior:
git clone --depth 1 --branch 1.9.0 https://github.com/CBICA/CaPTk
mkdir build; cd build
cmake ../CaPTk
CaPTk Version We use git branch 1.9.0 because we got this error with the 1.9.0 archive:
We also use
CAPTK_PACKAGE_PROJECT=ON
and modified the CMakeLists.txt to avoid this error:Desktop (please complete the following information):