Permalink
Browse files

Added missing link lib GL

Samples were not linked against GL. Symbols of GL are used directly, but
linking happens only indirectly. This is forbidden on Fedora.
  • Loading branch information...
1 parent 8606266 commit beca88729f13f4316711d1ba7759f1891999e8a1 @timn committed Jan 20, 2011
@@ -11,7 +11,7 @@ EXE_NAME = Sample-NiSimpleViewer
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
USED_LIBS += OpenNI
@@ -11,7 +11,7 @@ EXE_NAME = Sample-NiUserTracker
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
USED_LIBS += OpenNI
@@ -11,7 +11,7 @@ SRC_FILES = ../../../../../Samples/NiViewer/*.cpp
ifeq ("$(OSTYPE)","Darwin")
LDFLAGS += -framework OpenGL -framework GLUT
else
- USED_LIBS += glut
+ USED_LIBS += glut GL
endif
USED_LIBS += OpenNI

1 comment on commit beca887

@elpaquete

Working here on Fedora 15. It also works on Ubuntu 11.04.

Please sign in to comment.