nwhitehead / pzretro

libretro core to play PuzzleScript games
Other
11 stars 2 forks source link

Libretro buildbot #1

Open RobLoach opened 1 year ago

RobLoach commented 1 year ago

Would love to see PuzzleScript become one of the cores on the official buildbot. A few things we can do...

RobLoach commented 7 months ago

Summary of buildbot platform failures. 10 of the platforms compile successfully though....

libretro-build-wii, libretro-build-wiiu, libretro-build-ctr, libretro-build-ngc, libretro-build-psp

/opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++  -c -osrc/js.o src/js.cpp -DGIT_VERSION=\"" e18ada9"\" -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread -std=c++11 -fno-rtti  -D__LIBRETRO__ -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int   -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -I. -I./src
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++  -c -osrc/rng.o src/rng.cpp -DGIT_VERSION=\"" e18ada9"\" -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread -std=c++11 -fno-rtti  -D__LIBRETRO__ -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int   -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -I. -I./src
powerpc-eabi-g++: error: unrecognized command line option '-pthread'
Makefile:775: recipe for target 'src/graphics.o' failed
make: *** [src/graphics.o] Error 1
make: *** Waiting for unfinished jobs....
powerpc-eabi-g++: error: unrecognized command line option '-pthread'
/opt/devkitpro/devkitARM/bin/arm-none-eabi-g++  -c -osrc/rng.o src/rng.cpp -DGIT_VERSION=\"" e18ada9"\" -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread -std=c++11 -fno-rtti  -D__LIBRETRO__ -DARM11 -D_3DS -march=armv6k -mtune=mpcore -mfloat-abi=hard -mword-relocations -fomit-frame-pointer -fstrict-aliasing -ffast-math   -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -I. -I./src
arm-none-eabi-g++: error: unrecognized command-line option '-pthread'
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++  -c -osrc/rng.o src/rng.cpp -DGIT_VERSION=\"" e18ada9"\" -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread -std=c++11 -fno-rtti  -D__LIBRETRO__ -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int   -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -I. -I./src
powerpc-eabi-g++: error: unrecognized command-line option '-pthread'

android-arm64-v8a, android-armeabi-v7a, android-x86, android-x86_64

In file included from /builds/RobLoach/puzzlescript/jni/../src/gameloop.cpp:6:
/builds/RobLoach/puzzlescript/jni/../src/namespaced_bundled.h:7:12: fatal error: 'bundled.h' file not found
#  include "bundled.h"
           ^~~~~~~~~~~
1 error generated.

Need to add -DUSE_PRECOMPILED_BUNDLE https://github.com/nwhitehead/pzretro/pull/13

libretro-build-dingux-mips32

/opt/gcw0-toolchain/usr/bin/mipsel-linux-g++  -c -osrc/graphics.o src/graphics.cpp -fno-rtti -std=gnu++11 -DGIT_VERSION=\"" "\" -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread -std=c++11 -fno-rtti -fPIC -D__LIBRETRO__ -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float -fomit-frame-pointer   -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -I. -I./src
src/generator.cpp: In member function 'std::vector<float> Generator::generate()':
src/generator.cpp:82:29: error: 'abs' was not declared in this scope
     iphase = abs((int)fphase);
                             ^
src/generator.cpp:82:29: note: suggested alternative:
In file included from src/generator.cpp:3:0:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/include/c++/4.9.1/cmath:99:5: note:   'std::abs'
     abs(_Tp __x)
     ^
make: *** [Makefile:775: src/generator.o] Error 1
make: *** Waiting for unfinished jobs....
src/core.cpp: In function 'void retro_run()':
src/core.cpp:372:30: error: no match for 'operator[]' (operand types are 'std::map<int, bool>' and 'const std::initializer_list<const int>')
         if (!joypad_old_state[key] && input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, key)) {
                              ^
src/core.cpp:372:30: note: candidates are:
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/include/c++/4.9.1/map:61:0,
                 from src/core.cpp:6:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/include/c++/4.9.1/bits/stl_map.h:491:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = int; _Tp = bool; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, bool> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = bool; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = int]
       operator[](const key_type& __k)
       ^

libretro-build-dingux-odbeta-mips32, libretro-build-miyoo-arm32, libretro-build-retrofw-mips32

/opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc  -c -osrc/quickjs/quickjs.o src/quickjs/quickjs.c -std=gnu11 -DGIT_VERSION=\"" "\" -O2 -DNDEBUG -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -pthread -fPIC -D__LIBRETRO__ -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float -fomit-frame-pointer   -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -std=gnu99 -I. -I./src
src/quickjs/quickjs.c:33:10: fatal error: fenv.h: No such file or directory
   33 | #include <fenv.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:778: src/quickjs/quickjs.o] Error 1

libretro-build-windows-msvc05-i686

make: Entering directory '/c/GitLab-Runner/builds/-suKB9sF/2/RobLoach/puzzlescript'
cl.exe  -c -Fosrc/audio.o src/audio.cpp -DGIT_VERSION=\"" e18ada9"\" -MT -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -I. -I./src
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-pthread'
audio.cpp
c:\gitlab-runner\builds\-sukb9sf\2\robloach\puzzlescript\src\audio.h(3) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2
make: Leaving directory '/c/GitLab-Runner/builds/-suKB9sF/2/RobLoach/puzzlescript'
Exception: C:\Windows\TEMP\build_script542562712\script.ps1:261
Line |
 261 |  . Code -ne 0){throw "Build failed: make -C $Env:MAKEFILE_PATH -f $Env:M .
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Build failed: make -C . -f Makefile

Is cstdint not a thing in msvc05? We need the compat msvc from libretro-common.... https://github.com/libretro/libretro-common/blob/master/include/compat/msvc/stdint.h

https://github.com/nwhitehead/pzretro/pull/14

libretro-build-windows-msvc10-i686, libretro-build-windows-msvc10-x64

make: Entering directory '/c/GitLab-Runner/builds/-suKB9sF/1/RobLoach/puzzlescript'
cl.exe  -c -Fosrc/audio.o src/audio.cpp -DGIT_VERSION=\"" e18ada9"\" -MT -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -pthread  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs -I"" -I. -I./src
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-pthread'
audio.cpp
c:\gitlab-runner\builds\-sukb9sf\1\robloach\puzzlescript\src\graphics.h(4) : fatal error C1083: Cannot open include file: 'mutex': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2
make: Leaving directory '/c/GitLab-Runner/builds/-suKB9sF/1/RobLoach/puzzlescript'
Exception: C:\Windows\TEMP\build_script410501597\script.ps1:259
Line |
 259 |  . Code -ne 0){throw "Build failed: make -C $Env:MAKEFILE_PATH -f $Env:M .
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Build failed: make -C . -f Makefile

Missing mutex link in msvc.

libretro-build-libnx-aarch64, libretro-build-vita

aarch64-none-elf-gcc  -c -osrc/quickjs/libbf.o src/quickjs/libbf.c -DSWITCH=1 -U__linux__ -U__linux -DRARCH_INTERNAL -g -O3 -fPIE -I/opt/devkitpro/libnx/include/ -ffunction-sections -fdata-sections -ftls-model=local-exec -Wl,--allow-multiple-definition -specs=/opt/devkitpro/libnx/switch.specs  -D__SWITCH__ -DHAVE_LIBNX -march=armv8-a -mtune=cortex-a57 -mtp=soft -std=gnu11 -DGIT_VERSION=\"" e18ada9"\" -O2 -DNDEBUG -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -pthread  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro -I./src/quickjs  -std=gnu99 -I. -I./src
src/quickjs/quickjs.c: In function 'getTimezoneOffset':
src/quickjs/quickjs.c:43214:18: error: 'struct tm' has no member named 'tm_gmtoff'
43214 |         res = -tm.tm_gmtoff / 60;
      |                  ^

libretro-build-ps2

g++ -o puzzlescript_libretro.dll -shared -static-libgcc -static-libstdc++ -Wl,-no-undefined -Wl,-version-script=link.T ./src/sprite.o ./src/graphics.o ./src/pztime.o ./src/sfxr.o ./src/js.o ./src/rng.o ./src/core.o ./src/audio.o ./src/generator.o ./src/event.o ./src/gameloop.o ./src/quickjs/quickjs.o ./src/quickjs/libbf.o ./src/quickjs/libregexp.o ./src/quickjs/libunicode.o ./src/quickjs/cutils.o ./src/quickjs/quickjs-libc.o -pthread -ldl 
/usr/bin/ld: ./src/quickjs/libbf.o: relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
RobLoach commented 7 months ago

Follow up issues...

Android

/builds/RobLoach/puzzlescript/jni/../src/js.cpp:58:9: error: cannot use 'throw' with exceptions disabled
        throw std::runtime_error("js_getInt32 exception");
        ^
/builds/RobLoach/puzzlescript/jni/../src/js.cpp:67:9: error: cannot use 'throw' with exceptions disabled
        throw std::runtime_error("js_getNumber exception");
        ^
/builds/RobLoach/puzzlescript/jni/../src/js.cpp:77:9: error: cannot use 'throw' with exceptions disabled
        throw std::runtime_error("js_getString exception");

libretro-build-dingux-mips32

src/core.cpp:372:36: error: invalid cast from type 'const std::initializer_list<const int>' to type 'int'
         if (!joypad_old_state[(int)key] && input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, key)) {
                                    ^
src/core.cpp:372:89: error: cannot convert 'const std::initializer_list<const int>' to 'unsigned int' in argument passing
         if (!joypad_old_state[(int)key] && input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, key)) {

libretro-build-dingux-odbeta-mips32

/opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc  -c -osrc/quickjs/quickjs.o src/quickjs/quickjs.c -std=gnu11 -DGIT_VERSION=\"" "\" -O2 -DNDEBUG -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -lpthread -fPIC -D__LIBRETRO__ -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float -fomit-frame-pointer   -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs  -std=gnu99 -I. -I./src
src/quickjs/quickjs.c:33:10: fatal error: fenv.h: No such file or directory
   33 | #include <fenv.h>
      |          ^~~~~~~~

libretro-build-windows-msvc05-i686

$ $ErrorActionPreference = 'Stop' # collapsed multi-line command
make: Entering directory '/c/GitLab-Runner/builds/-suKB9sF/2/RobLoach/puzzlescript'
cl.exe  -c -Fosrc/audio.o src/audio.cpp -DGIT_VERSION=\"" e86a48a"\" -MT -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -lpthread  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs  -I. -I./src
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-lpthread'
audio.cpp
c:\gitlab-runner\builds\-sukb9sf\2\robloach\puzzlescript\src\audio.h(3) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2
make: Leaving directory '/c/GitLab-Runner/builds/-suKB9sF/2/RobLoach/puzzlescript'
Exception: C:\Windows\TEMP\build_script110870694\script.ps1:261

libretro-build-windows-msvc10-i686

cl.exe  -c -Fosrc/audio.o src/audio.cpp -DGIT_VERSION=\"" e86a48a"\" -MT -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -lpthread  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs -I"" -I. -I./src
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-lpthread'
audio.cpp
c:\gitlab-runner\builds\-sukb9sf\1\robloach\puzzlescript\src\graphics.h(4) : fatal error C1083: Cannot open include file: 'mutex': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2
make: Leaving directory '/c/GitLab-Runner/builds/-suKB9sF/1/RobLoach/puzzlescript'
Exception: C:\Windows\TEMP\build_script245178787\script.ps1:259

libretro-build-windows-msvc10-x64

cl.exe  -c -Fosrc/audio.o src/audio.cpp -DGIT_VERSION=\"" e86a48a"\" -MT -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -lpthread  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs -I"" -I. -I./src
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-lpthread'
audio.cpp
c:\gitlab-runner\builds\-sukb9sf\0\robloach\puzzlescript\src\graphics.h(4) : fatal error C1083: Cannot open include file: 'mutex': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2
make: Leaving directory '/c/GitLab-Runner/builds/-suKB9sF/0/RobLoach/puzzlescript'
Exception: C:\Windows\TEMP\build_script940301908\script.ps1:259
RobLoach commented 7 months ago

Android

Needs mutex

[arm64-v8a] SharedLibrary  : libretro.so
ld: error: undefined symbol: std::__ndk1::mutex::lock()
>>> referenced by __mutex_base:91 (/android-sdk-linux/ndk/22.0.7026061/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__mutex_base:91)
>>>               /builds/RobLoach/puzzlescript/obj/local/arm64-v8a/objs/retro//builds/RobLoach/puzzlescript/jni/__/src/audio.o:(audio::consume(int))
>>> referenced by __mutex_base:91 (/android-sdk-linux/ndk/22.0.7026061/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__mutex_base:91)
[armeabi-v7a] SharedLibrary  : libretro.so
ld: error: undefined symbol: malloc_usable_size
>>> referenced by quickjs.c:1705 (../src/quickjs/quickjs.c:1705)
>>>               /builds/RobLoach/puzzlescript/obj/local/armeabi-v7a/objs/retro//builds/RobLoach/puzzlescript/jni/__/src/quickjs/quickjs.o:(js_def_malloc)

dingux-mips32

/opt/gcw0-toolchain/usr/bin/mipsel-linux-g++ -o puzzlescript_libretro.so -shared -Wl,-version-script=link.T -Wl,-no-undefined ./src/audio.o ./src/core.o ./src/event.o ./src/gameloop.o ./src/generator.o ./src/graphics.o ./src/js.o ./src/pztime.o ./src/rng.o ./src/sfxr.o ./src/sprite.o ./src/quickjs/quickjs.o ./src/quickjs/libbf.o ./src/quickjs/libregexp.o ./src/quickjs/libunicode.o ./src/quickjs/cutils.o ./src/quickjs/quickjs-libc.o -lpthread -ldl 
./src/quickjs/quickjs.o: In function `js_def_malloc_usable_size':
quickjs.c:(.text+0x1d90): undefined reference to `malloc_usable_size'
RobLoach commented 7 months ago

retrofw

/opt/retrofw-toolchain/usr/bin/mipsel-linux-g++ -o puzzlescript_libretro.dll -shared -static-libgcc -static-libstdc++ -Wl,-no-undefined -Wl,-version-script=link.T ./src/audio.o ./src/core.o ./src/event.o ./src/gameloop.o ./src/generator.o ./src/graphics.o ./src/js.o ./src/pztime.o ./src/rng.o ./src/sfxr.o ./src/sprite.o ./src/quickjs-ng/quickjs.o ./src/quickjs-ng/libbf.o ./src/quickjs-ng/libregexp.o ./src/quickjs-ng/libunicode.o ./src/quickjs-ng/cutils.o ./src/quickjs-ng/quickjs-libc.o -lpthread -ldl 
/opt/retrofw-toolchain/bin/../lib/gcc/mipsel-RetroFW-linux-uclibc/11.2.0/../../../../mipsel-RetroFW-linux-uclibc/bin/ld: ./src/audio.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC

windows-msvc05-i686

audio.cpp
c:\gitlab-runner\builds\-sukb9sf\0\robloach\puzzlescript\src\audio.h(3) : fatal error C1083: Cannot open include file: 'cstdint': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2

windows-msvc10-i686

cl.exe  -c -Fosrc/audio.o src/audio.cpp -DGIT_VERSION=\"" a223b2f"\" -MT -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE  -D__LIBRETRO__    -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs-ng -I"" -I. -I./src
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
audio.cpp
c:\gitlab-runner\builds\-sukb9sf\0\robloach\puzzlescript\src\graphics.h(4) : fatal error C1083: Cannot open include file: 'mutex': No such file or directory
make: *** [Makefile:775: src/audio.o] Error 2

ctr, psp

/opt/devkitpro/devkitARM/bin/arm-none-eabi-g++  -c -osrc/rng.o src/rng.cpp -DGIT_VERSION=\"" a223b2f"\" -O2 -DNDEBUG -DUSE_PRECOMPILED_BUNDLE -lpthread -std=c++11 -fno-rtti  -D__LIBRETRO__ -DARM11 -D_3DS -march=armv6k -mtune=mpcore -mfloat-abi=hard -mword-relocations -fomit-frame-pointer -fstrict-aliasing -ffast-math   -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs-ng  -I. -I./src
In file included from src/graphics.cpp:1:
src/graphics.h:19:13: error: 'mutex' in namespace 'std' does not name a type
   19 | extern std::mutex mutex;
      |             ^~~~~
src/graphics.h:5:1: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
    4 | #include <mutex>
  +++ |+#include <mutex>
    5 | 

vita

arm-vita-eabi-gcc  -c -osrc/quickjs-ng/quickjs-libc.o src/quickjs-ng/quickjs-libc.c -DGIT_VERSION=\"" "\" -O2 -DNDEBUG -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -lpthread  -D__LIBRETRO__ -DVITA -fno-short-enums   -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs-ng  -std=gnu99 -I. -I./src
In file included from src/quickjs-ng/quickjs-libc.c:63:
/opt/vitasdk/arm-vita-eabi/include/termios.h:4:10: fatal error: sys/termios.h: No such file or directory
    4 | #include <sys/termios.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

wii

/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc  -c -osrc/quickjs-ng/quickjs-libc.o src/quickjs-ng/quickjs-libc.c -DGIT_VERSION=\"" a223b2f"\" -O2 -DNDEBUG -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -lpthread  -D__LIBRETRO__ -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int   -DNST_NO_ZLIB -I./src -I./src/libretro/include -I./src/quickjs-ng  -std=gnu99 -I. -I./src
src/quickjs-ng/quickjs-libc.c:62:10: fatal error: dlfcn.h: No such file or directory
   62 | #include <dlfcn.h>
      |          ^~~~~~~~~
compilation terminated.
RobLoach commented 7 months ago

It's compiling perfectly across 11 platforms. The remaining platform issues are...