![]() |
c++ getting started guide for maemo4
Hi I noticed two installer files in application manager and I'm wondering what they are for actually. 1)libillumination0 (A C++ library for creating GUIs) 2)maemo-cplusplus-device-env (Metapackage for running and debugging C++ applications on the device). So, does this mean that I can compile and run c++ files in n810 itself without the help of PC to compile? Can these be used to make GUIs? If its possible, then where can I find getting started guides for this? Any help will be appriciated. Thanks.
|
Re: c++ getting started guide for maemo4
I don't think that maemo-cplusplus... will install on the device. At least it didn't seem to work for me.
BUT, if you install gcc and g++ you can build c and c++ and link to whatever you want. I build OpenGL code all the time on the device. You can also use gdb to debug and there are several great editors. Probably geany is the best so far. Good luck! |
Re: c++ getting started guide for maemo4
Thanks for the reply brucel but where can i get gcc and g++. Is gdb and geany for IT only. Where can I find 'em. Thanks
|
Re: c++ getting started guide for maemo4
Quote:
http://ageofikon.info/packrat/index....ection=&Repo=0 |
Re: c++ getting started guide for maemo4
cool, thanks.. so which ones are essential and which ones can I omit. Is there any getting started guides for this coz it will be very helpful for me to get started speciall when its a kinda new language with new files on a new device. Thanks.
|
Re: c++ getting started guide for maemo4
You can get geany all over the place, at least for Linux.
|
Re: c++ getting started guide for maemo4
Quote:
|
Re: c++ getting started guide for maemo4
I believe that the debs you need are in the extras repository. if not, just search for them.
Install gcc and gcc-3.4 then Install g++ and g++-3.4 That is technically all you need but you will have to use a lousy text editor. If you have a bluetooth keyboard geany is great. Just search for a thread on these forums. It's in the first post. If you are ok with the command line you can install the joe editor. There are a variety of editors and any of them will work, but those that highlight C++ syntax and show line numbers are helpful. I also suggest installing gdb. It's a standard linux debugger. But don't overwhelm yourself. Here is what you do: Type your program in using a text editor and save it with the ending .cpp (or .h for the header file) Next, run xterm and "cd" to the folder where you saved your files. So, if you saved them in MyDocs/MyPrograms type cd /home/user/MyDocs/MyProrgams Now type g++ MyProgName.cpp If all goes well you will have a program called MyProgName.a (I think .a is the default) The very first time you will need to type chmod +x MyProgName.a That sets execution permissions. To run the program type ./MyProgName.a There are a lot of command line option to gdb. I suggest following some kind of "dummies guide" your first time. Good luck! |
Re: c++ getting started guide for maemo4
Thank you..
|
Re: c++ getting started guide for maemo4
files in this link: http://ageofikon.info/packrat/index....ection=&Repo=0 dont seem to be available. When I tried downloading it using my IT it says package not available.
|
All times are GMT. The time now is 21:20. |
vBulletin® Version 3.8.8