# Xojo & Debian 11.6 + GNOME

**URL:** <https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532>\
**Category:** Bugs and Feature Requests\
**Created:** [February 18, 2023, 12:18am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532 "2023-02-18T00:18:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antoine\_Beaubien](https://forum.xojo.com/user_avatar/forum.xojo.com/antoine_beaubien/32/12603_2.png) [@Antoine\_Beaubien](https://forum.xojo.com/u/Antoine_Beaubien)\
**Post date:** [February 18, 2023, 12:18am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/1 "2023-02-18T00:18:10Z")

</div>

Feedback Case Number:

I have insatalled an Debian 11.6 on a VirtualkBox VM machine with 8 Go of RAM and 20 Gb of HD.

I have installed Xojo v2022 4.1, following the requirements and instructions.

If I install a KDE, Xojo will work, but with GNOME, I get this error when trying to run an example (I can open the file, just not luach or Analyse).

Any suggestions?

Regards,  
Antoine

```auto
./Xojo
Xojo: /var/lib/go-agent/pipelines/LLVM/source/include/llvm/Support/Casting.h:255: typename cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = llvm::FunctionType, Y = llvm::Type]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Aborted

```

---

<div class="post-metadata">

**Author:** ![Antoine\_Beaubien](https://forum.xojo.com/user_avatar/forum.xojo.com/antoine_beaubien/32/12603_2.png) [@Antoine\_Beaubien](https://forum.xojo.com/u/Antoine_Beaubien)\
**Post date:** [February 18, 2023, 3:53am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/2 "2023-02-18T03:53:26Z")

</div>

Just to be clear, I install a Debian 11.6 wuth KDE, I install Xojo, and everything works.

I install GNOME after, and Xojo no longer works.  
Command to install GNOME:

`sudo apt install gnome/stable`

I have done many installation from scratch.

Regards,  
Antoine

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 18, 2023, 4:28am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/3 "2023-02-18T04:28:37Z")

</div>

This seems to fall under:

```auto
Patient: Doc, it hurts when I do this. 
Doctor: Well, don't do that.

```

All kidding aside, there are two possibilities:

1. It’s a bug which you should report
2. It’s an unsupported config and you should make a feature request if you really need it.

Either way: [https://issues.xojo.com/](https://issues.xojo.com/)

---

<div class="post-metadata">

**Author:** ![Antoine\_Beaubien](https://forum.xojo.com/user_avatar/forum.xojo.com/antoine_beaubien/32/12603_2.png) [@Antoine\_Beaubien](https://forum.xojo.com/u/Antoine_Beaubien)\
**Post date:** [February 18, 2023, 4:36am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/4 "2023-02-18T04:36:22Z")

</div>

My best guest at this point is somekind of incompatibility with some Desktop Environments. Thought it must be solved in Xojo, I don’t think it’s a big thing. It is certainately not a new feature.

Maybe incompatibilities with some librairies or installation steps.

I don’ t have high hopes. This might be a low interest bug.

Regards,  
Antoine

---

<div class="post-metadata">

**Author:** ![Antoine\_Beaubien](https://forum.xojo.com/user_avatar/forum.xojo.com/antoine_beaubien/32/12603_2.png) [@Antoine\_Beaubien](https://forum.xojo.com/u/Antoine_Beaubien)\
**Post date:** [February 18, 2023, 5:02am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/5 "2023-02-18T05:02:29Z")

</div>

As per the suggestion, I did an Issue.

[https://tracker.xojo.com/xojoinc/xojo/-/issues/71803](https://tracker.xojo.com/xojoinc/xojo/-/issues/71803)

---

<div class="post-metadata">

**Author:** ![Gilles\_Plante](https://forum.xojo.com/user_avatar/forum.xojo.com/gilles_plante/32/667_2.png) [@Gilles\_Plante](https://forum.xojo.com/u/Gilles_Plante)\
**Post date:** [February 18, 2023, 5:13am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/6 "2023-02-18T05:13:31Z")

</div>

> [@Antoine\_Beaubien](#):
>
> ```auto
> ./Xojo
> Xojo: /var/lib/go-agent/pipelines/LLVM/source/include/llvm/Support/Casting.h:255: typename cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = llvm::FunctionType, Y = llvm::Type]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
> Aborted
> 
> ```

llvm is the compiler/toolchain used by Xojo, and the error states that a assertion failed in Casting.h at line 255. My guess is that GNOME has some incompatibility with Xojo.

These are the joys with Linux. What does Xojo says about the Debian compatibility regarding the graphics interfaces ?

---

<div class="post-metadata">

**Author:** ![Antoine\_Beaubien](https://forum.xojo.com/user_avatar/forum.xojo.com/antoine_beaubien/32/12603_2.png) [@Antoine\_Beaubien](https://forum.xojo.com/u/Antoine_Beaubien)\
**Post date:** [February 18, 2023, 10:28am UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/7 "2023-02-18T10:28:01Z")

</div>

> What does Xojo says about the Debian compatibility regarding the graphics interfaces?

Not sure I understand your question. Debian is said to be supported from Debian v6, and I’m at v11.6. They don’ t specify compatibility with Desktop Environment. My tests showed me that I could run & compile with the IDE with XDE, but not GNOME. I can open projects in GNOME, but compliling crashes.

Regards,  
Antoine

---

<div class="post-metadata">

**Author:** ![Adam\_Charlton](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/d26b3c/32.png) [@Adam\_Charlton](https://forum.xojo.com/u/Adam_Charlton)\
**Post date:** [February 18, 2023, 12:36pm UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/8 "2023-02-18T12:36:53Z")

</div>

The ironic part of having an issue compiling on GNOME is that Xojo produces GTK applications which is a GNOME technology.

---

<div class="post-metadata">

**Author:** ![Gilles\_Plante](https://forum.xojo.com/user_avatar/forum.xojo.com/gilles_plante/32/667_2.png) [@Gilles\_Plante](https://forum.xojo.com/u/Gilles_Plante)\
**Post date:** [February 18, 2023, 3:38pm UTC](https://forum.xojo.com/t/xojo-debian-11-6-gnome/74532/9 "2023-02-18T15:38:53Z")

</div>

> [@Antoine\_Beaubien](#):
>
> They don’ t specify compatibility with Desktop Environment.

That’s unfortunate.

> [@Adam\_Charlton](#):
>
> The ironic part of having an issue compiling on GNOME is that Xojo produces GTK applications which is a GNOME technology.

Good thing you created an issue. I googled to see if other post were about that issue, found nothing like yours.
