Ad Widget

Collapse

Compiling agent2 nvidia plugin on Windows - undefined: nvml.NewNVMLRunner

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johannestoger
    Junior Member
    • Mar 2025
    • 3

    #1

    Compiling agent2 nvidia plugin on Windows - undefined: nvml.NewNVMLRunner

    Hi, I am trying to compile the agent2 nvidia plugin on Windows. Cloned latest version from the official repo https://git.zabbix.com/projects/AP/r...dia-gpu/browse and then I use "go build" with Go for Windows version 1.24.2 installed.


    I get an error "undefined: nvml.NewNVMLRunner".
    C:\Users\johannestoger\code\nvidia-gpu>git checkout 7.2.5
    Note: switching to '7.2.5'.​


    C:\Users\johannestoger\code\nvidia-gpu>go build
    go: downloading golang.zabbix.com/sdk v1.2.2-0.20250214072540-aae64eb9189f
    # golang.zabbix.com/plugin/nvidia/internal/plugin
    internal\plugin\plugin.go:161:22: undefined: nvml.NewNVMLRunner​


    Any ideas on how to get this working?
Working...