Active Topics

 


Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Oct 2009
#1
I wanted to start programming a small app for my n900 and installed the SDK using the GUI and without any error it finished and i was happy.
So i started reading the "Documentation/Maemo 5 Developer Guide/Development Environment/Maemo SDK" , followed the instructions and compiled the first Hello GTK example receiving the following compiler error:

sbox-i486-pc-linux-gnu-gcc: -DMAEMO_CHANGES: No such file or directory

I am not a linux guru and far away from being a hardcore developer, so maybe this is just something really easy to fix but i have no clue how to fix it....

Last edited by drgonzo; 2010-01-22 at 14:20.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#2
Please show the command line where the error came from, it should be shown in terminal. Link to the documentation you were reading wouldn't hurt either
 
Posts: 7 | Thanked: 0 times | Joined on Oct 2009
#3
The Dokumentation is from this webpage:
http://wiki.maemo.org/Documentation/...ment/Maemo_SDK

This causes the error:
gcc -Wall -g gtk_helloworld-1.c \
`pkg-config --cflags gtk+-2.0` -o gtk_helloworld-1 \
`pkg-config --libs gtk+-2.0`



I checked the output form pkg-config --cflags gtk+-2.0 which begins:
-DMAEMO_CHANGES
-I/usr/include/gtk-2.0
and so on

So i guess somehow the MAEMO_CHANGES definition got lost

Last edited by drgonzo; 2010-01-22 at 14:00.
 
Posts: 7 | Thanked: 0 times | Joined on Oct 2009
#4
ok ...beginners fault case closed
 
Posts: 42 | Thanked: 67 times | Joined on Dec 2009 @ Leeds, United Kingdom
#5
Hello, Im having the same problem with my compilation. How did you resolve this?????

 
Reply


 
Forum Jump


All times are GMT. The time now is 14:21.