build gtk in Eclipse on ubuntu for iMX53 QSB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

build gtk in Eclipse on ubuntu for iMX53 QSB

1,481 Views
NelePerdu
Contributor I

Hi

 

I tried to run the helloworld. The code is in the link below. I've tried to build it in Eclipse Indigo.

http://www.imxdev.org/wiki/index.php?title=All_Boards_GTK_Manually

I already made a few changes, described on this site:

http://www.eclipse.org/forums/index.php/m/233377/

But it still doesn't work. These are my error messages:

Description    Resource    Path    Location    Type
make: *** [src/helloworldGTK.o] Error 1    helloworldGTK             C/C++ Problem
Symbol 'gtk_widget_destroy' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 95    Semantic Error
Symbol 'GTK_WINDOW_TOPLEVEL' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 63    Semantic Error
Symbol 'TRUE' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 43    Semantic Error
Type 'GdkEvent' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 30    Semantic Error
Type 'gint' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 30    Semantic Error
Type 'gpointer' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 25    Semantic Error
Type 'gpointer' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 30    Semantic Error
Type 'gpointer' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 47    Semantic Error
Type 'GtkWidget' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 25    Semantic Error
Type 'GtkWidget' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 30    Semantic Error
Type 'GtkWidget' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 47    Semantic Error
Type 'GtkWidget' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 55    Semantic Error
Type 'GtkWidget' could not be resolved    helloworldGTK.c    /helloworldGTK/src    line 56    Semantic Error

 

 

 

And this is the console output in Eclipse:

**** Build of configuration iMX53-Debug for project helloworldGTK ****

make all
Building file: ../src/helloworldGTK.c
Invoking: GCC C Compiler
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gcc `pkg-config --cflags --libs gtk+-2.0` -I/home/lucid/Desktop/ltib/rpm/BUILD/linux/include -I/home/lucid/Desktop/ltib/rpm/BUILD/gtk+-2.14.3 -O0 -g3 -Wall -c -fmessage-length=0 pkg-config --cflags gtk+-2.0 -MMD -MP -MF"src/helloworldGTK.d" -MT"src/helloworldGTK.d" -o"src/helloworldGTK.o" "../src/helloworldGTK.c"
arm-fsl-linux-gnueabi-gcc: pkg-config: No such file or directory
arm-fsl-linux-gnueabi-gcc: gtk+-2.0: No such file or directory
cc1: error: unrecognized command line option "-fcflags"
make: *** [src/helloworldGTK.o] Error 1

**** Build Finished ****

 

Does sombody knows what I can do to get rid of those errors?

 

Kind regards

Nele

Tags (1)
0 Kudos
0 Replies