scripting language artice from flipcode...

Started by
2 comments, last by dirkduck 22 years, 7 months ago
Hi all, well after reading that artice on making a scripting language from flipcode, i downloaded the source from tutorial 8 (the last tutorial) but then when i try to compile it I get like 6 linker errors flagged at me: Linking... main.obj : error LNK2001: unresolved external symbol "int lineno" (?lineno@@3HA) main.obj : error LNK2001: unresolved external symbol "class TreeNode * tree" (?tree@@3PAVTreeNode@@A) main.obj : error LNK2001: unresolved external symbol "int __cdecl yyparse(void)" (?yyparse@@YAHXZ) main.obj : error LNK2001: unresolved external symbol "struct _iobuf * yyin" (?yyin@@3PAU_iobuf@@A) vm.obj : error LNK2001: unresolved external symbol "class SymTab st" (?st@@3VSymTab@@A) Debug/string.exe : fatal error LNK1120: 5 unresolved externals Error executing link.exe. and im not sure what they are all from. Im using MSVC++6 so i jsut load up the project file that came in the zip. Any idea whats wrong? thanks McDougal...DUCK McDougal
http://www.labino.net
Advertisement
You''re probably missing a file or two. I expect you need to download more source files to have a fully working setup.
Have you linked in the appropriate .lib files for lex/yacc?
yeah, i linked the libflex.lib which was the only library that came with the zip, and i still get all the errors

McDougal...DUCK McDougal
http://www.labino.net

This topic is closed to new replies.

Advertisement