Reply
Thread Tools
Posts: 958 | Thanked: 483 times | Joined on May 2010
#1
hi folks. i'm trying to setup a development environment on ubuntu. i've got a base ubuntu installation set up.

now i'm trying to figure out how to compile an app for ubuntu. i downloaded the source code for one app (yes, the app runs on the n900) to test. the app is written in C.

my thinking: since the n900 is ARM based and most gcc compilers do x86 compilation, is there anything else i need to setup on ubuntu?
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#2
or do i just run make on the MAKEFILE and it will work its magic?

sorry for the newbie question...
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#3
No magic, you need to cross compile your application for arm.
The "easiest" way is to setup a whole crosscompiling envirionment.
For programming in c, scratchbox is the way to go:
http://wiki.maemo.org/Documentation/...eveloper_Guide
 

The Following User Says Thank You to nicolai For This Useful Post:
Posts: 958 | Thanked: 483 times | Joined on May 2010
#4
thank you. i'll take a look at those links.
 
Posts: 10 | Thanked: 0 times | Joined on Apr 2011
#5
here is the link of the project https://projects.forum.nokia.com/compass
if you download compass_v0_9.zip and execute it using qt creator then it gives errors? Do you have any answer for this?
 
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#6
Originally Posted by pradeep View Post
here is the link of the project https://projects.forum.nokia.com/compass
if you download compass_v0_9.zip and execute it using qt creator then it gives errors? Do you have any answer for this?
What errors?
 
Posts: 10 | Thanked: 0 times | Joined on Apr 2011
#7
such as "/src/compass-build-desktop/../compass/mainwindow.h:9: error: QGeoPositionInfo: No such file or directory"

I have included the following #include <QGeoPositionInfo> but it is not recognized by the system
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#8
Originally Posted by pradeep View Post
such as "/src/compass-build-desktop/../compass/mainwindow.h:9: error: QGeoPositionInfo: No such file or directory"

I have included the following #include <QGeoPositionInfo> but it is not recognized by the system
Please don't cross post. I've answered your question on your original thread.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:41.