debugging tools; using source-compiled library

This commit is contained in:
Nicholas Young 2024-10-14 18:11:54 -07:00
parent 14c23be581
commit 65d224db1a
2 changed files with 6 additions and 1 deletions

View file

@ -47,7 +47,8 @@ pub fn build(b: *std.Build) void {
exe.addIncludePath(.{ .cwd_relative = b.fmt("{s}/lib/glib-2.0/include", .{glib_path.?}) });
exe.addIncludePath(.{ .cwd_relative = "/usr/include/hailo" });
exe.addLibraryPath(.{ .cwd_relative = "/usr/lib"});
// exe.addLibraryPath(.{ .cwd_relative = "/usr/lib"});
exe.addLibraryPath(.{ .cwd_relative = "/home/nixolas/Documents/hailort/build/hailort/libhailort/src"});
exe.linkSystemLibrary("hailort");

View file

@ -15,6 +15,10 @@
in
{
devShell = pkgs.mkShell {
packages = with pkgs; [
valgrind
bat
];
buildInputs = with pkgs; [
zig_exe
glib