MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

henhouseharry
MAME Fan
Reged: 05/17/20
Posts: 4
Send PM


Release mode MAME on Windows 10 64-bit
#386279 - 05/17/20 05:30 PM


Hi, Why is the default build of MAME in debug mode? The executable is 260Mb and a 138Mb SYM file which I think is ridiculous. I understand it is Open Source but I do not have Visual Studio 2017 to rebuild it from source.

As a programmer myself the latest version of Visual Studio I have Visual Studio 2010.



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: Release mode MAME on Windows 10 64-bit new [Re: henhouseharry]
#386282 - 05/17/20 06:23 PM


> Hi, Why is the default build of MAME in debug mode? The executable is 260Mb and a
> 138Mb SYM file which I think is ridiculous. I understand it is Open Source but I do
> not have Visual Studio 2017 to rebuild it from source.
>
> As a programmer myself the latest version of Visual Studio I have Visual Studio 2010.

The default build of MAME is definitively not built in debug mode. The executable really is that large because it really contains that much code.

The good news is, you can't build MAME with Visual Studio 2017, either. If you must use Visual Studio, the only version that works with it due to the sheer amount of template and C++1x magic is 2019. The even better news, though, is that Visual Studio has had a "Community Edition" available for the better part of a decade now, which is free (as in beer). As a programmer yourself, I'm surprised you didn't know.

That having been said, MAME isn't even officially built with Visual Studio. It uses MinGW for Windows builds. This information can be found here: https://www.mamedev.org/tools/



henhouseharry
MAME Fan
Reged: 05/17/20
Posts: 4
Send PM


Re: Release mode MAME on Windows 10 64-bit new [Re: MooglyGuy]
#386288 - 05/17/20 08:54 PM


Thanks Mooglyguy. For the last 8 years I've been programming in PHP and I use VSCode for PHP development. I don't have any of the C\C++ plugins installed. When I get home from work I'm too knackered to do C++ development. When we used ASP.NET at work the last version we used was VS2010 for ASP.NET 4.0

I had heard of the community edition especially for Web Development but for C++ I didn't realise that you could build a redistributable exe with it. i.e. Microsoft would always want you to buy Visual Studio.

I still use Visual Studio 6 to compile my C++ demos.



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM


Re: Release mode MAME on Windows 10 64-bit new [Re: henhouseharry]
#386290 - 05/17/20 10:43 PM


> I had heard of the community edition especially for Web Development but for C++ I
> didn't realise that you could build a redistributable exe with it. i.e. Microsoft
> would always want you to buy Visual Studio.

Visual Studio Community Edition is completely free if you only work on open source software. They don’t do anything to verify that you’re only using it for open source, you just have to agree when installing it.


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 290 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 424