[Pbrt-discuss] Link errors while compiling pbrt in vs2005

Sajid Hussain shsajid at gmail.com
Mon Dec 17 16:21:11 EST 2007


Hi,

I get the following errors while compiling pbrt in vs2005 under microsoft
windows xp.

Error 3 error LNK2019: unresolved external symbol "int __cdecl
yyparse(void)" (?yyparse@@YAHXZ) referenced in function "bool __cdecl
ParseFile(char const *)" (?ParseFile@@YA_NPBD at Z) parser.obj
Error 4 error LNK2001: unresolved external symbol "int line_num" (
?line_num@@3HA) parser.obj
Error 5 error LNK2001: unresolved external symbol "int line_num" (
?line_num@@3HA) util.obj
Error 6 error LNK2001: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > current_file" (
?current_file@@3V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@A
) parser.obj
Error 7 error LNK2001: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > current_file" (
?current_file@@3V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@A
) util.obj
Error 8 error LNK2001: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > current_file" (
?current_file@@3V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@A
) util.obj
Error 9 error LNK2001: unresolved external symbol "struct _iobuf * yyin" (
?yyin@@3PAU_iobuf@@A) parser.obj

Can anybody help?

regards

sajid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/pbrt-discuss/attachments/20071217/8aa5a70b/attachment.html>


More information about the pbrt-discuss mailing list