Previous Thread
Next Thread
Print Thread
Compilation of 0.204 fails on macOS #114350
11/28/18 01:26 PM
11/28/18 01:26 PM
Joined: May 1999
Posts: 546
Luxembourg
Carbon Offline OP
Senior Member
Carbon  Offline OP
Senior Member
Joined: May 1999
Posts: 546
Luxembourg
Code
Compiling src/mame/video/vrender0.cpp...
Compiling src/mame/video/xyonix.cpp...
Archiving libmisc.a...
make: *** [macosx_x64_clang] Error 2


Tried it on an iMac and Macbook Pro with same result. I was able to compile 0.203 on both machines last month.

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114351
11/28/18 01:30 PM
11/28/18 01:30 PM
Joined: Feb 2004
Posts: 2,011
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,011
Sydney, Australia
As always, you need to supply the actual compile error, not the line where make tells you that some error encountered earlier caused it to stop after completing other tasks. Seriously, is there anything there that could give any hint as to what actually failed to compile?

Re: Compilation of 0.204 fails on macOS [Re: Vas Crabb] #114352
11/28/18 02:25 PM
11/28/18 02:25 PM
Joined: May 1999
Posts: 546
Luxembourg
Carbon Offline OP
Senior Member
Carbon  Offline OP
Senior Member
Joined: May 1999
Posts: 546
Luxembourg
AFAIK there are no errors, only warnings.

I'd like to attach the complete log, but that seems impossible on this board.

Here is the last warning before compilation stops.

Code
Compiling src/mame/drivers/magic10.cpp...
../../../../../src/mame/drivers/limenko.cpp:1095:12: warning: 'device' is
      deprecated: absolute tag lookup; use subdevice or finder instead
      [-Wdeprecated-declarations]
        machine().device("qs1000:cpu")->memory().space(AS_IO).install_re...
                  ^
In file included from ../../../../../src/mame/drivers/limenko.cpp:1:
In file included from ../../../../../src/emu/emu.h:88:
/Users/charel/Desktop/mame/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/machine.h:213:4: note: 
      'device' has been explicitly marked deprecated here
        [[deprecated("absolute tag lookup; use subdevice or finder inste...
          ^
Compiling src/mame/drivers/magicard.cpp...
Compiling src/mame/drivers/magicfly.cpp...
Compiling src/mame/drivers/magictg.cpp...
Compiling src/mame/drivers/magreel.cpp...
Compiling src/mame/drivers/magtouch.cpp...
Compiling src/mame/drivers/majorpkr.cpp...
Compiling src/mame/drivers/malzak.cpp...
Compiling src/mame/drivers/marywu.cpp...
Compiling src/mame/drivers/mcatadv.cpp...
Compiling src/mame/drivers/megaphx.cpp...
1 warning generated.
Compiling src/mame/drivers/meyc8080.cpp...
Compiling src/mame/drivers/meyc8088.cpp...
Compiling src/mame/drivers/mgavegas.cpp...
Compiling src/mame/drivers/micro3d.cpp...
Compiling src/mame/drivers/midas.cpp...
Compiling src/mame/drivers/mil4000.cpp...
Compiling src/mame/drivers/miniboy7.cpp...
Compiling src/mame/drivers/mirax.cpp...
Compiling src/mame/drivers/mjsenpu.cpp...
Compiling src/mame/drivers/mole.cpp...
Compiling src/mame/drivers/mosaic.cpp...
Compiling src/mame/drivers/mpu12wbk.cpp...
Compiling src/mame/drivers/multfish.cpp...
Compiling src/mame/drivers/multfish_boot.cpp...
Compiling src/mame/drivers/murogem.cpp...
Compiling src/mame/drivers/murogmbl.cpp...
Compiling src/mame/drivers/neoprint.cpp...
Compiling src/mame/drivers/neptunp2.cpp...
Compiling src/mame/drivers/news.cpp...
Compiling src/mame/drivers/nexus3d.cpp...
Compiling src/mame/drivers/nibble.cpp...
Compiling src/mame/drivers/norautp.cpp...
Compiling src/mame/drivers/notechan.cpp...
Compiling src/mame/drivers/nsg6809.cpp...
Compiling src/mame/drivers/nsmpoker.cpp...
Compiling src/mame/drivers/odyssey.cpp...
Compiling src/mame/drivers/oneshot.cpp...
Compiling src/mame/drivers/onetwo.cpp...
Compiling src/mame/drivers/othello.cpp...
Compiling src/mame/drivers/pachifev.cpp...
Compiling src/mame/drivers/pasha2.cpp...
Compiling src/mame/drivers/pass.cpp...
Compiling src/mame/drivers/photon.cpp...
Compiling src/mame/drivers/photon2.cpp...
Compiling src/mame/drivers/photoply.cpp...
Compiling src/mame/drivers/piggypas.cpp...
Compiling src/mame/drivers/pipeline.cpp...
Compiling src/mame/drivers/pkscram.cpp...
Compiling src/mame/drivers/pntnpuzl.cpp...
Compiling src/mame/drivers/poker72.cpp...
Compiling src/mame/drivers/policetr.cpp...
Compiling src/mame/drivers/polyplay.cpp...
Compiling src/mame/drivers/potgoldu.cpp...
Compiling src/mame/drivers/proconn.cpp...
Compiling src/mame/drivers/pse.cpp...
Compiling src/mame/drivers/quizo.cpp...
Compiling src/mame/drivers/quizpun2.cpp...
Compiling src/mame/drivers/rbmk.cpp...
Compiling src/mame/drivers/rcorsair.cpp...
Compiling src/mame/drivers/re900.cpp...
Compiling src/mame/drivers/rgum.cpp...
Compiling src/mame/drivers/roul.cpp...
Compiling src/mame/drivers/sanremmg.cpp...
Compiling src/mame/drivers/sanremo.cpp...
Compiling src/mame/drivers/savquest.cpp...
Compiling src/mame/drivers/scm_500.cpp...
Compiling src/mame/drivers/sealy.cpp...
Compiling src/mame/drivers/sfbonus.cpp...
Compiling src/mame/drivers/shangkid.cpp...
Compiling src/mame/drivers/skeetsht.cpp...
Compiling src/mame/drivers/skimaxx.cpp...
Compiling src/mame/drivers/skyarmy.cpp...
Compiling src/mame/drivers/skylncr.cpp...
Compiling src/mame/drivers/sliver.cpp...
Compiling src/mame/drivers/smsmcorp.cpp...
Compiling src/mame/drivers/sothello.cpp...
Compiling src/mame/drivers/spool99.cpp...
Compiling src/mame/drivers/sprcros2.cpp...
Compiling src/mame/drivers/sshot.cpp...
Compiling src/mame/drivers/ssingles.cpp...
Compiling src/mame/drivers/sstrangr.cpp...
Compiling src/mame/drivers/statriv2.cpp...
Compiling src/mame/drivers/strkzn.cpp...
Compiling src/mame/drivers/stuntair.cpp...
Compiling src/mame/drivers/su2000.cpp...
Compiling src/mame/drivers/subhuntr.cpp...
Compiling src/mame/drivers/summit.cpp...
Compiling src/mame/drivers/sumt8035.cpp...
Compiling src/mame/drivers/supercrd.cpp...
Compiling src/mame/drivers/supertnk.cpp...
Compiling src/mame/drivers/tapatune.cpp...
Compiling src/mame/drivers/tattack.cpp...
Compiling src/mame/drivers/taxidriv.cpp...
Compiling src/mame/drivers/thayers.cpp...
Compiling src/mame/drivers/thedeep.cpp...
Compiling src/mame/drivers/tickee.cpp...
Compiling src/mame/drivers/tmspoker.cpp...
Compiling src/mame/drivers/truco.cpp...
Compiling src/mame/drivers/trucocl.cpp...
Compiling src/mame/drivers/trvmadns.cpp...
Compiling src/mame/drivers/trvquest.cpp...
Compiling src/mame/drivers/ttchamp.cpp...
Compiling src/mame/drivers/tugboat.cpp...
Compiling src/mame/drivers/umipoker.cpp...
Compiling src/mame/drivers/unkhorse.cpp...
Compiling src/mame/drivers/usbilliards.cpp...
Compiling src/mame/drivers/usgames.cpp...
Compiling src/mame/drivers/vamphalf.cpp...
Compiling src/mame/drivers/vcombat.cpp...
Compiling src/mame/drivers/vectrex.cpp...
Compiling src/mame/drivers/video21.cpp...
Compiling src/mame/drivers/videosaa.cpp...
Compiling src/mame/drivers/vlc.cpp...
Compiling src/mame/drivers/voyager.cpp...
Compiling src/mame/drivers/vp101.cpp...
Compiling src/mame/drivers/vpoker.cpp...
Compiling src/mame/drivers/vroulet.cpp...
Compiling src/mame/drivers/wacky_gator.cpp...
Compiling src/mame/drivers/wildpkr.cpp...
Compiling src/mame/drivers/wms.cpp...
Compiling src/mame/drivers/xtom3d.cpp...
Compiling src/mame/drivers/xyonix.cpp...
Compiling src/mame/drivers/yuvomz80.cpp...
Compiling src/mame/machine/3do.cpp...
Compiling src/mame/machine/cdi070.cpp...
Compiling src/mame/machine/cdicdic.cpp...
Compiling src/mame/machine/cdislave.cpp...
Compiling src/mame/machine/inder_sb.cpp...
Compiling src/mame/machine/inder_vid.cpp...
Compiling src/mame/machine/micro3d.cpp...
Compiling src/mame/machine/vectrex.cpp...
Compiling src/mame/video/4enraya.cpp...
Compiling src/mame/video/ampoker2.cpp...
Compiling src/mame/video/amspdwy.cpp...
Compiling src/mame/video/artmagic.cpp...
Compiling src/mame/video/aztarac.cpp...
Compiling src/mame/video/calomega.cpp...
Compiling src/mame/video/cave.cpp...
Compiling src/mame/video/dcheese.cpp...
Compiling src/mame/video/dribling.cpp...
Compiling src/mame/video/epos.cpp...
Compiling src/mame/video/esd16.cpp...
Compiling src/mame/video/esripsys.cpp...
Compiling src/mame/video/freekick.cpp...
Compiling src/mame/video/gotcha.cpp...
Compiling src/mame/video/gumbo.cpp...
Compiling src/mame/video/homedata.cpp...
Compiling src/mame/video/kyugo.cpp...
Compiling src/mame/video/ladyfrog.cpp...
Compiling src/mame/video/lethalj.cpp...
Compiling src/mame/video/malzak.cpp...
Compiling src/mame/video/mcatadv.cpp...
Compiling src/mame/video/mcd212.cpp...
Compiling src/mame/video/micro3d.cpp...
Compiling src/mame/video/mosaic.cpp...
Compiling src/mame/video/news.cpp...
Compiling src/mame/video/oneshot.cpp...
Compiling src/mame/video/pass.cpp...
Compiling src/mame/video/pk8000.cpp...
Compiling src/mame/video/policetr.cpp...
Compiling src/mame/video/polyplay.cpp...
Compiling src/mame/video/shangkid.cpp...
Compiling src/mame/video/taxidriv.cpp...
Compiling src/mame/video/thedeep.cpp...
Compiling src/mame/video/truco.cpp...
Compiling src/mame/video/trucocl.cpp...
Compiling src/mame/video/usgames.cpp...
Compiling src/mame/video/vectrex.cpp...
Compiling src/mame/video/vrender0.cpp...
Compiling src/mame/video/xyonix.cpp...
Archiving libmisc.a...
make: *** [macosx_x64_clang] Error 2
Charels-MacBook-Pro:mame charel$ 

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114353
11/28/18 02:56 PM
11/28/18 02:56 PM
Joined: May 2009
Posts: 1,747
J
Just Desserts Offline
Very Senior Member
Just Desserts  Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,747
Post the full compilation log somewhere that does support it, in that case. Seriously, nobody can help you without knowing the actual error. Period.

Re: Compilation of 0.204 fails on macOS [Re: Just Desserts] #114354
11/28/18 03:10 PM
11/28/18 03:10 PM
Joined: May 1999
Posts: 546
Luxembourg
Carbon Offline OP
Senior Member
Carbon  Offline OP
Senior Member
Joined: May 1999
Posts: 546
Luxembourg

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114355
11/28/18 03:52 PM
11/28/18 03:52 PM
Joined: Mar 2001
Posts: 16,068
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,068
USA
Thanks. The error is:

Code
../../../../../src/mame/drivers/mips.cpp:233:34: error: lambda capture 'this' is
      not used [-Werror,-Wunused-lambda-capture]
        map(0x0180, 0x018b).lr8("mac", [this](offs_t offset)

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114356
11/28/18 07:51 PM
11/28/18 07:51 PM
Joined: Jul 2007
Posts: 215
California
M
Monotremata Offline
Senior Member
Monotremata  Offline
Senior Member
M
Joined: Jul 2007
Posts: 215
California
Yep, exact same error over here on OS 10.13.6..

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114357
11/28/18 09:53 PM
11/28/18 09:53 PM
Joined: Mar 2001
Posts: 16,068
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,068
USA
I think if you edit that line and remove the "this", like so (example may not show entire line):

Code
map(0x0180, 0x018b).lr8("mac", [](offs_t offset)


it should build.

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114360
11/28/18 10:19 PM
11/28/18 10:19 PM
Joined: May 1999
Posts: 546
Luxembourg
Carbon Offline OP
Senior Member
Carbon  Offline OP
Senior Member
Joined: May 1999
Posts: 546
Luxembourg
Yep, compiles and runs fine now. Thanks.

Re: Compilation of 0.204 fails on macOS [Re: Carbon] #114362
11/29/18 08:11 AM
11/29/18 08:11 AM
Joined: Jul 2007
Posts: 215
California
M
Monotremata Offline
Senior Member
Monotremata  Offline
Senior Member
M
Joined: Jul 2007
Posts: 215
California
Worked here too! Thanks RB!


Moderated by  R. Belmont 

Who's Online Now
3 registered members (AJR, 2 invisible), 114 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,605
Posts112,498
Members4,827
Most Online296
Dec 5th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.025s Queries: 14 (0.009s) Memory: 5.6693 MB (Peak: 5.8912 MB) Zlib enabled. Server Time: 2018-12-13 04:50:54 UTC