debugging tools; using source-compiled library
This commit is contained in:
parent
14c23be581
commit
65d224db1a
2 changed files with 6 additions and 1 deletions
|
@ -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 = b.fmt("{s}/lib/glib-2.0/include", .{glib_path.?}) });
|
||||||
|
|
||||||
exe.addIncludePath(.{ .cwd_relative = "/usr/include/hailo" });
|
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");
|
exe.linkSystemLibrary("hailort");
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
valgrind
|
||||||
|
bat
|
||||||
|
];
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
zig_exe
|
zig_exe
|
||||||
glib
|
glib
|
||||||
|
|
Loading…
Reference in a new issue