Skip to content

a7800 build on Ubuntu 24.04 LTS #23

Description

@steux

Couldn't build / execute a7800 on Ubuntu 24.04LTS (Python version, etc). May I suggest a Docker file in order to ease the build of a7800 on any system ?

# To build: docker build -t a7800 .
# To execute: docker run -e DISPLAY=$DISPLAY --net=host -v $XAUTHORITY:/root/.Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix -v cart_to_test:/carts a7800 a7800 -cart /carts/cart_name

FROM ubuntu:18.04

RUN apt-get update -yq
RUN apt-get install build-essential python pkg-config -yq
RUN apt-get install qtbase5-dev -yq
RUN apt-get install libsdl2-dev libsdl2-ttf-dev libfontconfig-dev -yq
RUN apt-get clean -y

ADD . /a7800
WORKDIR /a7800
ENV QT_SELECT qt5
RUN make clean
RUN make -j8

VOLUME /app/logs

ENTRYPOINT ["/a7800/mame64"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions