Games
外部ライブラリのインストール
パッケージ名 | Ubuntu 18.04 (apt) | Mac (brew) |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALUT
Configuring library for ALUT-2.4.0.3..
cabal: Missing dependency on a foreign library:
* Missing (or bad) C library: alut
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
library file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
ALUT > * Missing (or bad) C library: alut
ALUT > This problem can usually be solved by installing the system package that
ALUT > provides this library (you may need the "-dev" version). If the library is
ALUT > already installed but in a non-standard location then you can use the flags
ALUT > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
ALUT > library file does exist, it may contain errors that are caught by the C
ALUT > compiler at the preprocessing stage. In this case you can re-run configure
ALUT > with the verbosity flag -v3 to see the error messages.
$ sudo apt install libalut-dev
$ brew install alut
bindings-GLFW
Configuring library for bindings-GLFW-3.3.1.0..
cabal: Missing dependencies on foreign libraries:
cabal: Failed to build bindings-GLFW-3.3.1.0 (which is required by
* Missing (or bad) C libraries: Xi, Xrandr, Xcursor, Xinerama
This problem can usually be solved by installing the system packages that
GLFW-b-3.3.0.0). See the build log above for details.
bindings-GLFW > * Missing (or bad) C libraries: GL, Xi, Xrandr, Xxf86vm, Xcursor, Xinerama
bindings-GLFW > This problem can usually be solved by installing the system packages that
bindings-GLFW > provide these libraries (you may need the "-dev" versions). If the libraries
bindings-GLFW > are already installed but in a non-standard location then you can use the
bindings-GLFW > flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If
bindings-GLFW > the library files do exist, it may contain errors that are caught by the C
bindings-GLFW > compiler at the preprocessing stage. In this case you can re-run configure
bindings-GLFW > with the verbosity flag -v3 to see the error messages.
$ sudo apt install \
libxi-dev \
libxrandr-dev \
libxcursor-dev \
libxinerama-dev
freenect
Configuring freenect-1.2...
cabal: Missing dependencies on foreign libraries:
* Missing (or bad) header file: libfreenect.h
* Missing (or bad) C libraries: freenect, freenect_sync
$ sudo apt install libfreenect-dev
$ brew install libfreenect pkg-config
FTGL
* Missing (or bad) C library: ftgl
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
library file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
FTGL > * Missing (or bad) C library: ftgl
FTGL > This problem can usually be solved by installing the system package that
FTGL > provides this library (you may need the "-dev" version). If the library is
FTGL > already installed but in a non-standard location then you can use the flags
FTGL > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
FTGL > library file does exist, it may contain errors that are caught by the C
FTGL > compiler at the preprocessing stage. In this case you can re-run configure
FTGL > with the verbosity flag -v3 to see the error messages.
$ sudo apt install libftgl-dev
$ brew install ftgl
OpenAL
Configuring library for OpenAL-1.7.0.5..
cabal: Missing dependency on a foreign library:
* Missing (or bad) C library: openal
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
library file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
OpenAL > * Missing (or bad) C library: openal
OpenAL > This problem can usually be solved by installing the system package that
OpenAL > provides this library (you may need the "-dev" version). If the library is
OpenAL > already installed but in a non-standard location then you can use the flags
OpenAL > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
OpenAL > library file does exist, it may contain errors that are caught by the C
OpenAL > compiler at the preprocessing stage. In this case you can re-run configure
OpenAL > with the verbosity flag -v3 to see the error messages.
$ sudo apt install libopenal-dev
OpenGLRaw
Configuring library for OpenGLRaw-3.3.4.0..
cabal: Missing dependency on a foreign library:
* Missing (or bad) C library: GL
See the build log above for details.
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
library file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
OpenGLRaw > * Missing (or bad) C library: GL
OpenGLRaw > This problem can usually be solved by installing the system package that
OpenGLRaw > provides this library (you may need the "-dev" version). If the library is
OpenGLRaw > already installed but in a non-standard location then you can use the flags
OpenGLRaw > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
OpenGLRaw > library file does exist, it may contain errors that are caught by the C
OpenGLRaw > compiler at the preprocessing stage. In this case you can re-run configure
OpenGLRaw > with the verbosity flag -v3 to see the error messages.
$ sudo apt-get install freeglut3-dev
haskell-gi
cabal: Could not resolve dependencies:
[__0] trying: sudokuhs-0.1.0.0 (user goal)
[__1] next goal: haskell-gi (dependency of sudokuhs)
[__1] rejecting: haskell-gi-0.23.0 (conflict: pkg-config package
gobject-introspection-1.0==1.32 || >1.32, not found in the pkg-config
database)
cabal: Could not resolve dependencies:
[__0] trying: sudokuhs-0.1.0.0 (user goal)
[__1] next goal: gi-pango (dependency of sudokuhs)
[__1] rejecting: gi-pango-1.0.22 (conflict: pkg-config package pango(==1.0 ||
>1.0) && <2, not found in the pkg-config database)
$ sudo apt install \
libgirepository1.0-dev \
libwebkit2gtk-4.0-dev \
libgtksourceview-3.0-dev
hcwiid
Configuring hcwiid-0.0.6.1...
cabal: Missing dependencies on foreign libraries:
* Missing (or bad) header file: cwiid.h
* Missing (or bad) C libraries: bluetooth, cwiid
hcwiid > configure
hcwiid > Warning: hcwiid.cabal:9:5: Tabs used as indentation at 9:5, 10:4, 11:4
hcwiid > Configuring hcwiid-0.0.6.1...
hcwiid > Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.2: Missing dependencies on foreign
hcwiid > libraries:
hcwiid > * Missing (or bad) header file: cwiid.h
hcwiid > * Missing (or bad) C libraries: bluetooth, cwiid
$ sudo apt install libcwiid-dev
ncurses
Configuring ncurses-0.2.16...
cabal: Missing dependencies on foreign libraries:
* Missing (or bad) C libraries: panelw, ncursesw
ncurses > configure
ncurses > Configuring ncurses-0.2.16...
ncurses > Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: Missing dependencies on foreign
ncurses > libraries:
ncurses > * Missing (or bad) C libraries: panelw, ncursesw
$ sudo apt install libncursesw5-dev
SDL
Configuring SDL-0.6.7.0...
configure: WARNING: unrecognized options: --with-compiler
checking for sdl-config... no
checking for sdl11-config... no
configure: error: *** SDL not found! Get SDL from www.libsdl.org.
$ sudo apt install libsdl1.2-dev
$ brew install sdl
$ sed -i -e "s/#define main SDL_main//" /usr/local/Cellar/sdl/1.2.15_1/include/SDL/SDL_main.h
SDL-image
Configuring SDL-ttf-0.6.3.0...
checking for sdl-config... /usr/bin/sdl-config
checking for gcc... /usr/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking for TTF_OpenFont in -lSDL_ttf... no
configure: error: *** SDL_ttf lib not found! Get SDL_ttf from
SDL-image > Configuring SDL-image-0.6.2.0...
SDL-image > configure: WARNING: unrecognized options: --with-compiler
SDL-image > checking for sdl-config... /usr/bin/sdl-config
SDL-image > checking for gcc... /usr/bin/gcc
SDL-image > checking whether the C compiler works... no
SDL-image > configure: error: in `/tmp/stack8491/SDL-image-0.6.2.0/.stack-work/dist/x86_64-linux/Cabal-3.0.1.0/build':
SDL-image > configure: error: C compiler cannot create executables
SDL-image > See `config.log' for more details.
$ sudo apt install libsdl-image1.2-dev
$ brew install sdl_image
SDL-mixer
cabal: Failed to build SDL-mixer-0.6.3.0. The failure occurred during the
SDL-mixer > Configuring SDL-mixer-0.6.3.0...
SDL-mixer > configure: WARNING: unrecognized options: --with-compiler
SDL-mixer > checking for sdl-config... /usr/bin/sdl-config
SDL-mixer > checking for gcc... /usr/bin/gcc
SDL-mixer > checking whether the C compiler works... no
SDL-mixer > configure: error: in `/tmp/stack8639/SDL-mixer-0.6.3.0/.stack-work/dist/x86_64-linux/Cabal-3.0.1.0/build':
SDL-mixer > configure: error: C compiler cannot create executables
$ sudo apt install libsdl-mixer1.2-dev
$ brew install sdl_mixer
SDL-ttf
Configuring SDL-ttf-0.6.3.0...
checking for sdl-config... /usr/bin/sdl-config
checking for gcc... /usr/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking for TTF_OpenFont in -lSDL_ttf... no
configure: error: *** SDL_ttf lib not found! Get SDL_ttf from
SDL-ttf > Configuring SDL-ttf-0.6.3.0...
SDL-ttf > checking for sdl-config... /usr/bin/sdl-config
SDL-ttf > checking for gcc... /usr/bin/gcc
SDL-ttf > checking for C compiler default output file name... a.out
SDL-ttf > checking whether the C compiler works... yes
SDL-ttf > checking whether we are cross compiling... no
SDL-ttf > checking for suffix of executables...
SDL-ttf > checking for suffix of object files... o
SDL-ttf > checking whether we are using the GNU C compiler... yes
SDL-ttf > checking whether /usr/bin/gcc accepts -g... yes
SDL-ttf > checking for /usr/bin/gcc option to accept ISO C89... none needed
SDL-ttf > checking for TTF_OpenFont in -lSDL_ttf... no
SDL-ttf > configure: error: *** SDL_ttf lib not found! Get SDL_ttf from
$ sudo apt install libsdl-ttf2.0-dev
$ brew install sdl_ttf
sdl2
sdl2 > configure
sdl2 > Configuring sdl2-2.4.1.0...
sdl2 > Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: The pkg-config package 'sdl2' version
sdl2 > >=2.0.4 is required but it could not be found.
$ sudo apt install libsdl2-dev
$ brew install sdl2 pkg-config
sdl2-image
cabal: Could not resolve dependencies:
[__0] trying: dino-rush-0.0.0 (user goal)
[__1] next goal: sdl2-image (dependency of dino-rush)
[__1] rejecting: sdl2-image-2.0.0 (conflict: pkg-config package
SDL2_image==2.0.0 || >2.0.0, not found in the pkg-config database)
sdl2-image > configure
sdl2-image > Configuring sdl2-image-2.0.0...
sdl2-image > Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.2: The pkg-config package 'SDL2_image'
sdl2-image > version ==2.0.0 || >2.0.0 is required but it could not be found.
$ sudo apt install libsdl2-image-dev
$ brew install sdl2_image
sdl2-mixer
cabal: Could not resolve dependencies:
[__0] trying: dino-rush-0.0.0 (user goal)
[__1] next goal: sdl2-mixer (dependency of dino-rush)
[__1] rejecting: sdl2-mixer-1.1.0 (conflict: pkg-config package
SDL2_mixer==2.0.0 || >2.0.0, not found in the pkg-config database)
sdl2-mixer > configure
sdl2-mixer > Configuring sdl2-mixer-1.1.0...
sdl2-mixer > Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.2: The pkg-config package 'SDL2_mixer'
sdl2-mixer > version ==2.0.0 || >2.0.0 is required but it could not be found.
$ sudo apt install libsdl2-mixer-dev
$ brew install sdl2_mixer
sdl2-ttf
cabal: Could not resolve dependencies:
[__0] trying: dino-rush-0.0.0 (user goal)
[__1] next goal: sdl2-ttf (dependency of dino-rush)
[__1] rejecting: sdl2-ttf-2.1.0 (conflict: pkg-config package SDL2_ttf==2.0.12
|| >2.0.12, not found in the pkg-config database)
sdl2-ttf > configure
sdl2-ttf > Configuring sdl2-ttf-2.1.0...
sdl2-ttf > Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.2: The pkg-config package 'SDL2_ttf'
sdl2-ttf > version ==2.0.12 || >2.0.12 is required but it could not be found.
$ sudo apt install libsdl2-ttf-dev
$ brew install sdl2_ttf
sdl2-gfx
sdl2-gfx > configure
sdl2-gfx > Configuring sdl2-gfx-0.2...
sdl2-gfx > Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: The pkg-config package 'SDL2_gfx'
sdl2-gfx > version >=1.0.1 is required but it could not be found.
$ sudo apt install libsdl2-gfx-dev
$ brew install sdl2_gfx
X11
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to build Xinerama... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/extensions/Xinerama.h usability... no
checking X11/extensions/Xinerama.h presence... no
checking for X11/extensions/Xinerama.h... no
WARNING: Xinerama headers not found. Building without Xinerama support
checking X11/extensions/Xrandr.h usability... no
checking X11/extensions/Xrandr.h presence... no
checking for X11/extensions/Xrandr.h... no
configure: error: X11/extensions/Xrandr.h (from libXrandr) is required
X11 > Configuring X11-1.9.1...
X11 > configure: WARNING: unrecognized options: --with-compiler
X11 > checking for gcc... /usr/bin/gcc
X11 > checking whether the C compiler works... yes
X11 > checking for C compiler default output file name... a.out
X11 > checking for suffix of executables...
X11 > checking whether we are cross compiling... no
X11 > checking for suffix of object files... o
X11 > checking whether we are using the GNU C compiler... yes
X11 > checking whether /usr/bin/gcc accepts -g... yes
X11 > checking for /usr/bin/gcc option to accept ISO C89... none needed
X11 > checking how to run the C preprocessor... /usr/bin/gcc -E
X11 > checking for X... libraries , headers
X11 > checking for gethostbyname... yes
X11 > checking for connect... yes
X11 > checking for remove... yes
X11 > checking for shmat... yes
X11 > checking for IceConnectionNumber in -lICE... yes
X11 > checking whether to build Xinerama... yes
X11 > checking for grep that handles long lines and -e... /bin/grep
X11 > checking for egrep... /bin/grep -E
X11 > checking for ANSI C header files... yes
X11 > checking for sys/types.h... yes
X11 > checking for sys/stat.h... yes
X11 > checking for stdlib.h... yes
X11 > checking for string.h... yes
X11 > checking for memory.h... yes
X11 > checking for strings.h... yes
X11 > checking for inttypes.h... yes
X11 > checking for stdint.h... yes
X11 > checking for unistd.h... yes
X11 > checking X11/extensions/Xinerama.h usability... no
X11 > checking X11/extensions/Xinerama.h presence... no
X11 > checking for X11/extensions/Xinerama.h... no
X11 > WARNING: Xinerama headers not found. Building without Xinerama support
X11 > checking X11/extensions/Xrandr.h usability... no
X11 > checking X11/extensions/Xrandr.h presence... no
X11 > checking for X11/extensions/Xrandr.h... no
X11 > configure: error: X11/extensions/Xrandr.h (from libXrandr) is required
$ sudo apt install \
libx11-dev \
libxrandr-dev \
libxinerama-dev \
libxss-dev
$ brew cask install xquartz
extra-lib-dirs:
- /opt/X11/lib
extra-include-dirs:
- /opt/X11/include
Last updated