Previous Thread
Next Thread
Print Thread
Page 39 of 39 1 2 37 38 39
Re: Can't compile latest MAME? READ THIS THREAD [Re: R. Belmont] #113534
06/06/18 03:19 PM
06/06/18 03:19 PM
Joined: Aug 2012
Posts: 65
arcadefan Offline
Member
arcadefan  Offline
Member
Joined: Aug 2012
Posts: 65
Still Nothing

Code
C:/msyCompiling src/mame/audio/jedi.cpp...
s64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../mingw-gcc/bin/x64/Release/mame_mame/libbaCompiling src/mame/machine/lisa.cpp...
lly.a'; reason: File exiCompiling src/mame/audio/wswan.cpp...
stCompiling src/mame/audio/llander.cpp...
s
Archiving libbanctec.a...
bally.make:265: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libbally.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libbally.a] Error 1
makefile:463: recipe for target 'bally' failed
make[1]: *** [bally] Error 2
make[1]: *** Waiting for unfinished jobs....

Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts] #113535
06/06/18 03:34 PM
06/06/18 03:34 PM
Joined: Jan 2012
Posts: 794
C
crazyc Online content
Senior Member
crazyc  Online Content
Senior Member
C
Joined: Jan 2012
Posts: 794
This happens to me a lot. Just run the compile again and it'll start from where it stopped and finish successfully.

Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts] #113536
06/06/18 05:25 PM
06/06/18 05:25 PM
Joined: Aug 2012
Posts: 65
arcadefan Offline
Member
arcadefan  Offline
Member
Joined: Aug 2012
Posts: 65
Perfect! Just had to run it another couple of times and it finally finished successfully. Thanks! smile

Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts] #113538
06/06/18 07:54 PM
06/06/18 07:54 PM
Joined: Apr 2006
Posts: 703
USA
Tafoid Offline
Senior Member
Tafoid  Offline
Senior Member
Joined: Apr 2006
Posts: 703
USA
Just as a reminder, add -k to your make string which will compile everything except what doesn't compile. If you have that happen again, your reattempt will be much shorter as most of the source will be compiled.




Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts] #113995
09/27/18 05:26 PM
09/27/18 05:26 PM
Joined: Mar 2008
Posts: 169
Stockholm, Sweden
R
robcfg Online content
Senior Member
robcfg  Online Content
Senior Member
R
Joined: Mar 2008
Posts: 169
Stockholm, Sweden
Hi,

I'm trying to compile 0.202 on OSX El Capitan 10.11.6 and I get the following error when running make:

Quote
Compiling src/mame/drivers/alpha68k.cpp...
In file included from ../../../../../src/mame/drivers/alpha68k.cpp:1:
In file included from ../../../../../src/emu/emu.h:104:
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1258:12: error:
'consume' is a protected member of 'devcb_write<unsigned char, '\xFF'>::builder_base'
{ m_sink.consume(); }
^
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1497:11: note:
in instantiation of function template specialization 'devcb_write<unsigned char,
'\xFF'>::first_transform_builder<devcb_write<unsigned char,
'\xFF'>::delegate_builder<device_delegate<void (address_space &, unsigned int, unsigned char,
unsigned char)> >::wrapped_builder, (lambda at
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>::first_transform_builder<(lambda
at
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>'
requested here
return first_transform_builder<wrapped_builder, std::remove_reference...
^
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:42: note:
in instantiation of function template specialization 'devcb_write<unsigned char,
'\xFF'>::delegate_builder<device_delegate<void (address_space &, unsigned int, unsigned char,
unsigned char)> >::transform<(lambda at
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>'
requested here
auto trans(static_cast<Impl &>(*this).transform([val] (offs_t offset...
^
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1142:8: note:
declared protected here
void consume() { m_consumed = true; }
^
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1267:11: error:
'consume' is a protected member of 'devcb_write<unsigned char, '\xFF'>::builder_base'
m_sink.consume();
^
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:9: note:
in instantiation of member function 'devcb_write<unsigned char,
'\xFF'>::first_transform_builder<devcb_write<unsigned char,
'\xFF'>::delegate_builder<device_delegate<void (address_space &, unsigned int, unsigned char,
unsigned char)> >::wrapped_builder, (lambda at
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:255:52)>::first_transform_builder'
requested here
auto trans(static_cast<Impl &>(*this).transform([val] (offs_t offset...
^
/Users/herrrober/Projects/mame0202/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/devcb.h:1142:8: note:
declared protected here
void consume() { m_consumed = true; }
^
2 errors generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/src/mame/drivers/alpha68k.o] Error 1
make[1]: *** [alpha] Error 2
make: *** [macosx_x64_clang] Error 2


My version of Clang is as follows:
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix

I don't remember having to do anything special to make it work on previous releases, but if that has changed, could you give a pointer on what to do?

Thanks and keep up the good work!

Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts] #114002
09/28/18 12:02 AM
09/28/18 12:02 AM
Joined: Aug 2004
Posts: 1,363
Robbbert Offline
Very Senior Member
Robbbert  Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,363
I believe you have to make

void consume() { m_consumed = true; }

public instead of protected.

I think there's an official way instead of just modifying the file, but you'd have to ask cuavas as it's his code.

Page 39 of 39 1 2 37 38 39

Who's Online Now
1 registered members (Praxis), 26 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,600
Posts112,408
Members4,821
Most Online283
Oct 11th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.054s Queries: 15 (0.018s) Memory: 5.6921 MB (Peak: 5.8819 MB) Zlib enabled. Server Time: 2018-11-21 19:51:50 UTC