Libraries: Difference between revisions

From vice-emu
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==External Libraries==
==in-tree==
VICE uses a few external libraries of which either header files or complete sources are included in the tree:
VICE uses a few external libraries of which either header files or complete sources are included in the tree (in src/lib)


* opencbm (src/opencbm.h) (https://sourceforge.net/p/opencbm/)
* opencbm(https://sourceforge.net/p/opencbm/)
** should get moved to src/lib/..
* P64
* P64 (src/lib/p64)
* libzmbv (https://github.com/mrdudz/libzmbv)
* ffmpeg (src/lib/libffmpeg)
* linenoise-ng (https://github.com/antirez/linenoise)
** building with `--enable-shared-ffmpeg` will fail when not root. VICE's configure triggers a build and install of liblame which tries to install into /usr/local/lib.
** building out-of-tree currently fails with:
<pre>In file included from ../../../vice/src/lib/libffmpeg/libavutil/avutil.h:289:0,
                from ../../../vice/src/lib/libffmpeg/libavutil/samplefmt.h:24,
                from ../../../vice/src/lib/libffmpeg/libavcodec/avcodec.h:31,
                from ../../../vice/src/lib/libffmpeg/libavformat/avformat.h:255,
                from ../../../vice/src/gfxoutputdrv/ffmpeglib.h:36,
                from ../../../vice/src/gfxoutputdrv/ffmpegdrv.c:37:
../../../vice/src/lib/libffmpeg/libavutil/common.h:50:10: fatal error: libavutil/avconfig.h: No such file or directory
#include "libavutil/avconfig.h"
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:507: recipe for target 'ffmpegdrv.o' failed</pre>


: '''TODO''': rip out ffmpeg from the tree, disable "internal" ffmpeg support
==Dependencies==
These libraries are required for certain features:
 
* ffmpeg (deprecated, our code is for v3 and then patched to support v4 - moving to v5 or v6 would require rewriting large parts)
: '''TODO''': disable/remove "internal" ffmpeg support
* libieee1284 (for parsid support) (https://github.com/twaugh/libieee1284/)


besides the above, other libraries are used which are currently linked dynamically and must be supplied as dlls for the windows port
besides the above, other libraries are used which are currently linked dynamically and must be supplied as dlls for the windows port
Line 26: Line 18:
* SDL
* SDL
* zlib
* zlib
** needed by: libzmbv, novte
* hardsid
* hardsid


[[Category:Developer]]
[[Category:Developer]]

Latest revision as of 13:35, 26 December 2023

in-tree

VICE uses a few external libraries of which either header files or complete sources are included in the tree (in src/lib)

Dependencies

These libraries are required for certain features:

  • ffmpeg (deprecated, our code is for v3 and then patched to support v4 - moving to v5 or v6 would require rewriting large parts)
TODO: disable/remove "internal" ffmpeg support

besides the above, other libraries are used which are currently linked dynamically and must be supplied as dlls for the windows port

  • SDL
  • zlib
    • needed by: libzmbv, novte
  • hardsid