DOSBox-X 0.84.2 / 2022.08.0 released! (Announce)
Houston, we have a problem.
Attempting to build dosbox-x on slackware-64-current.
root@glennmcc-spare:~/build/dosbox-x-dosbox-x-v0.84.3# ./build-debug
hardware.cpp:63:4: error: #error Your libavcodec is too old. Update FFMPEG.
63 | # error Your libavcodec is too old. Update FFMPEG.
| ^~~~~
adlib.cpp: In function 'std::string getoplmode()':
adlib.cpp:1330:39: warning: NULL used in arithmetic [-Wpointer-arith]
1330 | if (Adlib::Module::oplmode == NULL || Adlib::Module::oplmode == OPL_none) return "None";
| ^~~~
hardware.cpp: In function 'void ffmpeg_audio_frame_send()':
hardware.cpp:163:33: error: 'av_packet_rescale_ts' was not declared in this scope
163 | av_packet_rescale_ts(&pkt,ffmpeg_aud_ctx->time_base,ffmpeg_aud_stream->time_base);
| ^~~~~~~~~~~~~~~~~~~~
hardware.cpp: In function 'void ffmpeg_flush_video()':
hardware.cpp:258:57: error: 'av_packet_rescale_ts' was not declared in this scope
258 | av_packet_rescale_ts(&pkt,ffmpeg_vid_ctx->time_base,ffmpeg_vid_stream->time_base);
| ^~~~~~~~~~~~~~~~~~~~
hardware.cpp: In function 'void ffmpeg_flushout()':
hardware.cpp:301:57: error: 'av_packet_rescale_ts' was not declared in this scope
301 | av_packet_rescale_ts(&pkt,ffmpeg_aud_ctx->time_base,ffmpeg_aud_stream->time_base);
| ^~~~~~~~~~~~~~~~~~~~
hardware.cpp: In function 'void ffmpeg_reopen_video(double, int)':
hardware.cpp:441:34: error: 'AV_CODEC_FLAG2_FAST' was not declared in this scope; did you mean 'CODEC_FLAG2_FAST'?
441 | ffmpeg_vid_ctx->flags2 = AV_CODEC_FLAG2_FAST;
| ^~~~~~~~~~~~~~~~~~~
| CODEC_FLAG2_FAST
hardware.cpp: In function 'void CAPTURE_AddImage(Bitu, Bitu, Bitu, Bitu, Bitu, float, uint8_t*, uint8_t*)':
hardware.cpp:1159:50: error: 'AV_CODEC_FLAG2_FAST' was not declared in this scope; did you mean 'CODEC_FLAG2_FAST'?
1159 | ffmpeg_vid_ctx->flags2 = AV_CODEC_FLAG2_FAST;
| ^~~~~~~~~~~~~~~~~~~
| CODEC_FLAG2_FAST
hardware.cpp:1451:49: error: 'av_packet_rescale_ts' was not declared in this scope
1451 | av_packet_rescale_ts(&pkt,ffmpeg_vid_ctx->time_base,ffmpeg_vid_stream->time_base);
| ^~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-int-to-void-pointer-cast' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-int-to-void-pointer-cast' may have been intended to silence earlier diagnostics
make[4]: *** [Makefile:798: hardware.o] Error 1
make[4]: *** Waiting for unfinished jobs....
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-int-to-void-pointer-cast' may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option '-Wno-int-to-void-pointer-cast' may have been intended to silence earlier diagnostics
make[4]: Leaving directory '/root/build/dosbox-x-dosbox-x-v0.84.3/src/hardware'
make[3]: *** [Makefile:820: all-recursive] Error 1
make[3]: Leaving directory '/root/build/dosbox-x-dosbox-x-v0.84.3/src/hardware'
make[2]: *** [Makefile:530: all-recursive] Error 1
make[2]: Leaving directory '/root/build/dosbox-x-dosbox-x-v0.84.3/src'
make[1]: *** [Makefile:399: all-recursive] Error 1
make[1]: Leaving directory '/root/build/dosbox-x-dosbox-x-v0.84.3'
make: *** [Makefile:332: all] Error 2
______________________
root@glennmcc-spare:~/build/dosbox-x-dosbox-x-v0.84.3# whereis ffmpeg
ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/man/man1/ffmpeg.1.gz /var/man/cat1/ffmpeg.1.xz
root@glennmcc-spare:~/build/dosbox-x-dosbox-x-v0.84.3# ls -l /usr/bin/ffmpeg
-rwxr-xr-x 1 root root 271384 Oct 9 20:56 /usr/bin/ffmpeg*
root@glennmcc-spare:~/build/dosbox-x-dosbox-x-v0.84.3# ffmpeg
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-5.1.2/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-gpl --enable-version3 --arch=x86_64 --disable-encoder=aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-libbluray --enable-libcaca --enable-libcdio --enable-frei0r --enable-openal --enable-libopus --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libmp3lame --enable-opencl --enable-opengl --enable-libopenjpeg
--enable-libpulse --enable-libsmbclient --enable-libxml2 --enable-librsvg --enable-vulkan --enable-libglslang --enable-libdrm
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
______________________________
root@glennmcc-spare:~/build/dosbox-x-dosbox-x-v0.84.3# whereis libavcodec
libavcodec: /usr/include/libavcodec /usr/man/man3/libavcodec.3.gz /usr/man/man3/libavcodec.3 /usr/man/man1/libavcodec.3
root@glennmcc-spare:~/build/dosbox-x-dosbox-x-v0.84.3# ls -l /usr/include/libavcodec
total 280
-rw-r--r-- 1 root root 1207 Oct 9 20:56 ac3_parser.h
-rw-r--r-- 1 root root 1354 Oct 9 20:56 adts_parser.h
-rw-r--r-- 1 root root 113770 Oct 9 20:56 avcodec.h
-rw-r--r-- 1 root root 2726 Oct 9 20:56 avdct.h
-rw-r--r-- 1 root root 3111 Oct 9 20:56 avfft.h
-rw-r--r-- 1 root root 11383 Oct 9 20:56 bsf.h
-rw-r--r-- 1 root root 13669 Oct 9 20:56 codec.h
-rw-r--r-- 1 root root 3847 Oct 9 20:56 codec_desc.h
-rw-r--r-- 1 root root 17112 Oct 9 20:56 codec_id.h
-rw-r--r-- 1 root root 7621 Oct 9 20:56 codec_par.h
-rw-r--r-- 1 root root 2853 Oct 9 20:56 d3d11va.h
-rw-r--r-- 1 root root 5349 Oct 9 20:56 defs.h
-rw-r--r-- 1 root root 4044 Oct 9 20:56 dirac.h
-rw-r--r-- 1 root root 3694 Oct 9 20:56 dv_profile.h
-rw-r--r-- 1 root root 2361 Oct 9 20:56 dxva2.h
-rw-r--r-- 1 root root 1650 Oct 9 20:56 jni.h
-rw-r--r-- 1 root root 3450 Oct 9 20:56 mediacodec.h
-rw-r--r-- 1 root root 23745 Oct 9 20:56 packet.h
-rw-r--r-- 1 root root 3763 Oct 9 20:56 qsv.h
-rw-r--r-- 1 root root 5102 Oct 9 20:56 vdpau.h
-rw-r--r-- 1 root root 1619 Oct 9 20:56 version.h
-rw-r--r-- 1 root root 2296 Oct 9 20:56 version_major.h
-rw-r--r-- 1 root root 4029 Oct 9 20:56 videotoolbox.h
-rw-r--r-- 1 root root 2285 Oct 9 20:56 vorbis_parser.h
-rw-r--r-- 1 root root 6136 Oct 9 20:56 xvmc.h
__________________________
---
--
http://glennmcc.org/
Complete thread:
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 02.08.2022, 01:50 (Announce)
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 03.08.2022, 17:31
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 03.08.2022, 23:19
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 04.08.2022, 07:25
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 04.08.2022, 08:20
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 04.08.2022, 11:21
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 24.08.2022, 06:01
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 26.08.2022, 17:32
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 27.08.2022, 06:24
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 27.08.2022, 06:48
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 27.08.2022, 16:35
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 27.08.2022, 06:48
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 27.08.2022, 06:24
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 28.08.2022, 03:49
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 26.08.2022, 17:32
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 24.08.2022, 06:01
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 04.08.2022, 11:21
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 04.08.2022, 08:20
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 04.08.2022, 07:25
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 03.08.2022, 23:19
- DOSBox-X 0.84.2 / 2022.08.0 released! - KormaX, 10.08.2022, 17:01
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 11.08.2022, 22:08
- DOSBox-X 0.84.2 / 2022.08.0 released! - KormaX, 11.08.2022, 23:22
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 21.08.2022, 01:43
- DOSBox-X 0.84.2 / 2022.08.0 released! - KormaX, 11.08.2022, 23:22
- DOSBox-X 0.84.2 / 2022.08.0 released! - Wengier, 11.08.2022, 22:08
- DOSBox-X 0.84.2 / 2022.08.0 released! - glennmcc, 30.12.2022, 07:01
- DOSBox-X 0.84.2 / 2022.08.0 released! - glennmcc, 30.12.2022, 07:49
- DOSBox-X 0.84.2 / 2022.08.0 released! - CandyMan, 09.01.2023, 13:00
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 09.01.2023, 16:38
- DOSBox-X 0.84.2 / 2022.08.0 released! - CandyMan, 09.01.2023, 19:05
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 10.01.2023, 09:26
- DOSBox-X 0.84.2 / 2022.08.0 released! - CandyMan, 09.01.2023, 19:05
- DOSBox-X 0.84.2 / 2022.08.0 released! - bretjohn, 10.01.2023, 18:09
- DOSBox-X 0.84.2 / 2022.08.0 released! - ecm, 10.01.2023, 22:03
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 11.01.2023, 16:48
- DOSBox-X 0.84.2 / 2022.08.0 released! - tkchia, 11.01.2023, 21:53
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 13.01.2023, 13:30
- DOSBox-X 0.84.2 / 2022.08.0 released! - tom, 13.01.2023, 15:07
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 13.01.2023, 13:30
- DOSBox-X 0.84.2 / 2022.08.0 released! - tkchia, 11.01.2023, 21:53
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 09.01.2023, 16:38
- DOSBox-X 0.84.2 / 2022.08.0 released! - CandyMan, 24.02.2023, 12:50
- DOSBox-X 0.84.2 / 2022.08.0 released! - Japheth, 03.08.2022, 17:31