Sign in to follow this  

OpenGL Why do i need to use libglfw.dylib if I am statically linking against GLFW?

Recommended Posts

Hello everyone,
I'm trying to use GLFW in mac osx. I have already built the project (using "make cocoa" on the terminal), which generates libglfw.a, libglfw.dylib, and In my Xcode project I've added the Cocoa and OpenGL frameworks (in Build Phases/Link binary with libraries), and the libglfw.a static library. If i'm not mistaken (I'm new to this so I probably am), this should be enough to statically link against GLFW, and I should not need the dynamic library, but when I try to run the program, it says that libglfw.dylib could not be found. My question is, ¿why do i need the dynamic library If i am linking against GLFW statically?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this