Show: Today's Messages :: Show Polls :: Message Navigator |
macOS Big Sur - can't get 1.27.0-UNSTABLE to compile [message #6445] | Wed, 12 May 2021 08:44 | |||
| ||||
I'm using the following config options: ./configure --without-libsndfile --build=x86_64-apple-darwin19.2.0 --disable-apple2 --disable-gb --disable-gba --disable-lynx --disable-md --disable-nes --disable-ngp --disable-pce --disable-pce-fast --disable-pcfx --disable-psx --disable-sms --disable-snes --disable-snes-faust --disable-ssfplay --disable-vb --disable-wswan SDL_CFLAGS='-I/usr/local/include/SDL2 -static' CFLAGS='-O3' CXXFLAGS='-O3' Any tips? --- [blah blah blah]$ make Making all in po Making all in intl make[1]: Nothing to be done for `all'. Making all in src Making all in drivers depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=gnu++11 -fsigned-char -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I/usr/local/include/SDL2 -static -I../../include -I../../include -I../../intl -I/usr/local/include -fno-fast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fstrict-aliasing -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization -Werror=write-strings -fno-pic -fno-pie -fno-PIC -fno-PIE -fwrapv -fjump-tables -mno-retpoline -mcmodel=small -fexceptions -O3 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.cpp &&\ mv -f $depbase.Tpo $depbase.Po In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:55: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:309: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:417: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37: ../../intl/version:1:1: error: unknown type name 'GNU' GNU gettext library from gettext-0.18.1, with Mednafen-specific changes for Win32 ^ ../../intl/version:1:12: error: expected ';' after top level declarator GNU gettext library from gettext-0.18.1, with Mednafen-specific changes for Win32 ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:58: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:309: ../../intl/version:1:1: error: unknown type name 'GNU' GNU gettext library from gettext-0.18.1, with Mednafen-specific changes for Win32 ^ ../../intl/version:1:12: error: expected ';' after top level declarator GNU gettext library from gettext-0.18.1, with Mednafen-specific changes for Win32 ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:107:48: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:109:6: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:110:19: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? int mbsinit(const mbstate_t *); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:112:6: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:123:44: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:139:6: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:196:21: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? size_t, mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:204:21: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? size_t, mbstate_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:189:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos<mbstate_t> streampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:190:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos<mbstate_t> wstreampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:195:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos<mbstate_t> u16streampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:46: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:196:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'? typedef fpos<mbstate_t> u32streampos; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here } __mbstate_t; ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:61: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:79:14: error: expected class name : public exception ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:102:14: error: expected class name : public exception ^ In file included from main.cpp:18: In file included from ./main.h:4: In file included from ../../include/mednafen/driver.h:4: In file included from ../../include/mednafen/mednafen.h:4: In file included from ../../include/mednafen/types.h:64: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:199: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tuple:33:25: error: no template named 'is_volatile' typename enable_if<!is_volatile<_Tp>::value>::type, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [main.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 192-168-1-5:mednafen john$ | ||||
|
Re: macOS Big Sur - can't get 1.27.0-UNSTABLE to compile [message #6446 is a reply to message #6445 ] | Wed, 12 May 2021 10:51 | |||
| ||||
rm intl/VERSION | ||||
|
Re: macOS Big Sur - can't get 1.27.0-UNSTABLE to compile [message #6448 is a reply to message #6446 ] | Sun, 16 May 2021 08:04 | |||
| ||||
Thanks - you're a magician! Oh and for completeness, I changed my config options to: ./configure --build=x86_64-apple-darwin20.3.0 --disable-apple2 --disable-gb --disable-gba --disable-lynx --disable-md --disable-nes --disable-ngp --disable-pce --disable-pce-fast --disable-pcfx --disable-psx --disable-sms --disable-snes --disable-snes-faust --disable-ssfplay --disable-vb --disable-wswan SDL_CFLAGS='-I/usr/local/include/SDL2 -static' CFLAGS='-O3' CXXFLAGS='-O3' | ||||
|
Previous Topic: | Triggering Anti-Modchip |
Next Topic: | Mednafen for Tiny Core Linux |