zigplotlib icon indicating copy to clipboard operation
zigplotlib copied to clipboard

error when importing module

Open Sivecano opened this issue 1 year ago • 0 comments

I have followed the install guide using zig 0.12.0

    const zigplotlib = b.dependency("zigplotlib", .{
        .target = target,
        .optimize = optimize,
    });

    const exe = b.addExecutable(.{
        .name = "endstates",
        .root_source_file = b.path("endstates.zig"),
        .target = target,
        .optimize = optimize,
    });
    
    exe.root_module.addImport("plotlib", zigplotlib.module("zigplotlib"));

on zig build I get a panic: unable to find module 'zigplotlib'

Sivecano avatar May 08 '24 21:05 Sivecano