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

Compilation error from macOS on Apple ARM #285

Open
Faizanq opened this issue Mar 19, 2024 · 1 comment
Open

Compilation error from macOS on Apple ARM #285

Faizanq opened this issue Mar 19, 2024 · 1 comment

Comments

@Faizanq
Copy link

Faizanq commented Mar 19, 2024

  • Computer: 2020 M1 MacBook Pro
  • OS: macOS: Sonoma 14.3.1
  • cmake version: 3.28.3
  • uname -a

Darwin Faizans-MacBook-Pro.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:27 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8103 x86_64

  • cmake configuration output:

-- The C compiler identification is AppleClang 15.0.0.15000100
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Looking for cbreak in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libncurses.tbd
-- Looking for cbreak in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libncurses.tbd - found
-- Found Curses: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libcurses.tbd
-- Performing Test HAS_REALLOCARRAY
-- Performing Test HAS_REALLOCARRAY - Failed
-- Could NOT find UDev (missing: UDEV_LIBRARY UDEV_INCLUDE_DIR) (found version "")
-- Could NOT find Systemd (missing: SYSTEMD_LIBRARY SYSTEMD_INCLUDE_DIR) (found version "")
CMake Error at src/CMakeLists.txt:71 (message):
Neither libsystemd nor libudev were found; These are required for AMDGPU
and INTEL support

@servusdei2018
Copy link

libsystemd and libudev are required if you are building nvtop with the -DAMDGPU_SUPPORT=ON and -DINTEL_SUPPORT=ON flags. These libraries are not present on macOS, and neither are AMD or Intel GPUs so you should not be building nvtop with those flags enabled.

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

2 participants