Comments (3)
I got it to compile, but what I didn't fully understand at the time was that the source code depends on statically linking to incbin (https://github.com/graphitemaster/incbin/) and tomlc99 (https://github.com/cktan/tomlc99/), in addition to building the m68k emulator beforehand.
Can the Meson build system be configured to autopull these git repos? If not, maybe automating it behind a shell script would be worthwhile. I could make a gist that does this later on.
You'll need to ensure you've installed the latest libsdl2-dev (sudo apt install libsdl2-dev
on Ubuntu 18.04).
To anyone else looking to compile off the current source as of 0c93bdb, try the following:
- Make sure you have meson 0.56 installed (
sudo apt install pip3
and thenpip3 install meson
to install it on Ubuntu 18.04). - Clone the source code if you haven't already, then cd into
./src/tomlc99
and clone the tomlc99 repo into that directory. - cd back into
./src
and then into./src/incbin
and clone the incbin repo into that directory. - cd back to the minivmac topmost directory, and cd into
./lib/M68k
, and runmake
. - cd back to the minivmac topmost directory once more, and then set up the meson build directory by running
meson setup builddir
. If you get an error about /usr/bin/meson not existing, restart bash because your environment isn't up to date after pip3 installed it. - Finally, run
meson compile -C ./builddir
. When this completes binary will be compiled and located in./builddir
.
Hope this helps.
from uvmac.
Keeping up to date with this, it does successfully start on WSL Ubuntu 18.04 running Xming as an x window host, but it isn't usable. This setup works with generally all SDL2 applications, so I doubt it is unique to this particular setup. The vmac window shows the Macintosh default checkerboard 512x384 for a brief, sub-1-second time period and then the window draws white a flat white color with no further way to give input and no menu bar.
The mouse cursor appears as the default Macintosh mouse cursor, or something like it.
from uvmac.
The above instructions fail in Arch latest using commit 0c93bdb. Here's the error:
[39/39] Linking target microvmac
FAILED: microvmac
cc -o microvmac microvmac.p/src_HW_DISK_IWMEMDEV.c.o microvmac.p/src_HW_DISK_SONYEMDV.c.o microvmac.p/src_PATCHES_SONYDRV.c.o microvmac.p/lib_M68K_m68kcpu.c.o microvmac.p/lib_M68K_m68kdasm.c.o microvmac.p/lib_M68K_m68kops.c.o microvmac.p/lib_M68K_softfloat_softfloat.c.o microvmac.p/lib_M68K_m68khooks.c.o microvmac.p/lib_M68K_m68kgdb.c.o microvmac.p/src_HW_RTC_RTCEMDEV.c.o microvmac.p/src_HW_SOUND_SNDEMDEV.c.o microvmac.p/src_HW_VIA_VIAEMDEV.c.o microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o microvmac.p/src_PATCHES_SCRNHACK.c.o microvmac.p/src_HW_SCC_SCCEMDEV.c.o microvmac.p/src_HW_SCSI_SCSIEMDV.c.o microvmac.p/src_HW_MOUSE_MOUSEMDV.c.o microvmac.p/src_HW_ROM_ROMEMDEV.c.o microvmac.p/src_HW_KBRD_KBRDEMDV.c.o microvmac.p/src_UI_COMOSGLU.c.o microvmac.p/src_UI_CONTROLM.c.o microvmac.p/src_UI_SDL2_OSGLUSD2.c.o microvmac.p/src_UI_SDL2_DBGLOG.c.o microvmac.p/src_UI_SDL2_DRIVES.c.o microvmac.p/src_UI_SDL2_INTL.c.o microvmac.p/src_UI_SDL2_KEYBOARD.c.o microvmac.p/src_UI_SDL2_MOUSE.c.o microvmac.p/src_UI_SDL2_ROM.c.o microvmac.p/src_UI_SDL2_SOUND.c.o microvmac.p/src_UI_SDL2_TIMEDATE.c.o microvmac.p/src_UI_SDL2_VIDEO.c.o microvmac.p/src_PROGMAIN.c.o microvmac.p/src_GLOBGLUE.c.o microvmac.p/src_CFGMAN.c.o microvmac.p/src_PATCHES_ROMEMDEV.c.o microvmac.p/src_UTIL_DATE2SEC.c.o microvmac.p/src_LANG_INTLCHAR.c.o microvmac.p/src_tomlc99_toml.c.o -Wl,--as-needed -Wl,--no-undefined -pthread -Wl,--start-group /usr/lib/libSDL2.so -Wl,--end-group
/usr/bin/ld: microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_HW_SCREEN_SCRNEMDV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_PATCHES_SCRNHACK.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_PATCHES_SCRNHACK.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_PATCHES_SCRNHACK.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_CONTROLM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_OSGLUSD2.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_DRIVES.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_INTL.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_KEYBOARD.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_MOUSE.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_ROM.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_SOUND.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_UI_SDL2_VIDEO.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_PROGMAIN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_PROGMAIN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_PROGMAIN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_CFGMAN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: multiple definition of `UseLargeScreenHack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:36: first defined here
/usr/bin/ld: microvmac.p/src_CFGMAN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: multiple definition of `ScreenColorBlack'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:37: first defined here
/usr/bin/ld: microvmac.p/src_CFGMAN.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: multiple definition of `ScreenColorWhite'; microvmac.p/src_PATCHES_SONYDRV.c.o:/home/halian/Downloads/minivmac/builddir/../src/HW/SCREEN/SCRNEMDV.h:38: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: multiple definition of `PbufAllocatedMask'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:83: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: multiple definition of `PbufSize'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:84: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: multiple definition of `ScreenChangedTop'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:146: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: multiple definition of `ScreenChangedLeft'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:147: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: multiple definition of `ScreenChangedBottom'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:148: first defined here
/usr/bin/ld: microvmac.p/src_LANG_INTLCHAR.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: multiple definition of `ScreenChangedRight'; microvmac.p/src_UI_COMOSGLU.c.o:/home/halian/Downloads/minivmac/builddir/../src/UI/COMOSGLU.h:149: first defined here
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
from uvmac.
Related Issues (9)
- RTC timer precision very inaccurate
- Cannot build due to nonexistent Musashi commit and missing files HOT 2
- Compilation instructions? HOT 3
- meson build fails: ERROR: File lib/M68K/m68kops.c does not exist. HOT 1
- Output is flipped with a MacPlus ROM HOT 6
- Require -z muldefs to build HOT 2
- Add unit testing
- Move build system to CMake + vcpkg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvmac.