MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

rubinstu
MAME Fan
Reged: 02/05/10
Posts: 20
Send PM
Visual Studio lots of little errors
07/21/22 02:21 PM


Hello, I would like to compile using Visual Studio for a variety of practical reasons (particularly the debugger). I have tried both MSVS 2022 and 2019. Each time, I get all kinds of errors:

  • Error C1189 #error: "This version of XAudio2 is available only in Windows 8 or later..."
  • 'DeviceClass *":invalid target type for dynamic_cast
  • 'signbit': ambiguous call to overloaded function
  • Various warnings treated as errors (I have manually disabled this function, but still have problems)
  • If I really mess with things to get it to compile, I have all sorts of linker errors
  • and more...


Compiling with MSYS2 seems OK.

I have fresh installs of MSVS.

I have tried the "master" and recent releases of the sources.

Are there any tricks I'm missing?

Has anyone built MAME from scratch with MSVS recently?

Is Visual Studio really supported?

I have some ideas for the code and would like to contribute back. Any help is appreciated!

Thank you!







Entire thread
Subject Posted by Posted on
* Visual Studio lots of little errors rubinstu 07/21/22 02:21 PM
. * Re: Visual Studio lots of little errors Vas Crabb  07/22/22 10:32 AM
. * Re: Visual Studio lots of little errors rubinstu  07/23/22 04:36 AM
. * Re: Visual Studio lots of little errors rubinstu  07/24/22 07:00 PM
. * Re: Visual Studio lots of little errors MooglyGuy  07/24/22 07:49 PM
. * Re: Visual Studio lots of little errors rubinstu  07/25/22 04:39 AM
. * Re: Visual Studio lots of little errors MooglyGuy  08/06/22 02:00 PM
. * Re: Visual Studio lots of little errors MooglyGuy  07/22/22 09:19 AM
. * Re: Visual Studio lots of little errors mhoes  07/21/22 02:53 PM
. * Re: Visual Studio lots of little errors rubinstu  07/21/22 02:59 PM

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