Hmm, well that didnt work, but I am catching on to your logic and decided, since it gave freetype errors, I added that path in there too, to get :
Code:
cflags = -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2
Here is what that does ::
Code:
[schotty@leinenkugel idesk-0.3.5]$ make
g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Desk.cc -o Desk.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory
In file included from /usr/include/png.h:321,
from Desk.h:11,
from Desk.cc:1:
/usr/include/pngconf.h:247: syntax error before `.' token
/usr/include/pngconf.h:248: parse error before `again'
make: *** [Desk.o] Error 1
[schotty@leinenkugel idesk-0.3.5]$
Well I fixed what appears to be an error in the header file. Commented it out
(I am putting this here so If shit is fucked up, I know what to correct ;D )
Okay, I am hoping this means little, and is a breeze to correct --
Code:
[schotty@leinenkugel idesk-0.3.5]$ make
g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Desk.c
c -o Desk.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory
g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Icon.c
c -o Icon.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory
g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Databa
se.cc -o Database.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory
g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Main.c
c -o Main.o
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory
g++ Desk.o Icon.o Database.o Main.o -o idesk `imlib-config --libs` -lXft
/usr/bin/ld: cannot find -lXft
collect2: ld returned 1 exit status
make: *** [idesk] Error 1
[schotty@leinenkugel idesk-0.3.5]$
Whats your take on that? Is it not able to link to a library? Is that a minor fix to the makefile to tell it the path?
Bookmarks