maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   N900 SDK setup (eclipse & esbox) mysteries (https://talk.maemo.org/showthread.php?t=37626)

omeriko9 2010-01-25 12:13

Re: N900 SDK setup (eclipse & esbox) mysteries
 
yes. runs and works as usual.

jaark 2010-01-25 12:16

Re: N900 SDK setup (eclipse & esbox) mysteries
 
OK. I thought you were saying that even stock Eclipse wasn't working previously.

Are you running a 64bit OS? The pre-packaged builds of esbox do not work there (but don't fret it can be made to work!)

omeriko9 2010-01-25 12:19

Re: N900 SDK setup (eclipse & esbox) mysteries
 
I'm running 32bit. And Eclipse Galileo works, but Eclipse Ganymede doesn't...

as you can see I'm pretty stuck here, as long as I can't install the ESBox... Do you have an alternative way (maybe that works for you) for developing PyQt on n900?..

jaark 2010-01-25 12:27

Re: N900 SDK setup (eclipse & esbox) mysteries
 
Nope. I have Esbox running, installed into a generic Ganymede install in the latest Ubuntu release (karmic?) on x64 - 32bit should be a snap in comparison :)

IIRC, the problem getting base Ganymede running was xulrunner.

Try

sudo apt-get install xulrunner
cd <directory where ganymede is installed>
export GDK_NATIVE_WINDOWS=1
./eclipse -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner

omeriko9 2010-01-25 12:46

Re: N900 SDK setup (eclipse & esbox) mysteries
 
1 Attachment(s)
Thank you very much for helping :) I'm sure this will help more linux noobs.

the apt-get said it's already installed.

running eclipse after setting the var gave the same small gray window as before, attached a screenshot...

jaark 2010-01-25 12:58

Re: N900 SDK setup (eclipse & esbox) mysteries
 
That's got me stumped :(
I'm not at home so I can't play with my esbox install to help much further.

What is that Warning message? The scaling on the screenshot makes it unreadable.
I'm pretty sure I get a warning when running eclipse, so it's maybe nothing.

Yes, I'm clutching at straws now :)

Another option - have you tried the Maemo SDK Virtual Machines? (http://maemovmware.garage.maemo.org/2nd_edition/) I think that the desktop image has ESbox already installed and configured within it.

omeriko9 2010-01-25 13:04

Re: N900 SDK setup (eclipse & esbox) mysteries
 
The warning is:
"(eclipse:9114): GLib-WARNING **: g_set_prgname() called multiple times".

I wasn't aware of the "out-of-the-box" VM - I'm downloading it right now... Hope I'll have a better experience with this one :)

jaark 2010-01-25 13:07

Re: N900 SDK setup (eclipse & esbox) mysteries
 
Quote:

Originally Posted by omeriko9 (Post 493554)
The warning is:
"(eclipse:9114): GLib-WARNING **: g_set_prgname() called multiple times".

That rings a bell - probably what I get on a working install.

Quote:

I wasn't aware of the "out-of-the-box" VM - I'm downloading it right now... Hope I'll have a better experience with this one :)
Good luck!

Patola 2010-01-27 12:25

Re: N900 SDK setup (eclipse & esbox) mysteries
 
I've got almost everything working when I followed the installation guide. But I have scratchbox 2 installed and ESBox won't detect it :( I mark scratchbox 2 as enabled in the capabilities section but when I try to add a Scratchbox 2 target it says: "No build machine configured or applicable SDKs installed"

Screenshot attached!

http://img191.imageshack.us/img191/8...radetela12.png

jaark 2010-01-27 12:33

Re: N900 SDK setup (eclipse & esbox) mysteries
 
Is there any reason you are installing Scratchbox2? It looks like Scratchbox 1 is installed and working already there.

I'm just using Scratchbox 1 with no problems.


All times are GMT. The time now is 02:50.

vBulletin® Version 3.8.8