Hello All,
I've built the llama-cli binaries using Make in Termux and I'm trying to get them to run in my B4A app.
The issue I'm running into is I keep getting an error that I'm missing libcc++:
I've searched the forum and the internet at large to try and find a solution but I'm not finding anything that helps with my situation. I've downloaded several different versions of libc++_shared.so for arm64 and also ripped some from the /date/app directory, but either I'm not adding them to my B4A project correctly, or I'm missing something else entirely.
Any help with this issue would be very much appreciated! Please let me know if I missed any info that should be included with my post.
I've built the llama-cli binaries using Make in Termux and I'm trying to get them to run in my B4A app.
The issue I'm running into is I keep getting an error that I'm missing libcc++:
Error:
Err: CANNOT LINK EXECUTABLE "/data/user/0/b4a.example/files/llama.cpp/llama-cli": library "libc++_shared.so" not found: needed by main executable
relevant code:
Dim p as Phone
Dim command1 As String
command1 = File.DirInternal & "/llama.cpp/llama-cli"
Wait For (p.ShellAsync(command1, Array As String("-m"))) Complete (Success As Boolean, ExitValue As Int, StdOut As String, StdErr As String)
If Success Then
Log(ExitValue)
Log("Out: " & StdOut)
Log("Err: "& StdErr)
Else
Log("Error: " & LastException)
End If
I've searched the forum and the internet at large to try and find a solution but I'm not finding anything that helps with my situation. I've downloaded several different versions of libc++_shared.so for arm64 and also ripped some from the /date/app directory, but either I'm not adding them to my B4A project correctly, or I'm missing something else entirely.
Any help with this issue would be very much appreciated! Please let me know if I missed any info that should be included with my post.