Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Squirre17 opened this issue Nov 29, 2024 · 0 comments

Comments

@Squirre17
Copy link

Squirre17 commented Nov 29, 2024

-- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant