Skip to content

Error while compiling: Cannot specify compile definitions for target "gattlib" which is not built by this project. #288

@Squirre17

Description

@Squirre17
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found components: doxygen dot
-- Checking for one of the modules 'bluez'
Build gattlib for Bluez v5.37
-- Checking for one of the modules 'glib-2.0'
CMake Error at bluez/CMakeLists.txt:103 (target_compile_definitions):
  Cannot specify compile definitions for target "gattlib" which is not built
  by this project.


CMake Error at bluez/CMakeLists.txt:105 (target_compile_definitions):
  Cannot specify compile definitions for target "gattlib" which is not built
  by this project.


-- Checking for one of the modules 'gattlib'
-- Checking for one of the modules 'libpcre'
Package Gattlib for development version 
-- Configuring incomplete, errors occurred!

same error both git clone and newest source package release.

cmake version 3.31.1

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