Files
packages/anda/apps/opentrack/fix-qt6-resolve.patch
T
Raboneko a29b5d1e47 add: opentrack (#10634) (#10654)
* 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>
2026-03-16 13:21:13 +08:00

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.";