![]() |
Re: New Developers/coders? Help!!?!
Quote:
|
Re: New Developers/coders? Help!!?!
Hmmm got an issue on step 5........
Trying to run step 5 as my user Quote:
Quote:
|
Re: New Developers/coders? Help!!?!
just enter the following lines into the terminal:
sudo wget http://repository.maemo.org/stable/5.0/maemo-sdk-install-wizard_5.0.py sudo chmod a+x maemo-sdk-install-wizard_5.0.py sudo ./maemo-sdk-install-wizard_5.0.py this will get you the GUI installer... |
Re: New Developers/coders? Help!!?!
Quote:
Quote:
Quote:
|
Re: New Developers/coders? Help!!?!
someone explain to me how typing "export DISPLAY=:0" helped?! gui is on my screen! yay, but got work in 15 mins!!!
|
Re: New Developers/coders? Help!!?!
Im a noob, but my understanding is that you are redirecting the output from the screen or xserver to your emulator?
Depending on the programs you are running, you could change the value of 0 to another number and re-direct elsewhere Ducks head and prepares to be shot down by the experts! |
Re: New Developers/coders? Help!!?!
Okay, Batch Reply to a bunch of posts:
noobmonkey[27]: If you got the so-called "sexy" pointer (:P) then plasma (the desktop shell) probably crashed. In my experience this virtually never happens anymore, so it could just be a quirk of your system. If you feel like trying it again (you can install the kubuntu-desktop package ontop of Ubuntu - it's just a different spin, not a different OS), and reporting a bug with useful info, I'm sure KDE would appreciate it. Also be aware that hitting Alt+F2 and typing in "plasma-desktop[enter]" should restart it manually, and then you can see if it was just temporary thing. go1dfish[28]: Without getting into an argument, the developers do consider it "user-ready" at this point, and for the most part I'd agree, however that view admittedly sounds a bit weak in light of noobmonkey's post. :P At this point I'd say it's the usual quesion of "who is it ready for?" rather than "is it ready?" (cf. "Year of the Linux Desktop" debate -grin-) noobmonkey[38]: Great! As I think I mentioned, though, Ubuntu is shipping an old beta of KDevelop4, so it lacks some fairly important features (working debugging being one, if I remember correctly). That said, even if you can't wait for it to be released and packaged for Ubuntu, it's still makes an awesome code editor, and I'd fully recommend it if it works for you. As for your comments about DEBs, you might want to read up on it. You can essentially think about packages as being an archive file (like a ZIP or tarball) with a file tree of binaries and what-have-you, and some metadata. In reality they're more complicated, and often horribly pedantic, but that's the gist. So, while you can technically just dump your compiled program into your filesystem and run it, the proper way is to package it into a package for your distro (Maemo uses DEBian packages because of its Debian heritage). This is a reasonably time-consuming process to learn and to do right, so when you're just messing around, you probably don't want to worry about it. Just remember - files that aren't packaged aren't tracked by the system database, so if you leave them lying around and forget to clean them up, you may have issues - or at least cruft. If you do this, I'd recommend sticking them in /home/user/bin (which you'd have to create). noobmonkey[45]: X has to run on a logical display. DISPLAY is an environment variable that is set when you fire up an X session (e.g. login). Since you're not logged into your graphical session as root (I hope not, anyway!), you need to set it manually. Oh, and to put in my two cents about the C++/Python discussion, I would note that not only is C++ much nicer than C, but Qt takes care of most of the remaining messy bits. Python is still probably easier for many things, but it's a matter of preference as well as the situation, really. Also note that (probably) the majority of Linux software can be used directly by C++ programs, but there aren't Python bindings for everything (although it's close!). |
Re: New Developers/coders? Help!!?!
Quote:
Thanks for the F2 advice - hopefully won't need it now :) Quote:
Not understanding the second part - but i'll refer back to it when i get hello world working! :) :) Quote:
But i do know that i can swap between them when asked to now, so thats a start! Quote:
I have some object orientated programming experience and hated it to be honest, but i'll do what must be done to get hello world working :) hehehe |
Re: New Developers/coders? Help!!?!
Forgot to mention, left the GUI installing at home - so will be on it tonight :)
Anniversary with the GF may get in the way of Ubuntu fun though! p.s. jaem - you deserve a huuuuge pat on the back for all of your help. You have really given me a great boost so far. |
Re: New Developers/coders? Help!!?!
Quote:
Quote:
Quote:
Quote:
|
Re: New Developers/coders? Help!!?!
Quote:
To be honest, you've gotten a heck of a lot further than most people I know would have in this time. Pat yourself on the back for that. ;) |
Re: New Developers/coders? Help!!?!
Maybe it would be a good idea to start an own thread for Qt on Maemo, but I'll ask here. How can I controll the backlight with Qt? Also what audio formats should I prefer for playing simple notification sounds?
|
Re: New Developers/coders? Help!!?!
Quote:
Not a bad idea, would be a good idea once i'm done to do another sticky thread for getting started. Using venomrush's post as one example, another starting from an Ubuntu install from scratch :) Then once people have it up - pointing at either a python/QT/C thread to get people going :) |
Re: New Developers/coders? Help!!?!
Quote:
|
Re: New Developers/coders? Help!!?!
as my "hello world" is still not working, I created a new thread for this problem: http://talk.maemo.org/showthread.php?p=430601
(@noobmonkey: keep me posted if this example works for you...) |
Re: New Developers/coders? Help!!?!
Quote:
|
Re: New Developers/coders? Help!!?!
Right.... i've gone off in a whole different direction! Wasn't enjoying the nokia C++ walk-through.... So i've banished myself to the world of python....
Right..... I have the sexy maemo displaying like an n900. yay! I have used some example code to load a widget - as thats essentially what i want to try first (Probably a hard choice i know).... Got my .py and .desktop files :) - yayness! I've finished my first set of coding (Using Eric4 - again bad choice? not sure) - but was simple enough to type up some code! How do i compile my code and put it in my shiny scratchboxy maemo N900 :) Again, is that a stupidly hard question to ask to be explained?!!) |
Re: New Developers/coders? Help!!?!
Quote:
...and I just woke up, so that's about all I can tell you right now :P |
Re: New Developers/coders? Help!!?!
Quote:
On the other hand, just execute it. You need to see some results to keep the motivation alive... |
Re: New Developers/coders? Help!!?!
Quote:
One note about that, because it probably isn't obvious: if you just type "foo" into the shell, the shell will interpret that as an executable program, and try to run it. It will look for that program in one or more places, in a specific order. By default on most Linux systems, those places (in some order) are usually /bin, /sbin, /usr/bin, /usr/sbin. That's all great, but if you're just wanting to run an app from your home directory, it's not going to look there, and it will give you some error about not being able to find it. There are two ways to deal with this: 1) If you want to be lazy: cd into the directory containing the binary, and run it with "./foo" or "/path/to/foo". This qualifies the path to the binary (relative or absolute, respectively), so it doesn't need to search for it. 2) If you are using a non-standard path long-term, or if you aren't running it manually: export PATH=foo will set the PATH environment variable in your shell to "foo". (You don't want to do this - it's just an example.) What PATH normally contains is the paths listed previously, separated by colons. If you want to add your custom binary path to the list, use "export PATH=$PATH:/path/to/custom/bindir". $PATH evaluates to the current value of the variable. You should probably append your custom path to the end unless you have a reason not to (see comments about order). This change will last only for the current shell session, in the current shell. You can make it permanent (or rather, autorun on login) by putting that line in your shell's rc file (e.g. /home/$user/.bashrc, .ashrc (on the N900), etc.) |
Re: New Developers/coders? Help!!?!
IMHO, it doesn't make since to package a program for deployment until it gets closer to time to make the code public. It gets to be tedious having to issue all the commands to create a *.deb package after every code change.
My work flow has always been:
|
Re: New Developers/coders? Help!!?!
Hi
can anybod help me to import a existing project in esbox.Actually i want to open the given examples in esbox but m not getting success... please help me to solve my prob............... Thanks in advance........................ Regards Priya |
| All times are GMT. The time now is 19:31. |
vBulletin® Version 3.8.8