简体   繁体   中英

GLEW and GLFW .dylib files missing MAC

For some reason when I install GLEW and GLFW the lib folders are empty. I can't locate the .dylib files anywhere. Anyone have any ideas? Using a Mac running Sierra.

glfw still needs to be compiled for your mac. The ReadMe file in the download folder will direct you to this link

http://www.glfw.org/docs/latest/compile.html#compile_deps_xcode

for directions on compiling glfw. An alternative an easy way to get glfw installed on your system is to use homebrew. If you don't already have homebrew you can install it in terminal with the command

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"

Then glfw can be installed by the terminal command

brew install glfw3

The .dylib files will then likely be located in the directories /usr/local/Cellar/glfw and /usr/local/lib

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM