Skip to content

[feature request] Allow building with shared lua #8153

Open
@ofry

Description

@ofry

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

Allow building with shared lua (instead of baked-in) for debugging purposes.

Expected behavior

Should be option in configure script

Actual behavior

$ ./configure --help
Checking operating system ... Win32
====================
 Quickbuild script
====================
Package: retroarch

General environment variables:
  CC:         C compiler
  CFLAGS:     C compiler flags
  CXX:        C++ compiler
  CXXFLAGS:   C++ compiler flags
  LDFLAGS:    Linker flags

General options:
  --prefix=PATH               Install path prefix
  --sysconfdir=PATH           System wide config file prefix
  --bindir=PATH               Binary install directory
  --datarootdir=PATH          Read-only data install directory
  --docdir=PATH               Documentation install directory
  --mandir=PATH               Manpage install directory
  --global-config-dir=PATH    System wide config file prefix (Deprecated)
  --build=BUILD               The build system (no-op)
  --host=HOST                 Cross-compile with HOST-gcc instead of gcc
  --help                      Show this help

Custom options:
  --with-libretro             Config   Libretro library used
  --with-assets_dir           Config   Assets install directory
  --with-bin_dir              Config   Binary install directory (Deprecated)
  --with-man_dir              Config   Manpage install directory (Deprecated)
  --with-opengles_libs        Config   Link flags for custom GLES library
  --with-opengles_cflags      Config   C-flags for custom GLES library
  --enable-caca               Enable   Libcaca support
  --enable-sixel              Enable   Libsixel support
  --enable-debug              Enable   Enable a debug build
  --disable-libretrodb        Disable  Libretrodb support
  --disable-menu              Disable  Enable menu drivers
  --enable-rgui               Enable   RGUI menu
  --disable-rgui              Disable  RGUI menu
  --enable-materialui         Enable   MaterialUI menu
  --disable-materialui        Disable  MaterialUI menu
  --enable-xmb                Enable   XMB menu
  --disable-xmb               Disable  XMB menu
  --enable-ozone              Enable   Ozone menu
  --disable-ozone             Disable  Ozone menu
  --enable-stripes            Enable   Stripes menu
  --enable-zarch              Enable   Zarch menu
  --disable-runahead          Disable  Runahead support
  --enable-ssl                Enable   SSL/mbedtls support
  --disable-ssl               Disable  SSL/mbedtls support
  --disable-builtinmbedtls    Disable  Bake in the mbedtls library
  --disable-overlay           Disable  Overlay support
  --disable-dynamic           Disable  Dynamic loading of libretro library
  --enable-sdl                Enable   SDL support
  --disable-sdl               Disable  SDL support
  --enable-sdl2               Enable   SDL2 support (disables SDL 1.x)
  --disable-sdl2              Disable  SDL2 support (disables SDL 1.x)
  --enable-libusb             Enable   Libusb HID support
  --disable-libusb            Disable  Libusb HID support
  --enable-dbus               Enable   dbus support
  --enable-systemd            Enable   Systemd support
  --disable-systemd           Disable  Systemd support
  --enable-udev               Enable   Udev/Evdev gamepad support
  --disable-udev              Disable  Udev/Evdev gamepad support
  --enable-threads            Enable   Threading support
  --disable-threads           Disable  Threading support
  --enable-thread_storage     Enable   Thread Local Storage support
  --disable-thread_storage    Disable  Thread Local Storage support
  --enable-ffmpeg             Enable   FFmpeg support
  --disable-ffmpeg            Disable  FFmpeg support
  --enable-mpv                Enable   MPV support
  --enable-ssa                Enable   SSA/ASS for FFmpeg subtitle support
  --disable-ssa               Disable  SSA/ASS for FFmpeg subtitle support
  --enable-dylib              Enable   Dynamic loading support
  --disable-dylib             Disable  Dynamic loading support
  --enable-networking         Enable   Networking features (recommended)
  --disable-networking        Disable  Networking features (recommended)
  --enable-networkgamepad     Enable   Networked game pad (plus baked-in core)
  --disable-networkgamepad    Disable  Networked game pad (plus baked-in core)
  --disable-netplaydiscovery  Disable  Add netplay discovery (room creation, etc.)
  --enable-miniupnpc          Enable   Mini UPnP client library (for NAT traversal)
  --disable-miniupnpc         Disable  Mini UPnP client library (for NAT traversal)
  --disable-builtinminiupnpc  Disable  Bake in Mini UPnP client library (for NAT traversal)
  --enable-d3d8               Enable   Direct3D 8 support
  --disable-d3d9              Disable  Direct3D 9 support
  --disable-d3d10             Disable  Direct3D 10 support
  --disable-d3d11             Disable  Direct3D 11 support
  --disable-d3d12             Disable  Direct3D 12 support
  --disable-d3dx              Disable  Direct3DX support
  --enable-opengl             Enable   OpenGL support
  --disable-opengl            Disable  OpenGL support
  --enable-mali_fbdev         Enable   Mali fbdev context support
  --enable-vivante_fbdev      Enable   Vivante fbdev context support
  --enable-opendingux_fbdev   Enable   Opendingux fbdev context support
  --enable-opengles           Enable   Use GLESv2 instead of desktop GL
  --enable-opengles3          Enable   OpenGLES3 support
  --enable-x11                Enable   everything X11.
  --disable-x11               Disable  everything X11.
  --enable-xrandr             Enable   Xrandr support.
  --disable-xrandr            Disable  Xrandr support.
  --enable-omap               Enable   OMAP video support
  --enable-xinerama           Enable   Xinerama support.
  --disable-xinerama          Disable  Xinerama support.
  --enable-kms                Enable   KMS context support
  --disable-kms               Disable  KMS context support
  --enable-plain_drm          Enable   Plain DRM video support
  --enable-exynos             Enable   Exynos video support
  --enable-dispmanx           Enable   Dispmanx video support
  --enable-sunxi              Enable   Sunxi video support
  --enable-wayland            Enable   Wayland support
  --disable-wayland           Disable  Wayland support
  --enable-egl                Enable   EGL context support
  --disable-egl               Disable  EGL context support
  --enable-vg                 Enable   OpenVG support
  --disable-vg                Disable  OpenVG support
  --enable-cg                 Enable   Cg shader support
  --disable-cg                Disable  Cg shader support
  --enable-hlsl               Enable   HLSL9 shader support (for Direct3D9)
  --enable-libxml2            Enable   libxml2 support
  --disable-libxml2           Disable  libxml2 support
  --enable-builtinzlib        Enable   Bake in zlib
  --enable-zlib               Enable   zlib support (ZIP extract, PNG decoding/encoding)
  --disable-zlib              Disable  zlib support (ZIP extract, PNG decoding/encoding)
  --enable-alsa               Enable   ALSA support
  --disable-alsa              Disable  ALSA support
  --enable-tinyalsa           Enable   TinyALSA support
  --disable-tinyalsa          Disable  TinyALSA support
  --enable-audioio            Enable   AudioIO support
  --disable-audioio           Disable  AudioIO support
  --enable-oss                Enable   OSS support
  --disable-oss               Disable  OSS support
  --enable-rsound             Enable   RSound support
  --disable-rsound            Disable  RSound support
  --enable-roar               Enable   RoarAudio support
  --disable-roar              Disable  RoarAudio support
  --enable-al                 Enable   OpenAL support
  --disable-al                Disable  OpenAL support
  --enable-jack               Enable   JACK support
  --disable-jack              Disable  JACK support
  --enable-coreaudio          Enable   CoreAudio support
  --disable-coreaudio         Disable  CoreAudio support
  --enable-pulse              Enable   PulseAudio support
  --disable-pulse             Disable  PulseAudio support
  --enable-freetype           Enable   FreeType support
  --disable-freetype          Disable  FreeType support
  --disable-stb_font          Disable  stb_truetype font support
  --disable-stb_image         Disable  stb image loading support
  --disable-stb_vorbis        Disable  stb vorbis support
  --disable-ibxm              Disable  IBXM support
  --enable-xvideo             Enable   XVideo support
  --disable-xvideo            Disable  XVideo support
  --enable-python             Enable   Python 3 support for shaders
  --enable-v4l2               Enable   Video4linux2 support
  --disable-v4l2              Disable  Video4linux2 support
  --enable-neon               Enable   ARM NEON optimizations
  --enable-sse                Enable   x86 SSE optimizations (SSE, SSE2)
  --enable-floathard          Enable   Force hard float ABI (for ARM)
  --enable-floatsoftfp        Enable   Force soft float ABI (for ARM)
  --disable-chd               Disable  Compile in chd support
  --disable-7zip              Disable  Compile in 7z support
  --enable-flac               Enable   Compile in flac support
  --disable-flac              Disable  Compile in flac support
  --disable-builtinflac       Disable  Bake in flac support
  --disable-update_assets     Disable  Disable downloading assets with online updater
  --enable-preserve_dylib     Enable   Enable dlclose() for Valgrind support
  --enable-parport            Enable   Parallel port joypad support
  --disable-parport           Disable  Parallel port joypad support
  --disable-imageviewer       Disable  Built-in image viewer support.
  --enable-mmap               Enable   MMAP support
  --disable-mmap              Disable  MMAP support
  --enable-qt                 Enable   Qt companion support
  --disable-qt                Disable  Qt companion support
  --enable-xshm               Enable   XShm video driver support
  --disable-cheevos           Disable  Retro Achievements
  --enable-new_cheevos        Enable   Use rcheevos to process RetroAchievements
  --enable-lua                Enable   Lua support (for Retro Achievements)
  --disable-discord           Disable  Discord Integration
  --disable-shaderpipeline    Disable  Additional shader-based pipelines
  --enable-vulkan             Enable   Vulkan support
  --disable-vulkan            Disable  Vulkan support
  --disable-vulkan_display    Disable  Vulkan KHR display backend support
  --disable-rpng              Disable  RPNG support
  --disable-rbmp              Disable  RBMP support
  --disable-rjpeg             Disable  RJPEG support
  --disable-rtga              Disable  RTGA support
  --disable-hid               Disable  Low-level HID (Human Interface Device) support
  --disable-langextra         Disable  Multi-language support
  --enable-osmesa             Enable   Off-screen Mesa rendering
  --enable-videoprocessor     Enable   Enable video processor core
  --disable-videoprocessor    Disable  Enable video processor core
  --enable-videocore          Enable   Broadcom Videocore 4 support
  --disable-videocore         Disable  Broadcom Videocore 4 support
  --enable-drmingw            Enable   DrMingw exception handler
  --disable-easteregg         Disable  Easter egg

Steps to reproduce the bug

  1. [First step]
  2. [Second step]
  3. [and so on...]

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

Environment information

  • OS: [The operating system you're running]
  • Compiler: [In case you are running local builds]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions