1. I followed the installation procedure spelled out here:
https://gist.github.com/thales17/fb2e4c ... 4c6e832ad2
2. I then ran
Code: Select all
pacman -S autoconf automake pkg-config mingw-w64-x86_64-gtk2 gcc
4. I got this error:
Code: Select all
g++ -I../include -I. -I../CrossPlatform -I../uae_cpu -I../slirp -DHAVE_CONFIG_H -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -DX86_64_ASSEMBLY -DOPTIMIZED_FLAGS -DUSE_JIT -DUSE_JIT_FPU -DFPU_IEEE -O2 -IC:/msys64/mingw64/include/SDL2 -Dmain=SDL_main -c cdenable/ntcd.cpp -o obj/ntcd.o
cdenable/ntcd.cpp: In function 'int CdenableSysReadCdBytes(HANDLE, DWORD, DWORD, char*)':
cdenable/ntcd.cpp:208:24: error: cast from 'HANDLE' {aka 'void*'} to 'DWORD' {aka 'long unsigned in
'} loses precision [-fpermissive]
208 | in_buffer[0] = (DWORD)h;
| ^~~~~~~~
cdenable/ntcd.cpp:211:24: error: cast from 'char*' to 'DWORD' {aka 'long unsigned int'} loses precision [-fpermissive]
211 | in_buffer[3] = (DWORD)buf;
| ^~~~~~~~~~
make: *** [Makefile:151: obj/ntcd.o] Error 1