我試圖編譯最新版本的SDL,SDL版本2.0.1。我嘗試從Mercurial編譯SDL。SDL 2.0.1 Linux編譯錯誤
checking for working volatile... no
checking for GCC -MMD -MT option... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking stdio.h usability... no
checking stdio.h presence... no
checking for stdio.h... no
checking for stdlib.h... (cached) yes
checking stddef.h usability... no
checking stddef.h presence... no
checking for stddef.h... no
checking stdarg.h usability... no
checking stdarg.h presence... no
checking for stdarg.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking ctype.h usability... no
checking ctype.h presence... no
.
.
.
.
checking dbus/dbus.h usability... no
checking dbus/dbus.h presence... no
checking for dbus/dbus.h... no
checking for Linux 2.4 unified input interface... no
checking for Linux kd.h... no
checking for Touchscreen library support... no
config.status: creating SDL2.spec
config.status: creating sdl2.pc
config.status: creating include/SDL_config.h
config.status: executing libtool commands
我接收的./configure沒有的噸,當我試圖運行,使其顯示此消息:
Makefile:226: *** missing separator. Stop.
所有與下列消息執行./configure時,似乎罰款消息背後的原因是什麼?有誰知道修復?
您的系統不適合編譯源代碼。通過'檢查GCC -MMD -MT選項......否'你可能甚至沒有gcc。在這種情況下,很難說出爲什麼要編譯SDL。安裝編譯器和相應的開發庫(最終會有很多這樣的庫) – keltar
是否安裝了編譯SDL所需的要求?又名'apt-get install build-essential'在debian上就像系統 – Mali
我已經安裝了build-essential及其最新版本。 GCC也安裝。 –