Page 3 of 3

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Fri Apr 15, 2016 4:59 am
by 2DForever
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.

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Fri Apr 15, 2016 9:32 am
by Bart
You have to enable it with -new3d.

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Fri Apr 15, 2016 3:59 pm
by 2DForever
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?

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Fri Apr 15, 2016 4:26 pm
by Bart
Sure! Go ahead.

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Sat Apr 29, 2017 12:39 pm
by christian776
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!

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Sat Apr 29, 2017 2:55 pm
by christian776
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

Re: OSX 10.10 (Yosemite) Bug

PostPosted: Mon May 01, 2017 2:15 pm
by 2DForever
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.