Previous Thread
Next Thread
Print Thread
Page 5 of 7 1 2 3 4 5 6 7
Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #73829 10/24/11 02:34 AM
Joined: Jul 2008
Posts: 72
F
franciscohs Offline
Member
Offline
Member
F
Joined: Jul 2008
Posts: 72
Thanks and sorry, I usually do, just didn't realize that specific thread was discussing the same problem I had.

Re: New build instructions for SDLMAME on Mac OS X [Re: R. Belmont] #77198 02/11/12 01:55 AM
Joined: Jul 2008
Posts: 72
F
franciscohs Offline
Member
Offline
Member
F
Joined: Jul 2008
Posts: 72
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?

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #77977 03/06/12 08:44 PM
Joined: Aug 2011
Posts: 5
D
dasaint80 Offline
Member
Offline
Member
D
Joined: Aug 2011
Posts: 5
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?

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #77979 03/06/12 09:02 PM
Joined: Mar 2001
Posts: 16,273
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,273
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.

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #78001 03/07/12 07:01 PM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
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.

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #78002 03/07/12 07:10 PM
Joined: Mar 2001
Posts: 16,273
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,273
Ahh, didn't know that was separate now. I'll update the instructions.

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #92796 02/10/14 01:29 AM
Joined: Feb 2007
Posts: 548
S
Sune Offline
Senior Member
Offline
Senior Member
S
Joined: Feb 2007
Posts: 548
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

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #92798 02/10/14 02:21 AM
Joined: Mar 2001
Posts: 16,273
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,273
Yeah, it's a known thing. It'll get fixed when smf wakes up tomorrow presumably.

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #92801 02/10/14 03:32 AM
Joined: Feb 2007
Posts: 548
S
Sune Offline
Senior Member
Offline
Senior Member
S
Joined: Feb 2007
Posts: 548
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.

Re: New build instructions for SDLMAME on Mac OS X [Re: MAMEBase] #92803 02/10/14 03:42 AM
Joined: Mar 2001
Posts: 16,273
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,273
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
0 registered members (), 150 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,673
Posts113,788
Members4,852
Most Online418
Aug 14th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3