Defold Editor Not Starting in Linux

a workaround for now:

I suppose to way to support 64 bit is to be able to use the 64 bit libraries mostly?
If I can help out with it somehow, please let me know

Greetings Vincent

Hi, was pretty into using this engine but ran into the same 64 bit linux limitation. Too bad.

I spent a few hours today trying to force it to work, but I couldn’t get .swt/lib/linux/x86/libswt-mozilla-gtk-3836.so to find libxpcom.so.

The architecture of the one I found in kompozer package on arch was, according to objdump -f, i386:x86_64, whereas libswt-mozilla-gtk-3836.so is simply i386. I could probably find or compile a 32 bit libxpcom.so somewhere but without libswt-mozilla-gtk-3838.so loading, the editor didn’t work.

To be honest I’m not much of an expert at java and multilib stuff so the solution might be there somewhere, but I have to give up on defold for now. (at least until 64bit linux support… plans for that?)

There are definitely plans for 64 bit support, but I have no good ETA yet.

yes, I learned later that it does not work too and gave up for now because it is on the list to be fixed. Apologies for not updating the the thread.
Let’s hope it will be rather sooner than later :smile:

Download xulrunner from here:
https://ftp.mozilla.org/pub/xulrunner/releases/3.6.28/runtimes/
And unpack somewhere

Add this lines to Defold.ini
-Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=<path to xulrunner directory>
To fix git integration:
sudo apt-get install libssl0.9.8

And this enabled you to run Defold on Linux?

yes, it helped me to run defold editor on linux mint (32 bit)

2 Likes

Nice, thanks for sharing!

it does not work for me, the editor starts but any action seems not working with the error tab showing some null loop stuff.
there is also no libssl0.9.8 package on Ubuntu 15.10.

I posted som updates on this topic in another thread.

I can start editor but getting the same error if I start editor from the command line. But i’m running editor on MacOS El Capitan

Would you mind creating a new forum topic since your issue isn’t related to running the editor on Linux?

NOT work in Ubuntu 64 :sob::sob::sob:

Do you get an error message or anything else that hints at what’s wrong? It should work on Ubuntu.

What does it say if you run it from the terminal?

What version of Ubuntu are you running??
Our minimum supported Ubuntu version is now 16.04 (see release notes)

1 Like

log0file.zip (83.7 KB)

my os ubuntu 16.04 LTS 64-bit

please see attached file log0file.zip

Hmm, I’m not sure why it behaves like that. Is this directly when you start the editor?

After some googling on your error, “org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]”, there are a few ideas:

  • The callstack suggests that you are having problems with the gtk package.
    What version of gtk do you have? (dpkg -l libgtk[0-9]* | grep ^i)

  • It could be related to your X server. Running as root could cause issues

  • It could be IPV6 related


I’ve tried to use root, and disable Ipv6, but It still ran for me :confused:

1 Like

I downloaded the Defold editor 1 on our Fedora and tested to open the file defold-linux.sh and nothing happening! Is i opening wrong file?:grinning:

And in Editor 2 is the building function not working!
Before:


After: