mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 09:52:18 +00:00
f329ee43a4
* add: opentrack (initial commit) Signed-off-by: Owen-sz <owen@fyralabs.com> * keep this for now Signed-off-by: Owen-sz <owen@fyralabs.com> * wording, add icon Signed-off-by: Owen-sz <owen@fyralabs.com> * add appstream metainfo, clean some stuff up, rename desktop file to appid Signed-off-by: Owen-sz <owen@fyralabs.com> * test: see if this works on aarch64 Signed-off-by: Owen-sz <owen@fyralabs.com> --------- Signed-off-by: Owen-sz <owen@fyralabs.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.";
|