Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
MAME64 0.205 fails to compile in macOS #114472
12/26/18 04:07 AM
12/26/18 04:07 AM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
Greetings. I started a compile of the latest version that was just released and this error was thrown in the build process:

Code
Clang 10.0.0 detected
Objective-C compiling 3rdparty/bgfx/src/glcontext_nsgl.mm...
In file included from ../../../../../3rdparty/bgfx/src/glcontext_nsgl.mm:11:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:29:
/Library/Frameworks/AE.framework/Headers/AppleEvents.h:597:165: error: expected
      function body after function declarator
  ...AEEventID theAEEventID, Boolean askUserIfNeeded ) __OSX_AVAILABLE_STARTI...
                                                       ^
In file included from ../../../../../3rdparty/bgfx/src/glcontext_nsgl.mm:6:
In file included from ../../../../../3rdparty/bgfx/src/bgfx_p.h:22:
In file included from ../../../../../3rdparty/bgfx/include/bgfx/bgfx.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:94:
In file included from /usr/include/stdlib.h:61:
/usr/include/Availability.h:216:50: note: expanded from macro
      '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:12:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_14
^
1 error generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/3rdparty/bgfx/src/glcontext_nsgl.o] Error 1
make[1]: *** [bgfx] Error 2
make: *** [macosx_x64_clang] Error 2


Any thoughts?

Thanks.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114473
12/26/18 06:54 AM
12/26/18 06:54 AM
Joined: Feb 2004
Posts: 2,051
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,051
Sydney, Australia
You'll need to give the exact versions of macOS and Xcode, and any special options you're trying to use. It's definitely built successfully on macOS since we updated to the latest bx and bgfx.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114474
12/26/18 09:36 AM
12/26/18 09:36 AM
Joined: May 1999
Posts: 554
Luxembourg
Carbon Offline
Senior Member
Carbon  Offline
Senior Member
Joined: May 1999
Posts: 554
Luxembourg
Yep, 0.205 compiled out-of-the-box on macOS 10.14.2 with Xcode 10.1.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114475
12/26/18 01:01 PM
12/26/18 01:01 PM
Joined: Mar 2001
Posts: 16,235
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,235
USA
Yup, I did a full build on latest Mojave before release, twice even.

Re: MAME64 0.205 fails to compile in macOS [Re: Vas Crabb] #114476
12/26/18 02:31 PM
12/26/18 02:31 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
Originally Posted by Vas Crabb
You'll need to give the exact versions of macOS and Xcode, and any special options you're trying to use. It's definitely built successfully on macOS since we updated to the latest bx and bgfx.


I have a dev build of MacOS (either a late 10.14.2 or 10.14.3 beta 1, as 10.14.3 Beta 2 is available to download now) with the latest non-beta Xcode (10.1).

And I don't think that I'm compiling with any unusual parameters. -j5 and PTR64=1 are all that I'm using.

If there is anything else that I have to provide, let me know. Thanks.

Last edited by Llaffer; 12/26/18 03:20 PM.
Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114477
12/26/18 06:33 PM
12/26/18 06:33 PM
Joined: Mar 2001
Posts: 16,235
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,235
USA
That should be fine if you also have the latest SDL framework (2.0.9 is hard-required for Mojave). I'm on 10.14.3 Beta 2 right now and everything builds fine.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114478
12/26/18 06:59 PM
12/26/18 06:59 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
I'll check. I thought I updated to the latest SDL last month when I noticed I was about a year behind.

EDIT: I have the 2.0.9 version installed (dated 10-31-18). I re-installed a clean copy on top of it just in case and will attempt to compile again.

Last edited by Llaffer; 12/26/18 07:08 PM.
Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114487
12/28/18 04:40 PM
12/28/18 04:40 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
Was there anything else that I needed to provide that may help figure out why my build is failing?

Thanks.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114491
12/28/18 07:24 PM
12/28/18 07:24 PM
Joined: Jul 2007
Posts: 220
California
M
Monotremata Offline
Senior Member
Monotremata  Offline
Senior Member
M
Joined: Jul 2007
Posts: 220
California
Does it work without using PTR64=1??? I just built it yesterday with no trouble.. Mine's a fresh, week old install of 10.14.2, SDL 2.0.9 framework, and just using "Xcode-select -install" to install the command line tools as opposed to downloading the whole Xcode app Ill never use. I just use the basic old "make -j5 TOOLS=1 REGENIE=1" every time. Shouldn't have to use PTR64=1 at all.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114492
12/28/18 07:28 PM
12/28/18 07:28 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
I'll give that a try. Thanks.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114495
12/28/18 08:04 PM
12/28/18 08:04 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
Still failing for me.

I did a clean pull from the git 205 tag for source code.

I have XCode fully installed with the command-line tools in place (this is usually how I've done my builds). I did have SDL 2.0.9 installed last month when I built 204, so that shouldn't have changed.

I did try a build with:

Code
make -j3 TOOLS=1 REGENIE=1


and still fails, but seems to throw a different message this time. After the build failed, I ran "make" again with "-j1" instead to try to narrow down the error and this is what I see:

Code
Done. Generated 370/370 projects.
Objective-C compiling src/tools/aueffectutil.mm...
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:29:
/Library/Frameworks/AE.framework/Headers/AppleEvents.h:597:165: error: expected
      function body after function declarator
  ...AEEventID theAEEventID, Boolean askUserIfNeeded ) __OSX_AVAILABLE_STARTI...
                                                       ^
In file included from ../../../../../src/tools/aueffectutil.mm:3:
In file included from /usr/include/AvailabilityMacros.h:233:
/usr/include/Availability.h:216:50: note: expanded from macro
      '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:54:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_14
^
../../../../../src/tools/aueffectutil.mm:259:43: warning: 'NSSmallControlSize'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        [[genericViewButton cell] setControlSize:NSSmallControlSize];
                                                 ^~~~~~~~~~~~~~~~~~
                                                 NSControlSizeSmall
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:106:28: note: 
      'NSSmallControlSize' has been explicitly marked deprecated here
static const NSControlSize NSSmallControlSize NS_DEPRECATED_WITH_REPLACE...
                           ^
../../../../../src/tools/aueffectutil.mm:271:38: warning: 'NSSmallControlSize'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        [[presetButton cell] setControlSize:NSSmallControlSize];
                                            ^~~~~~~~~~~~~~~~~~
                                            NSControlSizeSmall
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:106:28: note: 
      'NSSmallControlSize' has been explicitly marked deprecated here
static const NSControlSize NSSmallControlSize NS_DEPRECATED_WITH_REPLACE...
                           ^
../../../../../src/tools/aueffectutil.mm:272:93: warning: 'NSSmallControlSize'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  ...systemFontSizeForControlSize:NSSmallControlSize]]];
                                  ^~~~~~~~~~~~~~~~~~
                                  NSControlSizeSmall
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:106:28: note: 
      'NSSmallControlSize' has been explicitly marked deprecated here
static const NSControlSize NSSmallControlSize NS_DEPRECATED_WITH_REPLACE...
                           ^
../../../../../src/tools/aueffectutil.mm:300:23: warning: 'NSTitledWindowMask'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  ...styleMask:(NSTitledWindowMask |
                ^~~~~~~~~~~~~~~~~~
                NSWindowStyleMaskTitled
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32: note: 
      'NSTitledWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSTitledWindowMask NS_DEPRECATED_WITH_REP...
                               ^
../../../../../src/tools/aueffectutil.mm:301:14: warning: 
      'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12
      [-Wdeprecated-declarations]
  ...NSClosableWindowMask |
     ^~~~~~~~~~~~~~~~~~~~
     NSWindowStyleMaskClosable
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:32: note: 
      'NSClosableWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSClosableWindowMask NS_DEPRECATED_WITH_R...
                               ^
../../../../../src/tools/aueffectutil.mm:302:14: warning: 
      'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS
      10.12 [-Wdeprecated-declarations]
  ...NSMiniaturizableWindowMask)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     NSWindowStyleMaskMiniaturizable
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:957:32: note: 
      'NSMiniaturizableWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSMiniaturizableWindowMask NS_DEPRECATED_...
                               ^
../../../../../src/tools/aueffectutil.mm:350:47: warning: 
      'propertyListFromData:mutabilityOption:format:errorDescription:' is
      deprecated: first deprecated in macOS 10.10 - Use
      propertyListWithData:options:format:error: instead.
      [-Wdeprecated-declarations]
        id const desc = [NSPropertyListSerialization propertyListFromData:data
                                                     ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:48:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h:58:1: note: 
      'propertyListFromData:mutabilityOption:format:errorDescription:' has been
      explicitly marked deprecated here
+ (nullable id)propertyListFromData:(NSData *)data mutabilityOption:(NSP...
^
../../../../../src/tools/aueffectutil.mm:651:52: warning: 
      'dataFromPropertyList:format:errorDescription:' is deprecated: first
      deprecated in macOS 10.10 - Use dataWithPropertyList:format:options:error:
      instead. [-Wdeprecated-declarations]
        NSData *const data = [NSPropertyListSerialization dataFromProper...
                                                          ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:48:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h:54:1: note: 
      'dataFromPropertyList:format:errorDescription:' has been explicitly marked
      deprecated here
+ (nullable NSData *)dataFromPropertyList:(id)plist format:(NSPropertyLi...
^
../../../../../src/tools/aueffectutil.mm:700:10: warning: 
      'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' is
      deprecated: first deprecated in macOS 10.10 - Use
      -beginSheetModalForWindow:completionHandler: instead
      [-Wdeprecated-declarations]
                [alert beginSheetModalForWindow:window modalDelegate:ni...
                       ^
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:176:1: note: 
      'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' has
      been explicitly marked deprecated here
- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(nulla...
^
../../../../../src/tools/aueffectutil.mm:718:10: warning: 
      'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' is
      deprecated: first deprecated in macOS 10.10 - Use
      -beginSheetModalForWindow:completionHandler: instead
      [-Wdeprecated-declarations]
                [alert beginSheetModalForWindow:window modalDelegate:ni...
                       ^
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:176:1: note: 
      'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' has
      been explicitly marked deprecated here
- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(nulla...
^
../../../../../src/tools/aueffectutil.mm:731:10: warning: 
      'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' is
      deprecated: first deprecated in macOS 10.10 - Use
      -beginSheetModalForWindow:completionHandler: instead
      [-Wdeprecated-declarations]
                [alert beginSheetModalForWindow:window modalDelegate:ni...
                       ^
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:176:1: note: 
      'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' has
      been explicitly marked deprecated here
- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(nulla...
^
../../../../../src/tools/aueffectutil.mm:796:37: warning: 'NSCommandKeyMask' is
      deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        [item setKeyEquivalentModifierMask:NSCommandKeyMask | NSAlternat...
                                           ^~~~~~~~~~~~~~~~
                                           NSEventModifierFlagCommand
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:16:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 
      'NSCommandKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask            NS_DEPRECA...
                                  ^
../../../../../src/tools/aueffectutil.mm:796:56: warning: 'NSAlternateKeyMask'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  ...| NSAlternateKeyMask];
       ^~~~~~~~~~~~~~~~~~
       NSEventModifierFlagOption
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:16:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 
      'NSAlternateKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSAlternateKeyMask          NS_DEPRECA...
                                  ^
../../../../../src/tools/aueffectutil.mm:898:24: warning: 'NSWarningAlertStyle'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                [alert setAlertStyle:NSWarningAlertStyle];
                                     ^~~~~~~~~~~~~~~~~~~
                                     NSAlertStyleWarning
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:180:27: note: 
      'NSWarningAlertStyle' has been explicitly marked deprecated here
static const NSAlertStyle NSWarningAlertStyle NS_DEPRECATED_WITH_REPLACE...
                          ^
../../../../../src/tools/aueffectutil.mm:914:52: warning: 
      'dataFromPropertyList:format:errorDescription:' is deprecated: first
      deprecated in macOS 10.10 - Use dataWithPropertyList:format:options:error:
      instead. [-Wdeprecated-declarations]
        NSData *const data = [NSPropertyListSerialization dataFromProper...
                                                          ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:48:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:6:
/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h:54:1: note: 
      'dataFromPropertyList:format:errorDescription:' has been explicitly marked
      deprecated here
+ (nullable NSData *)dataFromPropertyList:(id)plist format:(NSPropertyLi...
^
../../../../../src/tools/aueffectutil.mm:920:24: warning: 'NSWarningAlertStyle'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                [alert setAlertStyle:NSWarningAlertStyle];
                                     ^~~~~~~~~~~~~~~~~~~
                                     NSAlertStyleWarning
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:180:27: note: 
      'NSWarningAlertStyle' has been explicitly marked deprecated here
static const NSAlertStyle NSWarningAlertStyle NS_DEPRECATED_WITH_REPLACE...
                          ^
../../../../../src/tools/aueffectutil.mm:942:25: warning: 'NSWarningAlertStyle'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        [alert setAlertStyle:NSWarningAlertStyle];
                                             ^~~~~~~~~~~~~~~~~~~
                                             NSAlertStyleWarning
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:180:27: note: 
      'NSWarningAlertStyle' has been explicitly marked deprecated here
static const NSAlertStyle NSWarningAlertStyle NS_DEPRECATED_WITH_REPLACE...
                          ^
../../../../../src/tools/aueffectutil.mm:982:21: warning: 'CountComponents' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        long const count = CountComponents(&effectFilter);
                           ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87:
/Library/Frameworks/CarbonCore.framework/Headers/Components.h:487:1: note: 
      'CountComponents' has been explicitly marked deprecated here
CountComponents(ComponentDescription * looking)               __OSX_AVAI...
^
../../../../../src/tools/aueffectutil.mm:986:24: warning: 'NSWarningAlertStyle'
      is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                [alert setAlertStyle:NSWarningAlertStyle];
                                     ^~~~~~~~~~~~~~~~~~~
                                     NSAlertStyleWarning
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:180:27: note: 
      'NSWarningAlertStyle' has been explicitly marked deprecated here
static const NSAlertStyle NSWarningAlertStyle NS_DEPRECATED_WITH_REPLACE...
                          ^
../../../../../src/tools/aueffectutil.mm:995:21: warning: 'FindNextComponent' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        Component effect = FindNextComponent(0, &effectFilter);
                           ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87:
/Library/Frameworks/CarbonCore.framework/Headers/Components.h:469:1: note: 
      'FindNextComponent' has been explicitly marked deprecated here
FindNextComponent(
^
../../../../../src/tools/aueffectutil.mm:996:63: warning: 'FindNextComponent' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
  ...(long i = 0; (i < count) && (effect != 0); i++, effect = FindNextCompone...
                                                              ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87:
/Library/Frameworks/CarbonCore.framework/Headers/Components.h:469:1: note: 
      'FindNextComponent' has been explicitly marked deprecated here
FindNextComponent(
^
../../../../../src/tools/aueffectutil.mm:999:29: warning: 'NewHandle' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
                Handle const nameHandle = NewHandle(4);
                                          ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:63:
/Library/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1: note: 
      'NewHandle' has been explicitly marked deprecated here
NewHandle(Size byteCount)                                     __OSX_AVAI...
^
../../../../../src/tools/aueffectutil.mm:1000:24: warning: 'GetComponentInfo' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
                OSStatus const err = GetComponentInfo(effect, &effectDes...
                                     ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87:
/Library/Frameworks/CarbonCore.framework/Headers/Components.h:503:1: note: 
      'GetComponentInfo' has been explicitly marked deprecated here
GetComponentInfo(
^
../../../../../src/tools/aueffectutil.mm:1007:4: warning: 'HLock' is deprecated:
      first deprecated in macOS 10.8 [-Wdeprecated-declarations]
                        HLock(nameHandle);
                        ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:63:
/Library/Frameworks/CarbonCore.framework/Headers/MacMemory.h:725:1: note: 
      'HLock' has been explicitly marked deprecated here
HLock(Handle h)                                               __OSX_AVAI...
^
../../../../../src/tools/aueffectutil.mm:1012:4: warning: 'HUnlock' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
                        HUnlock(nameHandle);
                        ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:63:
/Library/Frameworks/CarbonCore.framework/Headers/MacMemory.h:791:1: note: 
      'HUnlock' has been explicitly marked deprecated here
HUnlock(Handle h)                                             __OSX_AVAI...
^
../../../../../src/tools/aueffectutil.mm:1025:3: warning: 'DisposeHandle' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
                DisposeHandle(nameHandle);
                ^
In file included from ../../../../../src/tools/aueffectutil.mm:4:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:63:
/Library/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1278:1: note: 
      'DisposeHandle' has been explicitly marked deprecated here
DisposeHandle(Handle h)                                       __OSX_AVAI...
^
../../../../../src/tools/aueffectutil.mm:1043:24: warning: 
      'NSWarningAlertStyle' is deprecated: first deprecated in macOS 10.12
      [-Wdeprecated-declarations]
                [alert setAlertStyle:NSWarningAlertStyle];
                                     ^~~~~~~~~~~~~~~~~~~
                                     NSAlertStyleWarning
In file included from ../../../../../src/tools/aueffectutil.mm:5:
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AUCocoaUIView.h:1:
In file included from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUCocoaUIView.h:13:
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:16:
/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:180:27: note: 
      'NSWarningAlertStyle' has been explicitly marked deprecated here
static const NSAlertStyle NSWarningAlertStyle NS_DEPRECATED_WITH_REPLACE...
                          ^
27 warnings and 1 error generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/src/tools/aueffectutil.o] Error 1
make[1]: *** [aueffectutil] Error 2
make: *** [macosx_x64_clang] Error 2


The same error near the top that I got before, but then a whole bunch of other warnings afterwards. Not sure if that makes a different here, so included them just in case as they were thrown after the error was thrown.

Thanks again for helping.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114599
01/30/19 05:26 PM
01/30/19 05:26 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
Having the same problem with 206, I think I found a solution.

I manually removed the 10.14 Command Line Tools and re-installed an older set:

Code
cd /Library/Developer
sudo mv CommandLineTools CommandLineTools.bak


Then went to the developer download site: https://developer.apple.com/download/more/

and downloaded and installed "Command Line Tools (macOS 10.13) for Xcode 9.4.1 dated June 13, 2018.

After installing that package, the builds work (at least didn't fail at the 15 min mark like it did before).

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114600
01/30/19 06:31 PM
01/30/19 06:31 PM
Joined: Mar 2001
Posts: 16,235
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,235
USA
I'm building fine on Xcode 10.1 and the latest Mojave beta, so I'm not sure what's going on for you.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114603
01/30/19 08:10 PM
01/30/19 08:10 PM
Joined: May 2016
Posts: 31
L
Llaffer Offline OP
Member
Llaffer  Offline OP
Member
L
Joined: May 2016
Posts: 31
Yeah. I'm not sure either.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114608
01/31/19 02:21 PM
01/31/19 02:21 PM
Joined: May 1999
Posts: 554
Luxembourg
Carbon Offline
Senior Member
Carbon  Offline
Senior Member
Joined: May 1999
Posts: 554
Luxembourg
0.206 built for me on Mojave, but, aside from the usual compilation warnings (almost all of the "device deprecated..." type) this time I had a ton of linking warnings, too, but the resulting executable runs everything just fine AFAICT.

Re: MAME64 0.205 fails to compile in macOS [Re: Llaffer] #114610
01/31/19 02:43 PM
01/31/19 02:43 PM
Joined: Mar 2001
Posts: 16,235
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,235
USA
Yeah, we're getting deep enough into deprecated on some things now that it's impairing debugger functionality. I'm going to look at #ifdefing some stuff to use newer idioms.

Page 1 of 2 1 2

Moderated by  R. Belmont 

Who's Online Now
0 registered members (), 137 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,666
Posts113,616
Members4,850
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.066s Queries: 14 (0.033s) Memory: 5.8126 MB (Peak: 6.0781 MB) Zlib enabled. Server Time: 2019-07-23 04:47:16 UTC