Previous Thread
Next Thread
Print Thread
Page 5 of 8 1 2 3 4 5 6 7 8
Joined: Jul 2008
Posts: 72
F
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.

Joined: Jul 2008
Posts: 72
F
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?

Joined: Aug 2011
Posts: 5
D
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?

Joined: Mar 2001
Posts: 16,652
Likes: 1
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,652
Likes: 1
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.

Joined: Apr 2004
Posts: 1,554
J
Very Senior Member
Online Content
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.

Joined: Mar 2001
Posts: 16,652
Likes: 1
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,652
Likes: 1
Ahh, didn't know that was separate now. I'll update the instructions.

Joined: Feb 2007
Posts: 548
S
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

Joined: Mar 2001
Posts: 16,652
Likes: 1
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,652
Likes: 1
Yeah, it's a known thing. It'll get fixed when smf wakes up tomorrow presumably.

Joined: Feb 2007
Posts: 548
S
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.

Joined: Mar 2001
Posts: 16,652
Likes: 1
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,652
Likes: 1
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 8 1 2 3 4 5 6 7 8

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (judge), 23 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,854
Posts116,541
Members4,927
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5