zig2015 / sb7framework

0 stars 0 forks source link

cmake时“-- No package 'glfw3' found” #1

Open KrisuC opened 5 years ago

KrisuC commented 5 years ago
➜  build git:(master) cmake ..
-- Checking for module 'glfw3'
--   No package 'glfw3' found
CMake Error at /opt/local/share/cmake-3.11/Modules/FindPkgConfig.cmake:418 (message):
  A required package was not found
Call Stack (most recent call first):
  /opt/local/share/cmake-3.11/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
  CMakeLists.txt:27 (pkg_check_modules)

我是按照教程一步一步来的,请问您有遇到过相同的问题吗?

zig2015 commented 5 years ago
➜  build git:(master) cmake ..
-- Checking for module 'glfw3'
--   No package 'glfw3' found
CMake Error at /opt/local/share/cmake-3.11/Modules/FindPkgConfig.cmake:418 (message):
  A required package was not found
Call Stack (most recent call first):
  /opt/local/share/cmake-3.11/Modules/FindPkgConfig.cmake:585 (_pkg_check_modules_internal)
  CMakeLists.txt:27 (pkg_check_modules)

我是按照教程一步一步来的,请问您有遇到过相同的问题吗?

brew install glfw

brew上glfw3已经迁移为glfw了

liaoyd16 commented 11 months ago

Same problem here, even though I have run brew install glfw