Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: nightwulfe on April 18, 2008, 01:59:06 am

Title: need help please
Post by: nightwulfe on April 18, 2008, 01:59:06 am
i need help please i can't seem to compile right i do everything that is said in the forum but still come up with errors this is the error

Compiling src/osd/windows/video.c...
src/osd/windows/video.c:245: error: redefinition of 'osd_update_hi'
src/osd/windows/video.c:224: error: previous definition of 'osd_update_hi' was here
src/osd/windows/video.c:266: error: redefinition of 'osd_update_hi'
src/osd/windows/video.c:224: error: previous definition of 'osd_update_hi' was here
cc1.exe: warnings being treated as errors
src/osd/windows/video.c: In function 'osd_update_hi':
src/osd/windows/video.c:275: warning: passing argument 1 of 'winwindow_process_events' makes integer from pointer without a cast
Finished!
 :-[ :angry: :angry: :cry: :notworthy: :dizzy: :hissy:
Title: Re: need help please
Post by: MKChamp on April 18, 2008, 03:08:42 pm
Need a little more info before anyone can give good advice.

1) What source are you starting with?
2) Are you applying u updates?
3) What hiscore diff are you using?
4) List the steps you do when compiling...from where you are placing everything to what/how you are compiling....like the order you apply diff's, etc.
Title: Re: need help please
Post by: nightwulfe on April 18, 2008, 05:58:10 pm
thanks
well i downloaded mk64 compiler then i used mame 0.124 src
then i loaded hi_0.124,124u1,124u2
patched upto 124u2 in order
pressed go and the thats when i got that error
i have been trying for about two weeks before i asked for help thinging i was smart enough to get it
Title: Re: need help please
Post by: MKChamp on April 18, 2008, 06:13:49 pm
If you are trying to compile 124u2, you need to go in this order with these patches:

1) 124u1
2) 124u2
3) hi_124u2

Most importantly, hi_124 won't work with 124u2.
Title: Re: need help please
Post by: nightwulfe on April 18, 2008, 06:27:10 pm
ok i'll try right now
Title: Re: need help please
Post by: nightwulfe on April 18, 2008, 07:05:39 pm
as of right now i still get this error
Compiling src/osd/windows/video.c...
src/osd/windows/video.c:245: error: redefinition of 'osd_update_hi'
src/osd/windows/video.c:224: error: previous definition of 'osd_update_hi' was here
mingw32-make: *** [obj/windows/mame/osd/windows/video.o] Error 1
Finished!
Title: Re: need help please
Post by: nightwulfe on April 18, 2008, 07:14:30 pm
i really appreciate all your help but i am getting frustrated
Title: Re: need help please
Post by: MKChamp on April 18, 2008, 07:26:17 pm
Ok...let's start from scratch.
Delete EVERYTHING.
Download 124 source. Extract that.
Download 124u1.diff. Save that.
Download 124u2.diff. Save that.
Download hi_124u2.diff. Save that. (make sure it is hi_124u2!!)
Apply the diff's in the following order.
1) 124u1
2) 124u2
3) hi_124u2

Those are the ONLY diff(patches) you need for a compile of 124u2 with hiscore.

Then compile. Be sure you are starting fresh and ONLY apply those diff's in that order. Once again, start with fresh source.

It can be confusing your first time...but once you get familiar, you will see how easy it is...especially with Headkaze's compiler.
Title: Re: need help please
Post by: nightwulfe on April 18, 2008, 07:33:46 pm
ok so far it is going correctly i am going to sleep for 2 hrs and will be at work at 12am
but can still work on it there if you are still here i will tell you of any errors

thanks for helping and not making me feel like a complete moron
Title: Re: need help please
Post by: nightwulfe on April 18, 2008, 09:31:50 pm
ok thanks it worked

one last Question?
how do i take that and make a mame 32 out of it i cant use mame command line
Title: Re: need help please
Post by: MKChamp on April 19, 2008, 01:43:36 am
Should be as simple as applying to mame32 source...not sure....never looked at it before.
Title: Re: need help please
Post by: headkaze on April 19, 2008, 02:39:08 am
For MameUI just download the MameUI source

1. Copy the winui directory to src\osd\winui
2. Copy mameui.mak to root where the core makefile is located
3. Put a tick next to "Mame UI" in Mame Compiler
4. Press Go! button
Title: Re: need help please
Post by: nightwulfe on April 19, 2008, 02:56:40 am
thank you going to try now : ;D
Title: Re: need help please
Post by: nightwulfe on April 19, 2008, 04:13:46 am
Thank You MKChamp,and headkaze for all your help now i am that much closer to finishing up my cab. :notworthy: :applaud: :cheers: