Page 1 of 1

Windows MinGW build error BasiliskII

Posted: Mon Feb 08, 2021 8:11 pm
by emendelson
This for kanjitalk755. I tried to build the current code in MinGW under 64-bit Windows 10 but got this error from the "make" command:

Code: Select all

ether_windows.cpp: In function 'int slirp_add_redir(const char*)':
ether_windows.cpp:1716:5: error: 'inet_pton' was not declared in this scope
    !inet_pton(AF_INET, CTL_LOCAL, &guest_addr) :
ether_windows.cpp:1716:5: note: suggested alternative: 'inet_aton'
    !inet_pton(AF_INET, CTL_LOCAL, &guest_addr) :
make: *** [obj/ether_windows.o] Error 1
SheepShaver produces a similar error. I hope this is easy to fix!

Re: Windows MinGW build error BasiliskII

Posted: Tue Feb 09, 2021 12:20 am
by kanjitalk755
Currently, my fork is checked on MSYS2.
It cannot be built with MSYS.