Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: arcadegamenut on June 05, 2006, 02:40:45 pm

Title: Compiling Mame With VC++ Express
Post by: arcadegamenut 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?
Title: Re: Compiling Mame With VC++ Express
Post by: Buddabing 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?
Title: Re: Compiling Mame With VC++ Express
Post by: SirPoonga 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.
Title: Re: Compiling Mame With VC++ Express
Post by: arcadegamenut 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.

Title: Re: Compiling Mame With VC++ Express
Post by: SirPoonga 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.
Title: Re: Compiling Mame With VC++ Express
Post by: youki 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.


Title: Re: Compiling Mame With VC++ Express
Post by: arcadegamenut 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.
Title: Re: Compiling Mame With VC++ Express
Post by: arcadegamenut 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