Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Joined: May 1999
Posts: 579
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 579
Yeah, I applied the patch manually.

Joined: May 2016
Posts: 35
L
Member
Offline
Member
L
Joined: May 2016
Posts: 35
I tried a clean pull from the 208 release source and manually added the line in string_view.hpp.

I'm using the new dev tools that was released with Xcode 10.2.

These are the errors that I'm getting:

Code
Compiling src/osd/modules/lib/osdlib_macosx.cpp...
In file included from ../../../../../src/osd/modules/lib/osdlib_macosx.cpp:26:
In file included from /Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:13:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
In file included from ../../../../../src/osd/modules/lib/osdlib_macosx.cpp:26:
In file included from /Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:18:
/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:13:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:19:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:168:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
In file included from ../../../../../src/osd/modules/lib/osdlib_macosx.cpp:26:
In file included from /Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:44:6: error: 
      '__BIG_ENDIAN__' is not defined, evaluates to 0 [-Werror,-Wundef]
#if !__BIG_ENDIAN__ && !__LITTLE_ENDIAN__
     ^
/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:48:5: error: 
      '__BIG_ENDIAN__' is not defined, evaluates to 0 [-Werror,-Wundef]
#if __BIG_ENDIAN__ && __LITTLE_ENDIAN__
    ^
/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:441:5: error: 
      '__LLP64__' is not defined, evaluates to 0 [-Werror,-Wundef]
#if __LLP64__
    ^
/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:646:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:673:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
In file included from ../../../../../src/osd/modules/lib/osdlib_macosx.cpp:26:
In file included from /Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:49:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h:16:
In file included from /Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h:18:
/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:152:5: error: 
      'DEPLOYMENT_RUNTIME_SWIFT' is not defined, evaluates to 0
      [-Werror,-Wundef]
#if DEPLOYMENT_RUNTIME_SWIFT
    ^
In file included from ../../../../../src/osd/modules/lib/osdlib_macosx.cpp:26:
In file included from /Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:39:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/Script.h:17:
/Library/Frameworks/CarbonCore.framework/Headers/IntlResources.h:197:5: error: 
      '__BIG_ENDIAN__' is not defined, evaluates to 0 [-Werror,-Wundef]
#if __BIG_ENDIAN__
    ^
In file included from ../../../../../src/osd/modules/lib/osdlib_macosx.cpp:26:
In file included from /Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:24:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:67:
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:47:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:69:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:96:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:123:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:148:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:204:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:230:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
/Library/Frameworks/CarbonCore.framework/Headers/Math64.h:264:7: error: 
      'MATH64_USE_INLINE' is not defined, evaluates to 0 [-Werror,-Wundef]
  #if MATH64_USE_INLINE
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/ocore_sdl/src/osd/modules/lib/osdlib_macosx.o] Error 1
make[1]: *** [ocore_sdl] Error 2
make: *** [macosx_x64_clang] Error 2


Thoughts? Thanks.

Joined: Mar 2001
Posts: 16,859
Likes: 51
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,859
Likes: 51
Did you run Xcode after installing it and let it do the additional downloads? Because none of those errors are MAME related.

Joined: May 2016
Posts: 35
L
Member
Offline
Member
L
Joined: May 2016
Posts: 35
I thought that I did. I'll try it again.

Joined: May 2016
Posts: 35
L
Member
Offline
Member
L
Joined: May 2016
Posts: 35
I switched back to the older tools that I've been using for the last few months and got past that and getting the same errors that Carbon got.

I changed the added line to:

Code
#undef ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW


and it was able to get past that point and continue to build.

If this builds I'll try installing the new tools again and build to see if I still get the errors above or if that also builds.

Joined: May 2016
Posts: 35
L
Member
Offline
Member
L
Joined: May 2016
Posts: 35
Here's my update: With the updated #undef line above and the old tools, I could get it to build. But with the new tools, I get the errors that I previously posted at the top of page 2.

Joined: May 2016
Posts: 35
L
Member
Offline
Member
L
Joined: May 2016
Posts: 35
Here's an update from what I've learned.

I got access to a mac running standard 10.14.4 and everything builds fine.

So seems something with 10.14.5 beta is breaking the compiler. But at least I have something where I can do builds now reliably without having to revert to an older set of dev tools.

Joined: Mar 2001
Posts: 16,859
Likes: 51
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,859
Likes: 51
Yeah, I'm running the beta and MAME builds fine every time, so there's something weird and specific to your system going on. I'm glad you figured something out at least.

Page 2 of 2 1 2

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
2 members (gspat, shattered), 26 guests, and 5 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,018
Posts118,409
Members5,010
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com