[DGD] compile host pc

James Gaunt email at jamesgaunt.co.uk
Sun Jan 27 19:28:29 CET 2002


>The error seems to appear when I go from 1.2.5 to 1.2.6 ...
>Does anyone else have problems like this? When it gets to linking it fails.

I got these errors too, I got DGD to compile using VCC 6 by doing the
following...

>src\interpret.h(193) : error C2061: syntax error : identifier 'dfuncdef'
>src\interpret.h(206) : error C2059: syntax error : '}'
>src\interpret.h(209) : error C2079: 'stack' uses undefined struct '_value_'
>src\interpret.h(210) : error C2079: 'topframe' uses undefined struct
'_frame_'

These errors appear to be the result of not including data.h in the parser.c
source file. I added the line
# include "data.h"
just before the line
# include "interpret.h"
in parser.c

then...

>comm.obj : error LNK2001: unresolved external symbol _sch_env
>config.obj : error LNK2001: unresolved external symbol _sch_env
>dgd.obj : error LNK2001: unresolved external symbol _sch_env

These errors are due to two source files not being included as part of the
VCC project. These are
sdata.c and scheduler.c. Add these to the project using the menu option
Project>Add to project>files.

Then everthing seems to compile fine. Just remains to see if everything
works fine!

Regards

Kalten



_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list