maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   sbox-i686-linux-gcc: -lhildon-1: No such file or directory error (https://talk.maemo.org/showthread.php?t=30136)

maemodev 2009-07-07 18:27

sbox-i686-linux-gcc: -lhildon-1: No such file or directory error
 
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

lma 2009-07-07 18:45

Re: sbox-i686-linux-gcc: -lhildon-1: No such file or directory error
 
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.

maemodev 2009-07-07 18:52

Re: sbox-i686-linux-gcc: -lhildon-1: No such file or directory error
 
@lma Thanks for the quick reply, removing the slashes solved the problem


All times are GMT. The time now is 08:16.

vBulletin® Version 3.8.8