Linux下安裝SDL

首先下載SDL源碼庫,SDL2-2.0.8.tar.gz   解壓,而後依次執行命令./configure        make     make install 若是出現Could not initialize SDL - No available video device (Did you set the DISPLAY variable?)錯誤 說明系統中沒有安裝x11的庫文件,所以編譯出
相關文章
相關標籤/搜索