|
Joined: Jul 2008
Posts: 72
Member
|
Member
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
Member
|
Member
Joined: Jul 2008
Posts: 72 |
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
Member
|
Member
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: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
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,563 Likes: 12
Very Senior Member
|
Very Senior Member
Joined: Apr 2004
Posts: 1,563 Likes: 12 |
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: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Ahh, didn't know that was separate now. I'll update the instructions.
|
|
|
|
Joined: Feb 2007
Posts: 549
Senior Member
|
Senior Member
Joined: Feb 2007
Posts: 549 |
svn 27585, clean compile, Mavericks, Xcode 5.02:
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: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Yeah, it's a known thing. It'll get fixed when smf wakes up tomorrow presumably.
|
|
|
|
Joined: Feb 2007
Posts: 549
Senior Member
|
Senior Member
Joined: Feb 2007
Posts: 549 |
I thought I was being clever trying to build with PTR64=0 just now. But it stops in the same place Maybe you want to see this, I had to use NOWERROR=1 to get past these:
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: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
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.
|
|
|
Forums9
Topics9,320
Posts121,929
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|