Active Topics

 


Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Jul 2009
#1
hi all,

I am trying to compile a file ( hildonmenu.c) that requires the hildon header file "hildon-program.h"
The source code includes the following line
#include <hildon/hildon-program.h>

I am compiling it with the following command
gcc -Wall `pkg-config --cflags gtk+-2.0 \ hildon-1` hildonmenu.c -o hildonmenu \ `pkg-config --libs gtk+-2.0 hildon-1`

I am getting the following error
sbox-i686-linux-gcc: -lhildon-1: No such file or directory

Can anyone please tell why this error is coming up and suggest a solution for this
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#2
Remove the backslashes ('\' characters). They are meant to indicate continuation if a command is split over several lines, but if you're entering the whole thing as a one-liner they are not needed.
 

The Following 3 Users Say Thank You to lma For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Jul 2009
#3
@lma Thanks for the quick reply, removing the slashes solved the problem
 
Reply


 
Forum Jump


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