# Use Llama.cpp in Xojo

**URL:** <https://forum.xojo.com/t/use-llama-cpp-in-xojo/87764>\
**Category:** Extras\
**Created:** [February 25, 2026, 8:11am UTC](https://forum.xojo.com/t/use-llama-cpp-in-xojo/87764 "2026-02-25T08:11:07Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![M\_van\_Denderen](https://forum.xojo.com/user_avatar/forum.xojo.com/m_van_denderen/32/4105_2.png) [@M\_van\_Denderen](https://forum.xojo.com/u/M_van_Denderen)\
**Post date:** [July 16, 2026, 9:10pm UTC](https://forum.xojo.com/t/use-llama-cpp-in-xojo/87764/21 "2026-07-16T21:10:55Z")

</div>

I run a Windows Dell machine with a Snapchat processor. When running a windows-app Xojo correctly indicates TargetWindows and TargetArm as True.

When running running a webapp locally however, Xojo still correctly indicates TargetWindows as True, but incorrectly indicates TargetArm as False.

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [July 16, 2026, 9:47pm UTC](https://forum.xojo.com/t/use-llama-cpp-in-xojo/87764/22 "2026-07-16T21:47:22Z")

</div>

Please go to build settings for the web project and change the architecture for Windows to ARM.

---

<div class="post-metadata">

**Author:** ![M\_van\_Denderen](https://forum.xojo.com/user_avatar/forum.xojo.com/m_van_denderen/32/4105_2.png) [@M\_van\_Denderen](https://forum.xojo.com/u/M_van_Denderen)\
**Post date:** [July 17, 2026, 7:07pm UTC](https://forum.xojo.com/t/use-llama-cpp-in-xojo/87764/23 "2026-07-17T19:07:18Z")

</div>

I didn’t realize that for a Webapp to run in debug mode the build setting for a Windowsapp had to be set. But this was indeed the problem. The Webapp now works perfectly in debug mode. Thanks!

I still face the problem that for final deployment to Xojo’s webserver, the Linux-libraries (llama.so, ggml.so and ggml-base.so) need to be loaded according to the LlamaMBS documentation ( [Monkeybread Xojo plugin - LlamaMBS methods](https://www.monkeybreadsoftware.net/llama-llamambs-method.shtml#l3) ).These files however do not exist or are empty in the github releases ( [Releases · ggml-org/llama.cpp · GitHub](https://github.com/ggml-org/llama.cpp/releases#release-b10042) ).

[Previous page](https://forum.xojo.com/t/use-llama-cpp-in-xojo/87764.md?page=1)
