Polytonic / Glitter

Dead Simple OpenGL
http://polytonic.github.io/Glitter/
2.48k stars 418 forks source link

New bugs after updating latest MacOSX.10.15.sdk #58

Open SaySilently opened 5 years ago

SaySilently commented 5 years ago

Hi, Kevin! Thanks to your awesome Glitter, I can build my program quickly! It helps a lot!

But recently I met a bug after updating latest MacOSX.10.15.sdk. I find I can not run it successfully because it says

error: unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'

Yes, that is true. Now that directory only has MacOSX.10.15.sdk.

I tried some solutions:

  1. Downloaded MacOSX.10.14.sdk in that directory and it does not work.
  2. Changed the CMAKE_OSX_SYSROOT:PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk to MacOSX10.15.sdk in the CMakeCache.txt but failed again.

Do you have some idea to solve it? Thanks a lot!

Polytonic commented 5 years ago

Hiya! Sorry for the delayed response. Have you tried (re)generating your CMake project? Delete everything in the Build/ directory and try running cmake again.