You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/github/clip master
base ❯ cmake .
-- Config Options: text_backend=freetype
-- Config Options: text_enable_bidi=ON
CMake Error at CMakeLists.txt:112 (add_custom_target):
The target name "test" is reserved or not valid for certain CMake features,
such as generator expressions, and may result in undefined behavior.
CMake Error at CMakeLists.txt:117 (add_dependencies):
Cannot add target-level dependencies to non-existent target "test".
The add_dependencies works for top-level logical targets created by the
add_executable, add_library, or add_custom_target commands. If you want to
add file-level dependencies see the DEPENDS option of the add_custom_target
and add_custom_command commands.
~/github/clip master
base ❯ cmake .
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking forpthread_createin pthreads
-- Looking forpthread_createin pthreads - not found
-- Looking forpthread_createin pthread
-- Looking forpthread_createin pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cairo'
-- Found cairo, version 1.15.10
-- Found Cairo: /usr/include/cairo
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.8.1")
-- Checking for module 'harfbuzz>=0.9.0'
-- Found harfbuzz, version 1.7.2
-- Found HarfBuzz: /usr/include/harfbuzz
-- Checking for module 'fontconfig'
-- Found fontconfig, version 2.12.6
-- Found Fontconfig: /usr/lib/x86_64-linux-gnu/libfontconfig.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Config Options: text_backend=freetype
-- Config Options: text_enable_bidi=ON
CMake Error at CMakeLists.txt:112 (add_custom_target):
The target name "test" is reserved or not valid for certain CMake features,
such as generator expressions, and may result in undefined behavior.
CMake Error at CMakeLists.txt:117 (add_dependencies):
Cannot add target-level dependencies to non-existent target "test".
The add_dependencies works for top-level logical targets created by the
add_executable, add_library, or add_custom_target commands. If you want to
add file-level dependencies see the DEPENDS option of the add_custom_target
and add_custom_command commands.
-- Configuring incomplete, errors occurred!
See also "/home/mgreco/github/clip/CMakeFiles/CMakeOutput.log".
See also "/home/mgreco/github/clip/CMakeFiles/CMakeError.log".
Hi there,
I'm trying to install
clip
following the instructions from https://clip-lang.org/installation/, but I get an error runningcmake .
command.Here is the traceback:
Here my log files
`CMakeOutput.log`
`CMakeError.log`
Update
I noticed that there is an error running
/usr/bin/ld: cannot find -lpthreads
so I've installed some dependencies after reading the following question:https://stackoverflow.com/questions/31948521/building-error-using-cmake-cannot-find-lpthreads
sudo apt -y install libboost-tools-dev libboost-thread1.62-dev magics++ # then git clean -X
`CMakeOutput.log`
`CMakeError.log`
But this doesn't work. am I doing something wrong?
The text was updated successfully, but these errors were encountered: