Re: [gtk-list] Re: how do i compile?



ryo <P.Loubigniac@bton.ac.uk> writes:
> I have used  configure without prefix (i.e. ./configure )
> so I first tryed :
> 	g++ -I/include -L/lib -o $1 $1'.cc' -lgtkmm -lgtk -lgdk
> 	-lglib -lXext -lX11 -lm -lsocket -lnsl

oh, you'll need to replace those $prefix thingys with /usr, if you
didnt have --prefix... (or /usr/local  Hmm, I'm not sure whats the default)

> But I get 
> 	ld: cannot open -lXext: No such file or directory

hmm, seems we're still missing -L/usr/X11R6/lib thingy from
the commandline. look for file libXext.so file and put that dir after -L.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]