Darwin Mac-Studio-2022-01.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64
cmake configuration output:
% cmake .. -DAPPLE_SUPPORT=ON
-- 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 "")
-- Performing Test compiler_has-Wall
-- Performing Test compiler_has-Wall - Success
-- Performing Test compiler_has-Wextra
-- Performing Test compiler_has-Wextra - Success
-- Performing Test compiler_has-Waddress
-- Performing Test compiler_has-Waddress - Success
-- Performing Test compiler_has-Waggressive-loop-optimizations
-- Performing Test compiler_has-Waggressive-loop-optimizations - Failed
-- Performing Test compiler_has-Wbad-function-cast
-- Performing Test compiler_has-Wbad-function-cast - Success
-- Performing Test compiler_has-Wmissing-declarations
-- Performing Test compiler_has-Wmissing-declarations - Success
-- Performing Test compiler_has-Wmissing-parameter-type
-- Performing Test compiler_has-Wmissing-parameter-type - Failed
-- Performing Test compiler_has-Wmissing-prototypes
-- Performing Test compiler_has-Wmissing-prototypes - Success
-- Performing Test compiler_has-Wnested-externs
-- Performing Test compiler_has-Wnested-externs - Success
-- Performing Test compiler_has-Wold-style-declaration
-- Performing Test compiler_has-Wold-style-declaration - Failed
-- Performing Test compiler_has-Wold-style-definition
-- Performing Test compiler_has-Wold-style-definition - Success
-- Performing Test compiler_has-Wstrict-prototypes
-- Performing Test compiler_has-Wstrict-prototypes - Success
-- Performing Test compiler_has-Wpointer-sign
-- Performing Test compiler_has-Wpointer-sign - Success
-- Performing Test compiler_has-Wdouble-promotion
-- Performing Test compiler_has-Wdouble-promotion - Success
-- Performing Test compiler_has-Wuninitialized
-- Performing Test compiler_has-Wuninitialized - Success
-- Performing Test compiler_has-Winit-self
-- Performing Test compiler_has-Winit-self - Success
-- Performing Test compiler_has-Wstrict-aliasing
-- Performing Test compiler_has-Wstrict-aliasing - Success
-- Performing Test compiler_has-Wsuggest-attribute-const
-- Performing Test compiler_has-Wsuggest-attribute-const - Failed
-- Performing Test compiler_has-Wtrampolines
-- Performing Test compiler_has-Wtrampolines - Failed
-- Performing Test compiler_has-Wfloat-equal
-- Performing Test compiler_has-Wfloat-equal - Success
-- Performing Test compiler_has-Wshadow
-- Performing Test compiler_has-Wshadow - Success
-- Performing Test compiler_has-Wunsafe-loop-optimizations
-- Performing Test compiler_has-Wunsafe-loop-optimizations - Failed
-- Performing Test compiler_has-Wfloat-conversion
-- Performing Test compiler_has-Wfloat-conversion - Success
-- Performing Test compiler_has-Wlogical-op
-- Performing Test compiler_has-Wlogical-op - Failed
-- Performing Test compiler_has-Wnormalized
-- Performing Test compiler_has-Wnormalized - Failed
-- Performing Test compiler_has-Wdisabled-optimization
-- Performing Test compiler_has-Wdisabled-optimization - Success
-- Performing Test compiler_has-Whsa
-- Performing Test compiler_has-Whsa - Failed
-- Performing Test compiler_has-Wunused-result
-- Performing Test compiler_has-Wunused-result - Success
-- Performing Test compiler_has-Werror-implicit-function-declaration
-- Performing Test compiler_has-Werror-implicit-function-declaration - Success
-- Performing Test compiler_has-Wformat
-- Performing Test compiler_has-Wformat - Success
-- Performing Test compiler_has-Wformat-security
-- Performing Test compiler_has-Wformat-security - Success
-- Performing Test linker_has-Wl_-z_relro
-- Performing Test linker_has-Wl_-z_relro - Failed
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Configuring done (4.4s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/******/test/nvtop/build
make output:
% make
[ 6%] Building C object src/CMakeFiles/nvtop.dir/nvtop.c.o
[ 13%] Building C object src/CMakeFiles/nvtop.dir/interface.c.o
[ 20%] Building C object src/CMakeFiles/nvtop.dir/interface_layout_selection.c.o
[ 26%] Building C object src/CMakeFiles/nvtop.dir/interface_options.c.o
[ 33%] Building C object src/CMakeFiles/nvtop.dir/interface_setup_win.c.o
[ 40%] Building C object src/CMakeFiles/nvtop.dir/interface_ring_buffer.c.o
[ 46%] Building C object src/CMakeFiles/nvtop.dir/extract_gpuinfo.c.o
[ 53%] Building C object src/CMakeFiles/nvtop.dir/time.c.o
[ 60%] Building C object src/CMakeFiles/nvtop.dir/plot.c.o
[ 66%] Building C object src/CMakeFiles/nvtop.dir/ini.c.o
[ 73%] Building C object src/CMakeFiles/nvtop.dir/get_process_info_mac.c.o
[ 80%] Building C object src/CMakeFiles/nvtop.dir/extract_processinfo_mac.c.o
[ 86%] Building C object src/CMakeFiles/nvtop.dir/info_messages_mac.c.o
[ 93%] Building C object src/CMakeFiles/nvtop.dir/extract_gpuinfo_apple.m.o
[100%] Linking C executable nvtop
ld: Undefined symbols:
_processinfo_enable_disable_callback_for, referenced from:
_interface_check_and_fix_monitored_gpus in interface_options.c.o
_interface_check_and_fix_monitored_gpus in interface_options.c.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/nvtop] Error 1
make[1]: *** [src/CMakeFiles/nvtop.dir/all] Error 2
make: *** [all] Error 2