 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:31
|
|
I can't build ctpdb.exe. One problem seems to be that lex.yy.c (which doesn't exist at this point) is both an input and an output. How did you guys overcome this?
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:31
|
|
quote:
flex is a tool for generating scanners: programs which recognized lexical patterns in text. flex reads the given input files, or its standard input if no file names are given, for a description of a scanner to generate. The description is in the form of pairs of regular expressions and C code, called rules. flex generates as output a C source file, `lex.yy.c', which defines a routine `yylex()'. This file is compiled and linked with the `-lfl' library to produce an executable. When the executable is run, it analyzes its input for occurrences of the regular expressions. Whenever it finds one, it executes the corresponding C code.
|
Here's the whole top page: http://dinosaur.compilertools.net/
So one will be for the database files and the other for the slic files (but I haven't got there yet, cause I can't get past the bloody database).
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:31
|
|
I did a comparison of my dbgen.dsp with yours and the only difference is that the paths to flex differ (because my Activision folder is in C:Program Files).
Could you zip up lex.yy.c, y.tab.c, and y.tab.h and I'll stick them in the dbgen folder and see what happens.
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:31
|
|
Success!!!
At least now I have a ctpdb.exe.
Thanks Martin.
|
|
|  |
 |
|  |
 |
|
Fromafar
|
|
Did you happen to do a Release or Final build in between 2 Debug builds? For me, this sequence will almost always cause a failure report for each dbgen generated file.
Because no input (.cdb) files have been changed, it should not be necessary to compile anything. The object files of the the different build types are in different directories. But maybe the update of the .stamp file is causing the problem?
Stubbornly pressing F7, or doing a full build, will eventually create a correct executable.
Anyway, I don't think it is something we have changed. I had this problem with the original Activision package as well.
|
|
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|