OSX 10.10 (Yosemite) Bug

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: OSX 10.10 (Yosemite) Bug

Postby 2DForever » Fri Apr 15, 2016 4:59 am

Great, thanks Bart. The Make file now works and I have a Supermodel build. Bad news is the same graphics bug exists with the new renderer in (unless I need to enable it somehow?).
I have attached the makefile we've been working on (zipped so it can be uploaded here). Although we still have the black graphics issue in OSX, it's been nice to help out in some way!

If there's anything else I can do to help as an OSX tester, let me know.
Attachments
Makefile.SDL.OSX.GCC.zip
OSX Makefile
(2.43 KiB) Downloaded 180 times
2DForever
 
Posts: 27
Joined: Mon Feb 17, 2014 4:46 am

Re: OSX 10.10 (Yosemite) Bug

Postby Bart » Fri Apr 15, 2016 9:32 am

You have to enable it with -new3d.
User avatar
Bart
Site Admin
 
Posts: 2063
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: OSX 10.10 (Yosemite) Bug

Postby 2DForever » Fri Apr 15, 2016 3:59 pm

Oh jeez... I knew I read that somewhere! (choose your favourite face palm pic to insert here)

Anyway, happy to say I was wrong and it works perfectly!
Image

Bart, is it ok to post up the working OSX binary here in case others want it?
2DForever
 
Posts: 27
Joined: Mon Feb 17, 2014 4:46 am

Re: OSX 10.10 (Yosemite) Bug

Postby Bart » Fri Apr 15, 2016 4:26 pm

Sure! Go ahead.
User avatar
Bart
Site Admin
 
Posts: 2063
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: OSX 10.10 (Yosemite) Bug

Postby christian776 » Sat Apr 29, 2017 12:39 pm

Hi guys,

I've just updated to the latest version, and I'm also getting
Code: Select all
c++ Src/Util/Format.cpp -Iobj -ISrc/ -ISrc/OSD -ISrc/OSD/SDL/ -ISrc/Pkgs/ -ISrc/CPU/68K/Musashi -ISrc/Sound/MPEG  -c -Wall -O3 -DUSE_FILE32API -DSUPERMODEL_OSX -F/Library/Frameworks/ -std=c++11 -o obj/Format.o
c++ Src/OSD/Logger.cpp -Iobj -ISrc/ -ISrc/OSD -ISrc/OSD/SDL/ -ISrc/Pkgs/ -ISrc/CPU/68K/Musashi -ISrc/Sound/MPEG  -c -Wall -O3 -DUSE_FILE32API -DSUPERMODEL_OSX -F/Library/Frameworks/ -std=c++11 -o obj/Logger.o
In file included from Src/OSD/Logger.cpp:1:
Src/OSD/Logger.h:234:14: warning: private field 'm_debugLogFile' is not used [-Wunused-private-field]
        const char *m_debugLogFile;
                    ^
1 warning generated.
make: *** No rule to make target `obj/SDLMain_tmpl.o', needed by `all'.  Stop.


And I also made sure to have this rule
Code: Select all
$(OBJ_DIR)/%.o: Src/OSD/SDL/%.m $(HEADERS)
   $(OCC) -x objective-c++ $< $(CPPFLAGS) -o $(OBJ_DIR)/$(*F).o


Any clues?

BTW, I'm running macOS Sierra.
thanks!
christian776
 
Posts: 13
Joined: Sun Mar 26, 2017 2:04 pm

Re: OSX 10.10 (Yosemite) Bug

Postby christian776 » Sat Apr 29, 2017 2:55 pm

After some digging, I was able to make it compile. So for other OSX users who might want to compile .. here's the Makefile https://gist.github.com/christ776/1dfc7e21d08065d5bec1a1d014ff24f3
christian776
 
Posts: 13
Joined: Sun Mar 26, 2017 2:04 pm

Re: OSX 10.10 (Yosemite) Bug

Postby 2DForever » Mon May 01, 2017 2:15 pm

Funnily enough, I did this as well recently. I updated and sent the makefile to Bart, so it should hopefully go into the latest SVN some point soon.
There's a link to the latest Mac build in the other thread as well.

In case anyone else is wondering for future versions, I basically compared the Mac and Linux versions of the Makefile and updated the Mac version so it's up to date with Linux one and obviously kept the Mac specific bits in there.
2DForever
 
Posts: 27
Joined: Mon Feb 17, 2014 4:46 am

Previous

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 0 guests