Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Buddabing on March 28, 2005, 01:48:23 pm

Title: ListGen release
Post by: Buddabing on March 28, 2005, 01:48:23 pm
The first official release of my ListGen utility is done. Get it here. (http://cpmaker.mameprojects.com/files/LISTGEN.ZIP)

If you want to compile it, it should compile with a standard set of MinGW tools. For a full compile you will need bison and flex.

I don't see why it shouldn't run on DOS/DJGPP or GNU/Linux with minor changes to the makefile.

Screaming, (the BYOAC member not the act of), has helped out quite a bit on this project. Thanks!

I've added a -version option in this release.

Buddabing
Title: Re: ListGen release
Post by: 2600 on March 28, 2005, 04:45:01 pm
Sorry Buddabing, I always seem to bug you, but could you help me with this one. 

I'm having trouble getting it to compile.  Specifically, it errors out during the sqlite part. I'm not sure if I have to configure things a bit more, if it's my enviroment, or what.

Error below:

gcc -c sqlite2/src/auth.c -o obj/auth.o
gcc -c sqlite2/src/btree.c -o obj/btree.o
gcc -c sqlite2/src/build.c -o obj/build.o
gcc -c sqlite2/src/date.c -o obj/date.o
gcc -c sqlite2/src/delete.c -o obj/delete.o
gcc -c sqlite2/src/expr.c -o obj/expr.o
gcc -c sqlite2/src/func.c -o obj/func.o
In file included from sqlite2/src/func.c:26:
sqlite2/src/os.h:134: error: conflicting types for 'off_t'
d:/mingw32rc3/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/types.h:41: e
rror: previous declaration of 'off_t' was here
make: *** [obj/func.o] Error 1
Title: Re: ListGen release
Post by: Buddabing on March 28, 2005, 06:31:18 pm
Sorry Buddabing, I always seem to bug you, but could you help me with this one. 

I'm having trouble getting it to compile.  Specifically, it errors out during the sqlite part. I'm not sure if I have to configure things a bit more, if it's my enviroment, or what.

Error below:

gcc -c sqlite2/src/auth.c -o obj/auth.o
gcc -c sqlite2/src/btree.c -o obj/btree.o
gcc -c sqlite2/src/build.c -o obj/build.o
gcc -c sqlite2/src/date.c -o obj/date.o
gcc -c sqlite2/src/delete.c -o obj/delete.o
gcc -c sqlite2/src/expr.c -o obj/expr.o
gcc -c sqlite2/src/func.c -o obj/func.o
In file included from sqlite2/src/func.c:26:
sqlite2/src/os.h:134: error: conflicting types for 'off_t'
d:/mingw32rc3/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/types.h:41: e
rror: previous declaration of 'off_t' was here
make: *** [obj/func.o] Error 1

Darn. It should compile with the same MinGW distribution as MAME uses. If you still have the old special MinGW MAME used to use, try compiling with that.

Title: Re: ListGen release
Post by: 2600 on March 29, 2005, 09:03:00 am
That worked, thanks Buddabing.

It is probably my setup on this PC.
Title: Re: ListGen release
Post by: Buddabing on March 29, 2005, 01:35:16 pm
That worked, thanks Buddabing.

It is probably my setup on this PC.

I made a small change to allow it to compile on both MinGW versions.
Title: Re: ListGen release
Post by: Nocturnaloner on March 30, 2005, 12:33:30 am
Is this significantly different from the earlier version? (.exe is 193k, modified on 1/21/05)  I'm only using to generate Mamewah lists.
Title: Re: ListGen release
Post by: Buddabing on March 30, 2005, 07:54:43 am
Is this significantly different from the earlier version? (.exe is 193k, modified on 1/21/05)  I'm only using to generate Mamewah lists.

No. Really the only thing different is the ability to stop execution after the SQL stage, which allows different SQL to be run than just the filtering.