![]() |
Re: N900 programming (Dummies/N00B etc) guides?
Hi Again,
I have been trying at this for the past two days with a big failure. MADDE is fully installed.... Can not get it to work.. No matter what 'mad' 'mad-admin' or anything i get command not found.. -bash: mad: command not found Are there any other options? |
Re: N900 programming (Dummies/N00B etc) guides?
Unsure about OSX installs. But if "command not found" is shown, then you might need to add mad to your PATH environment variable within the MADDE session (under Windows it's /bin).
Where's your MADDE toolchains installed to? Basically all the madde commands are offset from that, ie <MADDE_install>/bin/mad |
Re: N900 programming (Dummies/N00B etc) guides?
Thank you for your support. I have given up on trying this under OSX..
Ever since I upgraded to SnowLeopard I have had nothing but trouble with programming and pretty much everything else. I'm sure I am not the only one here having these issues with 10.6.x. BUT! I am NOT giving up! I am going to try it all again, on my VMware Mint Linux. I just wanted to have all the software being created on my main OS.. Back to VM! I'll report back if it fails again.. Then maybe I'll finally give up :( |
Re: N900 programming (Dummies/N00B etc) guides?
I am attempting the linux way now...
I have installed QT (1.3.80) and MADDE 32bit... The madde folders have no "targets"! Help? Where is the qmake required for QT? I have found a /cache folder with fremantle-qt .tar.gz I'm guessing that is what I need - how or what do I with with that? I used: $ tar zxf file.tar.gz and it's running but spitting back a bunch of errors. can not write and no space left on target?? (VM is set up to take as much HDD as it needs) |
Re: N900 programming (Dummies/N00B etc) guides?
I suppose you downloaded your MADDE sources from http://tablets-dev.nokia.com/MADDE.php and did the basic install using the instructions from http://wiki.maemo.org/MADDE
Under Windows, these are the files in /cache in MADDE, but when I installed madde I didn't need to manually extract them because the installer did that itself: arm-2007q3-51sb6-arm-none-linux-gnueabi_w32.tar.bz2 fetch_aliases fremantle-arm-sysroot-2.2009-51-1-qt453.tar.gz madde.conf qt-tools-4.5.3-windows.tar.gz If installed correctly, all the build tools for the N900/ARM platform are located under /targets/fremantle-qt-0951/bin - the "mad" command uses the contents of /targets/default to determine the build target. For that reason, you shouldn't use "$ qmake" but instead "$ mad qmake" and "$ mad make" when building. Note that even though you've set the VM to have expandable drive sizes, Linux doesn't do dynamic sizing automatically and partitions are created with fixed values. You can see how much space you've got left on Linux/OSX by doing "$ df -k" |
Re: N900 programming (Dummies/N00B etc) guides?
Thank you very much (again).
I am redoing all my VM Linux setup again. I Will setup /scratchbox with QT support aswell. Then do Madde again. I have changed the hdd to a set 20GB. Should be better. Thank you! |
Re: N900 programming (Dummies/N00B etc) guides?
Installation MADDE into Linux was very straightfoward; btw, I instaleld scratchbox a few weeks ago and found the process was a bit more involved than MADDE - although be careful if you are trying to install scratchbox on Linux-64bits because the scratchbox tools are only 32-bit so follow the instructions for 64-bit Linux carefully if you are planning on such an adventure (mostly related to VDSO32 stuff)
Here's what madde installed into Linux looks like: ~/.madde/0.6.14/ # the toolchain ~/bin/mad # soflink to mad command you only need to add ~/bin to your PATH environment (also to your .bashrc if you don't have it there): $ export PATH=$PATH:~/bin There is no "MADDE terminal" as such on Linux or OSX, you execute the "mad" command directly from your terminal/xterm. |
| All times are GMT. The time now is 22:26. |
vBulletin® Version 3.8.8