View Single Post
Posts: 46 | Thanked: 17 times | Joined on Oct 2009
#8
Originally Posted by kyle View Post
I don't know why the Nokia forum site decided to do their helloworld in C++ when every program that comes with the device is written in C.

You're right- it just doesn't ship with certain libraries used for C++. The command you need is 'apt-get install libhildonmm'. Always good to follow this up with apt-get clean.



You can also use a relative path, ./helloworld for example. Only two extra keystrokes that way!
Thanks, I dont think the examples are specifically for C++, I choose to go that route as it's what I am used to. I compiled the app using the ESBox dev tools and just wanted some instant gratification on my device.

The documentation for copying and running to your device is just plain missing. There's some documentation for windows/.net developers but it's very out of date and talks about the N800!

I will follow the instruction on the maemomm.garage site and get the libraries installed. I am tempted to use the C library with C++ and just create my own wrappers if required. It seems that the C library is the main SDK and is fully supported, whilst the C++ stuff is a bit basic and missing a lot of the APIs anyway.

Thanks for the ./ tip!