Previous Thread
Next Thread
Print Thread
Page 5 of 7 1 2 3 4 5 6 7
#73829 - 10/24/11 02:34 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Jul 2008
Posts: 72
franciscohs Offline
Member
franciscohs  Offline
Member

Joined: Jul 2008
Posts: 72
Argentina
Thanks and sorry, I usually do, just didn't realize that specific thread was discussing the same problem I had.

#77198 - 02/11/12 01:55 AM Re: New build instructions for SDLMAME on Mac OS X [Re: R. Belmont]  
Joined: Jul 2008
Posts: 72
franciscohs Offline
Member
franciscohs  Offline
Member

Joined: Jul 2008
Posts: 72
Argentina
Originally Posted By R. Belmont
What version of OS X? "sdlvideo_init: initialization failed!" is currently a known incompatibility with 10.7 Lion in full-screen mode. You can play in windowed mode while we wait for the SDL guys to cough up a fix.


It seems this hasn't been fixed yet, right?, tried with last full release (0.145)

I upgraded to lion a couple of weeks ago and was still using a mame binary compiled under snow leopard, and with this binary I don't get this error when I execute it in lion. So it doesn't seem to be lion or the source code by themselves, but how it's compiled under lion. Am I right about this?, is it a problem with the newest Xcode?

#77977 - 03/06/12 08:44 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Aug 2011
Posts: 5
dasaint80 Offline
Member
dasaint80  Offline
Member

Joined: Aug 2011
Posts: 5
Argentina, USA
ok I'm stuck on step 3 when I type "make -j3" it tells me command not found. what am I doing wrong? where should terminal be? mame source folder?

#77979 - 03/06/12 09:02 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
francisohs: Fullscreen on Lion needs the new SDL 1.2.15. Go to http://www.libsdl.org/ and install the new package.

dasaint80: That error indicates you haven't installed Xcode.

#78001 - 03/07/12 07:01 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Apr 2004
Posts: 1,549
judge Offline
Very Senior Member
judge  Offline
Very Senior Member

Joined: Apr 2004
Posts: 1,549
On OSX Lion I had to install Xcode and then from inside Xcode install the additional "Command line tools" package (Preferences -> Downloads) to get things working for me.

#78002 - 03/07/12 07:10 PM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
Ahh, didn't know that was separate now. I'll update the instructions.

#92796 - 02/10/14 01:29 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Feb 2007
Posts: 540
Sune Offline
Senior Member
Sune  Offline
Senior Member

Joined: Feb 2007
Posts: 540
Brazil
svn 27585, clean compile, Mavericks, Xcode 5.02:

Code:
Linking mame64...
Undefined symbols for architecture x86_64:
  "typeinfo for centronics_device", referenced from:
      device_finder<centronics_device, false>::findit(bool) in amiga.a(alg.o)
      device_finder<centronics_device, false>::findit(bool) in amiga.a(arcadia.o)
      device_finder<centronics_device, false>::findit(bool) in amiga.a(cd32.o)
      device_finder<centronics_device, false>::findit(bool) in amiga.a(mquake.o)
      device_finder<centronics_device, false>::findit(bool) in amiga.a(upscope.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mame64] Error 1

#92798 - 02/10/14 02:21 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
Yeah, it's a known thing. It'll get fixed when smf wakes up tomorrow presumably.

#92801 - 02/10/14 03:32 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Feb 2007
Posts: 540
Sune Offline
Senior Member
Sune  Offline
Senior Member

Joined: Feb 2007
Posts: 540
Brazil
I thought I was being clever trying to build with PTR64=0 just now. But it stops in the same place laugh

Maybe you want to see this, I had to use NOWERROR=1 to get past these:
Code:
Compiling src/emu/cpu/arm/arm.c...
Compiling src/emu/cpu/arm7/arm7.c...
Compiling src/emu/cpu/arm7/arm7thmb.c...
src/osd/sdl/debugosx.m:832:69: error: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long'
      instead [-Werror,-Wformat]
                        NSString        *title = [NSString stringWithFormat:@"%ld-byte Chunks", tag];
                                                                              ~~~               ^~~
                                                                                                (long)
src/osd/sdl/debugosx.m:835:63: error: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long'
      instead [-Werror,-Wformat]
  ...keyEquivalent:[NSString stringWithFormat:@"%ld", tag]
                                                ~~~   ^~~
                                                      (long)
2 errors generated.
make: *** [obj/sdl/osd/sdl/debugosx.o] Error 1

I guess they haven't been caught because nobody builds 32-bit SDLMAME anymore.

#92803 - 02/10/14 03:42 AM Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
OS X Intel is very much a 64-bit only club now, especially with 10.9 being a free upgrade to anyone all the way back.

Let me be very clear before anyone else hurts something trying to be clever: current SVN does not build on Windows official tools. It does not build on Linux GCC. It does not build on Windows MSVC. It does not build on Clang on either Linux or OS X. It does not build on GCC on OS X. You cannot build it in your house. You cannot build it by clicking your mouse. It's not just you, it's really broken.

Page 5 of 7 1 2 3 4 5 6 7

Moderated by  R. Belmont 

Who's Online Now
2 registered members (Edstrom, Reznor007), 17 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,436
Posts109,404
Members4,766
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.029s Queries: 14 (0.008s) Memory: 5.0251 MB (Peak: 5.2529 MB) Zlib enabled. Server Time: 2017-11-22 13:18:11 UTC