Thread
:
HelloWorld on Device
View Single Post
jackabite
2009-12-21 , 23:20
Posts: 46 | Thanked: 17 times | Joined on Oct 2009
#
1
I hope someone can help - as I have searched google, forums and the mameo development documentation without much success.
I have successfully created and compiled (xARMEL) a C++ helloworld application. I have run and tested this on the emulator and now want to copy it to my N900 physical device.
Here are the steps that I have completed thus far;
1. Installed rootsh on N900 - this was required to copy the file from the FAT partition (as you cannot run programs from there) to the ext3 partition /opt directory.
2. Modified the binary to allow execution chmod a+x
3. invoked run-standalone.sh helloworld
4. received errors stating that the hildonmm shared libraries are unavailable (of course they are available in the /usr/libs directory)
What am I doing wrong ? How can I get the shared library files to work with my binary ? I read on google about creating a symbolic link, but this seems a bit overkill - or is this a standard thing ?
Should I be statically linking in the libraries ? I dont really want to do this. Is there a way to specify the path to the libraries at compile time ?
I read the maemo documenation on packaging but this seems way overkill for helloworld.
Any help here would be much appreciated.
Quote & Reply
|
jackabite
View Public Profile
Send a private message to jackabite
Find all posts by jackabite