# Xojo RPI 64bit

**URL:** <https://ifnotnil.com/t/xojo-rpi-64bit/1524>\
**Category:** General Programming\
**Created:** [8 February 2021 16:42 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524 "2021-02-08T16:42:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 16:42 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/1 "2021-02-08T16:42:43Z")

</div>

I assume compiling a Xojo app for ARM 32-bit will not run on the 64-bit version of RPIOS, so has anyone figured out a workaround?  
@eugenedakin ?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [8 February 2021 17:43 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/2 "2021-02-08T17:43:29Z")

</div>

It _may_ IF the Ri has 32 bit support installed which I suspect is unlikely  
Its the same as other linuxes in that regard

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 17:46 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/3 "2021-02-08T17:46:18Z")

</div>

> [@npalardy](#):
>
> IF the Ri has 32 bit support installed

Go on…

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 17:52 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/4 "2021-02-08T17:52:09Z")

</div>

Would it be easier to run 64-bit apps on 32-bit PIOS?  
I have a 64-bit app that runs fine on 64-bit RPIOS, but it would be nice to be able to run my little Xojo apps on there as well.

Either run the 32-bit Xojo apps on 64-bit RPIOS or run my 64-bit electron app on 32-bit RPIOS. Makes no difference, whatever’s easier!

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [8 February 2021 18:29 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/5 "2021-02-08T18:29:52Z")

</div>

there nothing to “go on” about  
IF the RPiOS has this installed (or it can be installed) then a 32 bit app would “just work”  
Same as any other linux where certain libs need to be installed so you have 32 and 64 bit version so 32 bit apps “just work”  
I dunno enough about the pi to know if this is available or installable

But install the 32 bit app then get a list of dependent 32 bit libs and see if you can install them from somewhere  
If you can you’re good to go

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [8 February 2021 18:30 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/6 "2021-02-08T18:30:32Z")

</div>

> [@Meestor\_X](#):
>
> Would it be easier to run 64-bit apps on 32-bit PIOS?

This wont work  
A 32 bit OS cant load 64 bit libraries etc  
You’re better off trying to run 32 bit apps on a 64 bit OS

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 18:32 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/7 "2021-02-08T18:32:58Z")

</div>

> [@npalardy](#):
>
> there nothing to “go on” about

Sorry, but this is first I’ve ever heard of this.  
Typically, on Windows or MacOS, you simply cannot run 32-bit apps on 64-bit OS. Period (AFAIK). That Linux works differently is very interesting.  
I was just seeing if you had any links that might help me figure out what specifically would need to be done to test this.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 18:34 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/8 "2021-02-08T18:34:13Z")

</div>

> [@npalardy](#):
>
> But install the 32 bit app then get a list of dependent 32 bit libs and see if you can install them from somewhere

Any links on how to get this list?

---

<div class="post-metadata">

**Author:** ![Alwaysbusy](https://ifnotnil.com/user_avatar/ifnotnil.com/alwaysbusy/32/894_2.png) [@Alwaysbusy](https://ifnotnil.com/u/Alwaysbusy)\
**Post date:** [8 February 2021 19:07 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/9 "2021-02-08T19:07:04Z")

</div>

> [@Meestor\_X](#):
>
> Typically, on Windows or MacOS, you simply cannot run 32-bit apps on 64-bit OS

On windows 64bit, running 32bit software just works fine most of the time. Very rarely, one has to use compatibility mode.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 19:15 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/10 "2021-02-08T19:15:08Z")

</div>

> [@Alwaysbusy](#):
>
> On windows 64bit, running 32bit software just work fine most of the time. Very rarely, one has to use compatibility mode.

That’s not been my experience with older apps.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 19:17 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/11 "2021-02-08T19:17:01Z")

</div>

I tried a 32-bit build of a Xojo app that worked fine on 32-bit RPOS. Does not work on 64-bit RPOS. Just closes instead of running…

---

<div class="post-metadata">

**Author:** ![Alwaysbusy](https://ifnotnil.com/user_avatar/ifnotnil.com/alwaysbusy/32/894_2.png) [@Alwaysbusy](https://ifnotnil.com/u/Alwaysbusy)\
**Post date:** [8 February 2021 19:25 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/12 "2021-02-08T19:25:27Z")

</div>

> [@Meestor\_X](#):
>
> That’s not been my experience with older apps.

Then they must be very old I guess. I run PSP 6 (20 years old), RealBASIC 2007 (13 years old) without any issues on my Windows 10 64-bit. Also our apps written in RB2007 still run without an issue. I must be missing something here in the discussion… 🤔

---

<div class="post-metadata">

**Author:** ![ivan](https://ifnotnil.com/letter_avatar_proxy/v4/letter/i/df788c/32.png) [@ivan](https://ifnotnil.com/u/ivan)\
**Post date:** [8 February 2021 19:42 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/13 "2021-02-08T19:42:52Z")

</div>

> [@Meestor\_X](#):
>
> Typically, on Windows

WHAT? A windows 64bit run 32bit apps with no end of support in the foreseeable future to. In linux, some distros just dont include de 32bit subsistem but it can be installed (Not sure if it is possible on ALL distros)

> [@Meestor\_X](#):
>
> That’s not been my experience with older apps.

Are you talking about ancient 16bit apps?

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 19:46 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/14 "2021-02-08T19:46:39Z")

</div>

> [@ivan](#):
>
> Are you talking about ancient 16bit apps?

Might be. Sorry about that. 😳

Getting mixed up between Windows and MacOS. Definitely lots of 32-bit MacOS apps won’t run on 64-bit Catalina and later.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 19:47 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/15 "2021-02-08T19:47:19Z")

</div>

Anywho, let’s not derail. What’s the “secret sauce” to getting a Xojo app to run on 64-bit RPOS?

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 19:59 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/16 "2021-02-08T19:59:40Z")

</div>

The 32-bit apps need 32-bit libraries, which usually are not installed automatically on 64-bit OSs. I don’t have my Pi4 setup yet so I can’t test.  
Look for multiarch support.

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 21:03 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/17 "2021-02-08T21:03:19Z")

</div>

> [@jjr](#):
>
> The 32-bit apps need 32-bit libraries, which usually are not installed automatically on 64-bit OSs.

Interesting. I didn’t realize it was as simple as that.  
So… If that’s true, doesn’t a Xojo build include all needed libraries? If not, how would I find which ones are needed in addition?

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 21:41 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/18 "2021-02-08T21:41:38Z")

</div>

The OS still needs the appropriate libraries:

1. Your Xojo Program → integrates with…
2. Xojo’s libraries → integrates with…
3. OS Libraries → provides widgets, graphics and hardware

All of which need to be the same (32 vs 64) bits.  
The 64 bit Pi OS is missing the 32 bit versions of #3

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [8 February 2021 21:42 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/19 "2021-02-08T21:42:58Z")

</div>

Thank you. Is there a way to find out which libraries I need to locate?

---

<div class="post-metadata">

**Author:** ![jjr](https://ifnotnil.com/user_avatar/ifnotnil.com/jjr/32/874_2.png) [@jjr](https://ifnotnil.com/u/jjr)\
**Post date:** [8 February 2021 21:45 UTC](https://ifnotnil.com/t/xojo-rpi-64bit/1524/20 "2021-02-08T21:45:55Z")

</div>

From a terminal: `ldd your-app-name` should list the libraries needed.

[Next page](https://ifnotnil.com/t/xojo-rpi-64bit/1524.md?page=2)
