lmb-freiburg / Unet-Segmentation

The U-Net Segmentation plugin for Fiji (ImageJ)
https://lmb.informatik.uni-freiburg.de/resources/opensource/unet
GNU General Public License v3.0
87 stars 25 forks source link

CMake Error at CMakeLists.txt:42 (get_filename_component): get_filename_component called with incorrect number of arguments #69

Closed Betaglutamate closed 4 years ago

Betaglutamate commented 4 years ago

Hi when I run the command:

cmake -DCMAKE_INSTALL_PREFIX=/home/betaglutamate/Fiji.app/plugins -DFIJI_BIN=/home/betaglutamate/Fiji.app/ImageJ-linux64 ..

I receive the following error. Error log attached but not sure what to make of it. Any ideas on how to fix this issue?

cmake version 3.17.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

CMake Error at CMakeLists.txt:42 (get_filename_component):
  get_filename_component called with incorrect number of arguments

CMake Error at CMakeLists.txt:43 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.

CMake Error at /usr/local/share/cmake-3.17/Modules/UseJava.cmake:904 (message):
  find_jar: No name to search for given
Call Stack (most recent call first):
  CMakeLists.txt:44 (find_jar)

-- Configuring incomplete, errors occurred!
See also "/home/betaglutamate/Documents/GitHub/Unet-Segmentation/build/CMakeFiles/CMakeOutput.log".

the cMakeOut file just says

The system is: Linux - 5.3.0-59-generic - x86_64