MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

telanus
MAME Fan
Reged: 04/24/16
Posts: 2
Send PM
Compiling on Mint 17.3
04/24/16 10:14 AM


Hi

I compiled Mame previously without error. downloaded the source this morning and tried to compile, well it flopped wonder if anyone could tell me where I'm wrong?


Code:

Creating ../../../../linux_gcc/bin/x32/Release/mame_mame
Precompiling src/emu/emu.h...
In file included from ../../../../../src/lib/util/corestr.h:17:0,
from ../../../../../src/emu/emucore.h:36,
from ../../../../../src/emu/emu.h:28:
../../../../../src/lib/util/strformat.h: In constructor ‘util::detail::format_argument_pack::format_argument_pack(Format&&, const util::detail::format_argument*, std::enable_if_t::handle_char_array::type>::value, unsigned int>)’:
../../../../../src/lib/util/strformat.h:1097:13: error: ‘cbegin’ is not a member of ‘std’
: m_begin(std::cbegin(fmt))
^
../../../../../src/lib/util/strformat.h:1098:11: error: ‘cend’ is not a member of ‘std’
, m_end(std::cend(fmt))
^
../../../../../src/lib/util/strformat.h: In constructor ‘util::detail::format_argument_pack::format_argument_pack(Format&&, const util::detail::format_argument*, std::enable_if_t::handle_container::type>::value, unsigned int>)’:
../../../../../src/lib/util/strformat.h:1113:39: error: ‘cbegin’ is not a member of ‘std’
: m_begin(fmt.empty() ? nullptr : &*std::cbegin(fmt))
^
../../../../../src/lib/util/strformat.h:1114:60: error: ‘cbegin’ is not a member of ‘std’
, m_end(fmt.empty() ? nullptr : (m_begin + std::distance(std::cbegin(fmt), std::cend(fmt))))
^
../../../../../src/lib/util/strformat.h:1114:78: error: ‘cend’ is not a member of ‘std’
, m_end(fmt.empty() ? nullptr : (m_begin + std::distance(std::cbegin(fmt), std::cend(fmt))))
^
make[2]: *** [../../../../linux_gcc/obj/x32/Release/emu.h.gch] Error 1
make[1]: *** [precompile] Error 2
make: *** [linux_x86] Error 2



and get this when doing gcc-v:

Code:


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.9/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.3-8ubuntu2~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.9.3 (Ubuntu 4.9.3-8ubuntu2~14.04)








Entire thread
Subject Posted by Posted on
* Compiling on Mint 17.3 telanus 04/24/16 10:14 AM
. * Re: Compiling on Mint 17.3 Vas Crabb  04/24/16 01:08 PM
. * Re: Compiling on Mint 17.3 telanus  04/29/16 05:03 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 88 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2269