GLFW/glfw3.h file not found

Discussion in 'Mac Programming' started by moonman239, Mar 11, 2016.

  1. moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #1
    I've been trying for the past couple hours to get my GLFW setup all configured and stuff. Now, I think I have everything I need (thanks, homebrew), and I have an Xcode project in which I've added "libglfw3.3.1.dylib" to my linked libraries. However, Xcode complains that glfw3.h couldn't be found and I don't know how to fix that. Some other guy mentioned adding some kind of include file to my "header search path"s, but I can't figure out what he's talking about. Does he mean the "include" directory?
     
  2. teagls macrumors regular

    Joined:
    May 16, 2013
    #2
    You need to tell Xcode where the headers are that homebrew installed for GLFW. They are usually in something like /usr/local/include
     

Share This Page