View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#5
Originally Posted by tobiasj View Post
You mean in the code, where I put the include statements for hildon-program I should also put those lines?
No, you add those to the compile line in the Makefile (I presume you have one):

e.g.

gcc -o your-application -I/usr/include/hildon-1 your-files.c -lhildon-1

(i.e. you tell the compiler/preprocessor to add /usr/include/hildon-1 to the search path for header files, and to link with libhildon-1.so during the linking stage).

Depending on how your Makefile is set up the above example may have to be split out to different parts of the Makefile, but I hope you get the idea.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following 2 Users Say Thank You to TA-t3 For This Useful Post: