fixed lib import errors
This commit is contained in:
parent
e4cd8bd855
commit
6bfd3c9c3f
2 changed files with 11 additions and 8 deletions
|
@ -28,7 +28,9 @@ pub fn build(b: *std.Build) void {
|
|||
exe.linkSystemLibrary("c");
|
||||
exe.addIncludePath(.{ .cwd_relative = "/usr/include/hailo" });
|
||||
|
||||
// Gstreamer makes it unhappy
|
||||
// exe.linkSystemLibrary("gstreamer-1.0");
|
||||
|
||||
// exe.linkSystemLibrary("gstapp-1.0");
|
||||
// exe.linkSystemLibrary("glib-2.0");
|
||||
// exe.linkSystemLibrary("gstvideotestsrc");
|
||||
|
@ -39,9 +41,10 @@ pub fn build(b: *std.Build) void {
|
|||
// exe.root_module.addImport("gst", gobject.module("gst1"));
|
||||
// exe.root_module.addImport("gstapp", gobject.module("gstapp1"));
|
||||
|
||||
exe.addLibraryPath( .{ .cwd_relative = "/lib/aarch64-linux-gnu" }); // glib
|
||||
exe.addLibraryPath( .{ .cwd_relative = "/lib/aarch64-linux-gnu/gstreamer-1.0" }); // gstreamer
|
||||
// exe.addLibraryPath( .{ .cwd_relative = "/lib/aarch64-linux-gnu" }); // glib
|
||||
// exe.addLibraryPath( .{ .cwd_relative = "/lib/aarch64-linux-gnu/gstreamer-1.0" }); // gstreamer
|
||||
exe.addLibraryPath( .{ .cwd_relative = "/usr/lib" }); // hailort
|
||||
exe.addLibraryPath( .{ .cwd_relative = "/lib/aarch64-linux-gnu/" });
|
||||
|
||||
// exe.addLibraryPath(.{ .cwd_relative = "/home/nixolas/Documents/hailort/build/hailort/libhailort/src"});
|
||||
exe.linkSystemLibrary("hailort");
|
||||
|
|
12
flake.lock
12
flake.lock
|
@ -54,11 +54,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1729665710,
|
||||
"narHash": "sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4=",
|
||||
"lastModified": 1729880355,
|
||||
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2768c7d042a37de65bb1b5b3268fc987e534c49d",
|
||||
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -128,11 +128,11 @@
|
|||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729858295,
|
||||
"narHash": "sha256-Ia6PEIsGiaP3d4ewuJ3QR46pd0b3qyt2/RM2yUZZtL8=",
|
||||
"lastModified": 1730334608,
|
||||
"narHash": "sha256-NT/xmtGvwkiFfDC+FdIThG387OakQS0hnnT3etJbbNE=",
|
||||
"owner": "mitchellh",
|
||||
"repo": "zig-overlay",
|
||||
"rev": "71a0618a10c2fb8d6c60b3498bcdb5dc4573e403",
|
||||
"rev": "0802240ae001576ebf9cf0bbc003a8b1291c910b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Reference in a new issue