mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
a29b5d1e47
* add: opentrack (initial commit)
* keep this for now
* wording, add icon
* add appstream metainfo, clean some stuff up, rename desktop file to appid
* test: see if this works on aarch64
---------
(cherry picked from commit f329ee43a4)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
14 lines
582 B
Diff
14 lines
582 B
Diff
diff --git a/tracker-neuralnet/env.cpp b/tracker-neuralnet/env.cpp
|
|
index 563c9c1..21b1d58 100644
|
|
--- a/tracker-neuralnet/env.cpp
|
|
+++ b/tracker-neuralnet/env.cpp
|
|
@@ -20,7 +20,7 @@ void NeuralNetTracker::maybe_load_onnxruntime_dynamically()
|
|
std::abort();
|
|
}
|
|
|
|
- void* fn_OrtGetApiBase = lib.resolve("OrtGetApiBase");
|
|
+ void* fn_OrtGetApiBase = reinterpret_cast<void*>(lib.resolve("OrtGetApiBase"));
|
|
if (!fn_OrtGetApiBase)
|
|
{
|
|
qDebug().nospace() << "tracker/nn: can't find OrtGetApiBase in onnxruntime: " << lib.errorString() << ". now crashing.";
|