-
Notifications
You must be signed in to change notification settings - Fork 67
Error compiling CaPTk 1.9.0 on Ubuntu 20.04 #1503
Copy link
Copy link
Open
Description
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.
To Reproduce
Steps to reproduce the behavior:
git clone --depth 1 --branch 1.9.0 https://github.com/CBICA/CaPTkmkdir build; cd buildcmake ../CaPTk
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels