mw |
MAME Fan
|
|
|
Reged: 01/01/07
|
Posts: 76
|
|
|
Send PM
|
|
|
Compiling MAME issue - wpc_an
#315389 - 10/05/13 06:39 PM
|
|
|
Hi,
Is there a better place than this to post a compiling issue?
The wpc_an driver has been updated recently by barryrod.
There is an included file listed in the wpc_an.c source file that may have a typo in the file name. Line 10 indicates that an include file named "wpc_an.lh" should be included. I haven't been able to find that file anywhere. I don't know exactly when this include got changed last, it may have been several svn revisions ago, but after v0.150 was released.
One might assume the include file should be "wpc_an.h", but I can't find that file either.
If I comment out line 10, a problem occurs on line 473 where "layout_wpc_an" hasn't been defined yet, probably dependent on the missing include file.
Of course, I can comment out line 473 too, just to get it to compile, but at that point I wouldn't bother trying to run that driver.
|
|
|
Tafoid |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3137
|
Loc: USA
|
|
Send PM
|
|
|
Re: Compiling MAME issue - wpc_an
[Re: mw]
#315393 - 10/05/13 08:05 PM
|
|
|
> Hi, > > Is there a better place than this to post a compiling issue? > > The wpc_an driver has been updated recently by barryrod. > > There is an included file listed in the wpc_an.c source file that may have a typo in > the file name. Line 10 indicates that an include file named "wpc_an.lh" should be > included. I haven't been able to find that file anywhere. I don't know exactly when > this include got changed last, it may have been several svn revisions ago, but after > v0.150 was released. > > One might assume the include file should be "wpc_an.h", but I can't find that file > either. > > If I comment out line 10, a problem occurs on line 473 where "layout_wpc_an" hasn't > been defined yet, probably dependent on the missing include file. > > Of course, I can comment out line 473 too, just to get it to compile, but at that > point I wouldn't bother trying to run that driver.
I may be mistaken but any include that looks for ".lh" actually looks for a proper layout file (lh = layout header). So, the "wpc_an.lay" is the file it is actually including. You can also see it by looking under the layout dependencies for wpc_an - notice too driver section earlier in the file as well, an object file referencing the pinball.a (archive) file in your OBJ folder.
In any case, I see no compile error with current SVN and using default GCC version 4.6.2.
|
|
|
mw |
MAME Fan
|
|
|
Reged: 01/01/07
|
Posts: 76
|
|
|
Send PM
|
|
|
Re: Compiling MAME issue - wpc_an
[Re: Tafoid]
#315400 - 10/06/13 12:24 AM
|
|
|
@Tafoid,
Thanks for your kind response. Your recollection about the .lh files was accurate.
|
|
|
|