[maemo-developers] problem in building a package

From: mohamed ismael mohamed.ismael at asgatech.com
Date: Mon Nov 16 10:49:19 EET 2009
i am using esbox IDE and i want to build a package so i
right click on my project->debian package->create debian structure
every thing run fine until now, then i
right click on my project->debian package->build debian package
i get the following error
src/main.c:24:24: error: libprofile.h: No such file or directory
note that i included the file in my source code using
#include <libprofile.h>
and also included it (-I/usr/include/profiled)by hand in the make file 
and the library (-lprofile)
in the following lines
DEPS_CFLAGS = -DMAEMO_CHANGES -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include 
-I/usr/include/gconf/2 -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -I/usr/include/profiled 
DEPS_LIBS = -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 
-lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 
-lfreetype -lfontconfig -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lrt 
-lgmodule-2.0 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lglib-2.0  

note that the program compiles and run on the emulator but this error 
appears only when i try to build the package
what is the problem?

another question
can i add the include file and the library using the IDE rather than by 
hand in the make file?

More information about the maemo-developers mailing list