Skip to content

Cmake Error on Ubuntu 20.04 #3124

@bjornandersson

Description

@bjornandersson

Trying to install from source on Ubuntu 20.04 and getting this (partial log)...

Creating build directory...
Generating makefiles...
--  CMakeLists: Sonic Pi
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.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
-- TARGET_LINUX
-- System: Linux-5.13.0-52-generic
-- Compiler: GNU
-- Compiler Version: 9.4.0
-- Debug Flags: -g -D_DEBUG -DDEBUG
-- Release Flags: -O3 -DNDEBUG
--  Aubio Builder
-- ERLANG_INCLUDE_PATH: /home/bjorn/.asdf/installs/erlang/25.0.2/erts-13.0.2/include
-- USE_SYSTEM_LIBS: OFF
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- ImGui Interface: ON
--  CMakeLists: Sonic Pi
-- App Root: /home/bjorn/dev/sonic-pi/app
-- Configuring done
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::PrintSupport" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Widgets" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::OpenGL" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Xml" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Core" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Gui" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Widgets" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::OpenGL" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Concurrent" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:573 (_add_executable):
  Target "sonic-pi" links to target "Qt::Network" 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):
  gui/qt/CMakeLists.txt:203 (add_executable)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library):
  Target "QScintilla" links to target "Qt::PrintSupport" 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):
  gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library):
  Target "QScintilla" links to target "Qt::Widgets" 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):
  gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library):
  Target "QScintilla" links to target "Qt::OpenGL" 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):
  gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library)


CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:613 (_add_library):
  Target "QScintilla" links to target "Qt::Xml" 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):
  gui/qt/QScintilla_src-2.13.3/CMakeLists.txt:283 (add_library)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions