make - cc -o kocka -I/usr/include kocka.o -L/usr/X11R6/lib -lX11 -lXi -lglut -lGL -lGLU -lm -lpthread /usr/bin/ld: cannot find -lXi -
make - cc -o kocka -I/usr/include kocka.o -L/usr/X11R6/lib -lX11 -lXi -lglut -lGL -lGLU -lm -lpthread /usr/bin/ld: cannot find -lXi -
i error when want play create file, don't know why.
apps = kocka obj = $(apps).o src = $(apps).c cflags = $(c_opts) -i/usr/include libs = -l/usr/x11r6/lib -lx11 -lxi -lglut -lgl -lglu -lm -lpthread application:$(apps) clean: rm -f $(apps) *.raw *.o core a.out realclean: clean rm -f *~ *.bak *.bak .suffixes: c o .c.o: $(cc) -c $(cflags) $< $(apps): $(obj) $(cc) -o $(apps) $(cflags) $(obj) $(libs) depend: makedepend -- $(cflags) $(src)
where libxi
on machine? add together -l
flag directory.
make
Comments
Post a Comment