Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Compiling Mame With VC++ Express  (Read 1827 times)

0 Members and 1 Guest are viewing this topic.

arcadegamenut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 16, 2010, 01:48:45 pm
Compiling Mame With VC++ Express
« on: June 05, 2006, 02:40:45 pm »
I have VC++ Express with the platform SDK and DirectX SDK.

I downloaded VCMame 105 and the Mame105 source code

Extracted mame source to a directory. Extracted VCMame source to same directory allowing the overwrite of the two files (patch).

Opened the project solution in VC++ 2005 and allowed it to perform its conversion.

Changed the project settings for C code generation to be multi-threaded with debug to avoid library errors when compiling romcmp.

So everything goes fine until it gets to vcmame. I end up with 88 errors along the lines of
'verboselog' : too few arguments for call

I've read through this board and mameworld (the only place where vcmame is talked about) and I didn't see anyone else getting this error, so obviously, I've missed something somewhere.

Anyone know what?

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Compiling Mame With VC++ Express
« Reply #1 on: June 05, 2006, 02:47:37 pm »
Why not just compile with MinGW? Are there features in VCMAME that are not in regular MAME?
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 14, 2025, 12:38:01 am
  • The Bears Still Suck!
Re: Compiling Mame With VC++ Express
« Reply #2 on: June 05, 2006, 03:06:03 pm »
Are there features in VCMAME that are not in regular MAME?
Yeah, Visual Studio's debugging power.
I'm going to be trying this soon as I am just fed up with debugging mingw.

arcadegamenut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 16, 2010, 01:48:45 pm
Re: Compiling Mame With VC++ Express
« Reply #3 on: June 05, 2006, 05:00:13 pm »
Are there features in VCMAME that are not in regular MAME?
Yeah, Visual Studio's debugging power.
I'm going to be trying this soon as I am just fed up with debugging mingw.


@Buddabing
I don't think there is anything along the line of new features...it's just mame. But as Poonga mentioned, there is the advanced debugger. I also like the IDE with the intellisense along with other features that make looking through the project much easier.

Someone (I think on Mameworld) posted that they had received a very very slight increase in speed for some games.

@SirPoonga
Hmm...I thought I already read where you had tried it about a year or so ago. I think I saw someone mention on the mameworld board that they had compiled successfully so I must be missing something. I may have to sign up for a new user (I forget my old one there) and post my message there as well.


SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 14, 2025, 12:38:01 am
  • The Bears Still Suck!
Re: Compiling Mame With VC++ Express
« Reply #4 on: June 05, 2006, 06:06:46 pm »
I tried it some time ago just before it went unsupported.  But since it is being made again I gotta give it a try.

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Compiling Mame With VC++ Express
« Reply #5 on: June 06, 2006, 03:58:29 am »
I use to compile MAME with Visual C++ 2003 , i don't have any problems. (using VCMAME source).

The only thing  is that you need to have nasm on your machine.

therefore i never tried with VC++ Express.  I had tried to compile Atomic with it, and never succeeded. :(


Quote
@Buddabing
I don't think there is anything along the line of new features...it's just mame. But as Poonga mentioned, there is the advanced debugger. I also like the IDE with the intellisense along with other features that make looking through the project much easier.

Totally agree. VC++ debugger is really great , the IDE very user-friendly.  For me it is  lot of more confortable that using Mingw environement i tried before.



arcadegamenut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 16, 2010, 01:48:45 pm
Re: Compiling Mame With VC++ Express
« Reply #6 on: June 06, 2006, 08:54:32 am »
I did post on MameWorld and received a link to a thread with the answer. The answer here actually wasn't the answer though. :) Still, it pointed me in the right direction.

In armcore7.c, there is a line that read:

#define VERBOSELOG verboselog

I changed it to this:

#define VERBOSELOG(x) verboselog x

So now it compiles, but has some trouble linking. I'll probably post a follow-up on MameWorld too later today.

arcadegamenut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 16, 2010, 01:48:45 pm
Re: Compiling Mame With VC++ Express
« Reply #7 on: June 06, 2006, 01:09:05 pm »
It's working now!

Thanks to Krick for his help.

To see the last part check here:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=76712&page=0&view=expanded&sb=5&o=&fpart=1&vc=1