installation issue
Hi, I'm trying to install Racon, but could not get past this error. Thanks in advance and sorry if its too basic.
-- The C compiler identification is GNU 6.5.0 -- The CXX compiler identification is GNU 6.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at vendor/bioparser/CMakeLists.txt:15 (add_library): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "EXCLUDE_FROM_ALL" is not allowed.
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Renaming
-- /media/jjs/Data/ngs/racon-v1.4.0/vendor/bioparser/vendor/zlib/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_kill
-- Looking for pthread_kill - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
Setting warning flags
CMake Error at vendor/logger/CMakeLists.txt:14 (add_library):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "EXCLUDE_FROM_ALL" is not allowed.
-- Configuring incomplete, errors occurred! See also "/media/jjs/Data/ngs/racon-v1.4.0/build/CMakeFiles/CMakeOutput.log". See also "/media/jjs/Data/ngs/racon-v1.4.0/build/CMakeFiles/CMakeError.log".
Hello,
which cmake version do you have? I guess removing EXCLUDE_FROM_ALL from https://github.com/isovic/racon/blob/master/CMakeLists.txt#L46 and https://github.com/isovic/racon/blob/master/CMakeLists.txt#L58 should resolve this issue.
Best regards, Robert
Hello Robert,
Thank you for the help. I could install and run the 'racon_test'. My cmake version is 3.14.0-rc1.
regards JJS