![]() |
N900 SDK setup (eclipse & esbox) mysteries
Again, I found quite informative SDK documentation after I created my second virtualmachine to explore maemo5 development.
Scratchbox was easy, but finding something usable on eclipse and esbox is pain. Instructions given here are quite useless. They lead to this page. Probably I stick with scratchbox command line. |
Re: N900 SDK setup (eclipse & esbox) mysteries
it would be better if we have an IDE,
they want more apps=more people=more money, they must help us to help them |
Re: N900 SDK setup (eclipse & esbox) mysteries
Quote:
Any chance that working in standard QT IDE could be ported easely to compile in scratchbox? And how's the Maemo API could be tested in such IDE? |
Re: N900 SDK setup (eclipse & esbox) mysteries
The install docs are at : http://esbox.garage.maemo.org/2nd_ed...tallation.html
They got me up and running .. eventually (took me best part of a week) WHat exactly are you having a problem with? |
Re: N900 SDK setup (eclipse & esbox) mysteries
Quote:
Installed Eclipse ganymede - gives me a small gray window with nothing inside, and nothing changes. apt-get the XULRUNNER - and still get the same error with esbox.sh. |
Re: N900 SDK setup (eclipse & esbox) mysteries
Which java do you have installed? Eclipse has historically had problems with less feature complete jvms. I haven't even tried anything but suns jvm with Eclipse in years.
Make sure you have 'sun-java6-jdk' installed and active :- sudo apt-get install sun-java6-jdk sudo update-alternatives --config java |
Re: N900 SDK setup (eclipse & esbox) mysteries
The first command gave some d/ls info, but the second gave this:
"There is only one alternative in link group java: /usr/lib/jvm/java-6-sun/jre/bin/java Nothing to configure." Still, cannot run ESbox.sh - same error... |
Re: N900 SDK setup (eclipse & esbox) mysteries
If it was downloading stuff after the first command, you probably didn't have the full jdk installed. So we're getting somewhere.
What about normal eclipse? |
Re: N900 SDK setup (eclipse & esbox) mysteries
I have it (Galileo) for C/C++ , but don't have a clue how to bind it to the ESBox...
|
Re: N900 SDK setup (eclipse & esbox) mysteries
Does it run now though? (as opposed to the grey box you were getting previously)
|
Re: N900 SDK setup (eclipse & esbox) mysteries
yes. runs and works as usual.
|
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!) |
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?.. |
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 |
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... |
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. |
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 :) |
Re: N900 SDK setup (eclipse & esbox) mysteries
Quote:
Quote:
|
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 |
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. |
Re: N900 SDK setup (eclipse & esbox) mysteries
Never mind, I thought I was using Scratchbox 2 and I was actually using a broken installation of Scratchbox 1. I got it working some time afterwards and thanks for responding.
|
Re: N900 SDK setup (eclipse & esbox) mysteries
I am running x86_64 bit Gentoo Linux
I have managed to get the scratch-box running using the manual instructions - and without using a virtual machine. I managed to log in and build libmdclient and a qt4 mpd client i have been working on and got it to run in the Xephyr X window. I thought i was installing scratchbox2 but later discovered it is in fact scratchbox 1. I also finally managed to get eclipse to run by downloading the 3.4.2 c/c++ 64 bit build, unpacking it, and doing the same for xulrunner 1.8.0.1 in my home dir and then went through the software update procedure to add esbox. I could not get the pre-packaged esbox to run at all. However i am unable to make esbox communicate with the scratchbox, It says "Initialsiing RSE..." for a short period and then refuses to go any further, it wont start the application framework and it wont start Xephyr. Does any body have any ideas on what to try? I have installed scratchbox2 from Gentoo portage but it seems to only be a very base level which must need toolchains and maemo specifics on top, but i cannot find any docs on how to go about these next steps. |
Re: N900 SDK setup (eclipse & esbox) mysteries
Just thought i'd add that a similar problem occurs when i try to create a new project, at the step where i have to select a build target it tells me
"No build target(s) selected." When the box is checked in scratchbox 1 I can see that the startup menu entry seems to work as it mounts the various things for scratchbox but i cannot choose it as a build target and i cannot get it to do the equivalent of af-sb-init.sh start |
Re: N900 SDK setup (eclipse & esbox) mysteries
Finally found the solution, even though esbox is told the path to scratchbox is /path/to/scratchbox it is in some places looking to find it at /scratchbox.
the solution is to symlink /path/to/scratchbox /scratchbox. I think i'm finally up and running |
Re: N900 SDK setup (eclipse & esbox) mysteries
Quote:
mount -o bind /opt/scratchbox /scratchbox (above done entirely from memory, so may be wrong ;)) I'm working primarily in Python and IIRC, I was hitting problems when esbox was trying to configure the python interpreter environment. |
Re: N900 SDK setup (eclipse & esbox) mysteries
ok thanks, ill bare that in mind, another bind mount for my fstab.. hehe
|
Re: N900 SDK setup (eclipse & esbox) mysteries
Hi, I have successfully make a .deb file and install in my phone but then after installation there is nothing in the phone and when I open the .deb file in my Linux machine, it just has some structure folders and readme file, nothing more.
i followed exactly like what is said in the document, in esbox choose generate debian structure and then choose create debian package with fremantle-atmel env. I think esbox has some problems with that. There nothing else user can do I have the same problem using dh-make and dpkg-buildpackage. Any help please, I really need this help. |
All times are GMT. The time now is 02:54. |
vBulletin® Version 3.8.8