Previous Thread
Next Thread
Print Thread
Page 40 of 40 1 2 38 39 40
Joined: Mar 2010
Posts: 147
S
Senior Member
Offline
Senior Member
S
Joined: Mar 2010
Posts: 147
Ah yes, got it. Thanks!

Joined: Apr 2012
Posts: 188
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
How is the state concerning Visual Studio? I really liked the debugger, but am unable to compile anything beyond 0.205 (from December 2018).

Currently, i work with Visual Studio 2017 (15.9.x) and a 'retargeted' 14.14 toolset (-> mimics a 15.7 compiler).
https://devblogs.microsoft.com/cppb...ion-msvc-toolsets-in-visual-studio-2017/

Are there alternatives to GDB?

I understand nobody wants to support Visual Studio here, so a slight nudge in the right direction would be very kind (like 'use VS2019 + commercial WinDBG').

Yeah, i'd even shell out a few hundred bucks for a semi-professional tool.

Last edited by Bavarese; 07/25/19 04:00 PM.
Joined: Mar 2001
Posts: 16,613
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,613
Visual Studio using the LLVM/Clang compiler is the best way to both compile MAME and use the VS debugger. "make msllvm" I think is the magic.

Joined: Apr 2012
Posts: 188
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
Hmm... i think it should read
Code
make vsllvm

Do i need LLVM-7.1.0-win64.exe, the newer 8.x (only available as source) - or the one supplied by the Microsoft installer ("Clang C2 experimental") ?
Is it still Visual Studio 2017...?

My fellow countryman Rfka was also unable to build the solution, that's why i ask for a bit more details wink Thanks in advance.

Screenshot - mess.sln properties (VS 2017)
https://www.dropbox.com/s/lirblgiixwhvsr1/VS2017_Mess_platform_toolset.jpg?dl=0

Last edited by Bavarese; 07/28/19 11:13 AM.
Joined: Aug 2004
Posts: 1,398
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,398
Just a warning for those who build their own: GCC 9.2 is bugged and may not compile MAME. Roll back to an earlier version.

Joined: Apr 2012
Posts: 188
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 188
Success!

I am able to build again with Visual Studio 2019 Community Edition 16.3.6, so i can abandon my futile attempts with GDB on Windows.

Environment:
a) bleeding edge sources from today (Oct. 24th 2019) with minor tweaks @ 'chainmanager.cpp'
(VS 2019 doesn't like uint8_t palette_temp[palette->width() * palette->height() * 4]; )

b) msys64-32-2019-03-25
Note:
build environment must be updated because Genie got a 'vs2019' switch (not present in march release above).

0.214 stable didn't work because the recent fixes by Julian Sikorski are missing (think so).

smile

Last edited by Bavarese; 10/24/19 06:58 PM.
Joined: Nov 1999
Posts: 671
B
Senior Member
Offline
Senior Member
B
Joined: Nov 1999
Posts: 671
I will say that I started using Clang on Visual Studio for MAME and have not looked back.

Its not just that you're not dealing with the VC specific compilation bugs, but that unoptimized (i.e. - debugging) code is several times faster. Not sure what is happening, but it makes for a much more satisfactory debugging experience.

Page 40 of 40 1 2 38 39 40

Link Copied to Clipboard
Who's Online Now
1 members (r09), 36 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,836
Posts116,223
Members4,921
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5