[英]Installing gosu on Mac OS X
我正在嘗試在Mac上安裝gosu。 我使用了命令:
sudo gem install gosu
輸入密碼后,我得到的提示是:
Building native extensions. This could take a while...
但是,然后出現此錯誤:
ERROR: Error installing gosu:
ERROR: Failed to build gem native extension.
有誰有解決此問題的想法? 我不知道為什么會這樣說。
你可以試試
sudo gem install gosu
如果仍然不起作用,請執行以下操作
- install Homebrew (google it)
- run brew install sdl2.
- run sudo gem install gosu
如果仍然無法解決問題,請嘗試從這里獲取答案
希望有幫助!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.