From aa0cb13aa427bd511ff0b0437d6715f21869c603 Mon Sep 17 00:00:00 2001 From: Kun Lin Date: Fri, 2 Sep 2016 21:57:31 +0900 Subject: [PATCH] Correct name for linking opengl3_example According to glfw offcial site, linking `libglfw.3.dylib` etc should use `-lglfw`. Changed this made the compilation on my Mac successfully. --- examples/opengl3_example/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/opengl3_example/Makefile b/examples/opengl3_example/Makefile index b8e2d83f..ae31c6b8 100644 --- a/examples/opengl3_example/Makefile +++ b/examples/opengl3_example/Makefile @@ -30,7 +30,7 @@ endif ifeq ($(UNAME_S), Darwin) #APPLE ECHO_MESSAGE = "Mac OS X" LIBS = -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo - LIBS += -L/usr/local/lib -lglfw3 + LIBS += -L/usr/local/lib -lglfw CXXFLAGS = -I../../ -I../libs/gl3w -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include CXXFLAGS += -Wall -Wformat