忍者ブログ

素人翻訳

適当に翻訳する。

xorg-serverを作った時のエラー

「./configure」でエラー。OpenGLが無い?

[test6@localhost xorg-server-1.12.2]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
...
...
...
checking for XLIB... yes
checking for GL... no
configure: error: Package requirements (glproto >= 1.4.14 gl >= 7.1.0) were not met:

No package 'gl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GL_CFLAGS
and GL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[test6@localhost xorg-server-1.12.2]$

MesaLib-7.9.2、libdrm-2.4.27等をインストールして解決。
最初はMesaLib-7.8を使ったため、下で紹介するエラーが出た。

もう一度「./configure」でエラー。

[test6@localhost xorg-server-1.12.2]$ ./configure
...
...
...
checking for SHA1_Init in -lcrypto... no
checking for OPENSSL... no
checking for SHA1 implementation... configure: error: No suitable SHA1 implementation found
[test6@localhost xorg-server-1.12.2]$

openssl-OpenSSL_1_1_1fをインストールして解決。

「make」でもエラー。

[test6@localhost xorg-server-1.12.2]$ make
...
...
...
CC indirect_size_get.lo
indirect_size_get.c: In function '__glGetBooleanv_size':
indirect_size_get.c:602: error: 'GL_RESET_NOTIFICATION_STRATEGY_ARB' undeclared (first use in this function)
indirect_size_get.c:602: error: (Each undeclared identifier is reported only once
indirect_size_get.c:602: error: for each function it appears in.)
indirect_size_get.c:733: error: 'GL_SAMPLER_BINDING' undeclared (first use in this function)
make[1]: *** [indirect_size_get.lo] エラー 1
make[1]: ディレクトリ `/home/test6/X11R7.7/xserver/xorg-server-1.12.2/glx' から出ます
make: *** [all-recursive] エラー 1
[test6@localhost xorg-server-1.12.2]$

MesaLib-7.8の「glext.h」には 「GL_RESET_NOTIFICATION_STRATEGY_ARB」が無い。
MesaLib-7.9.2の「glext.h」には 「GL_RESET_NOTIFICATION_STRATEGY_ARB」がある。
MesaLib-7.9.2をインストールして解決。

PR

[ffplay]SDL: could not set video mode - exiting[VineLinux6.3]

ffplay実行でエラー。

ffmpeg-3.3.9のffplayで、

[test6@localhost]$ ffplay aaa.mp4
ffplay version 3.3.9 Copyright (c) 2003-2018 the FFmpeg developers
built with gcc 4.4.5 (GCC) 20101001 (Vine Linux 4.4.5-6.1vl6)
configuration: --disable-yasm
...
...
...
Failed to initialize a hardware accelerated renderer: Couldn't find matching render driver
SDL: could not set video mode - exiting

[test6@localhost]$

ffmpeg-3.2.14のffplayで、

[test6@localhost]$ ffplay aaa.mp4
ffplay version 3.2.14 Copyright (c) 2003-2019 the FFmpeg developers
built with gcc 4.4.5 (GCC) 20101001 (Vine Linux 4.4.5-6.1vl6)
configuration: --disable-yasm
...
...
...
SDL: could not set video mode - exiting
vq= 16KB sq= 0B f=0/0

[test6@localhost]$

MesaLib-7.9.2、libdrm-2.4.27等をインストールし、SDL2、ffmpegを作り直して解決。
X11関連のファイルは、SDL2の構築に必要な分は最初からインストールしてあった。

SDL-1.2.15を使用するffmpeg-2.8.15のffplayに比べると、動画の再生が滑らかでない。画面がぼやけていて、カクカクしている。なぜ?

カレンダー

03 2024/04 05
S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

最新コメント

[08/18 NONAME]
[05/18 NONAME]
[04/09 NONAME]
[03/21 NONAME]
[03/20 NONAME]

最新記事

ブログ内検索

広告

バーコード

広告