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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -