<div>Hi,</div>
<div> </div>
<div>I get the following errors while compiling pbrt in vs2005 under microsoft windows xp.</div>
<div> </div>
<div>Error 3 error LNK2019: unresolved external symbol "int __cdecl yyparse(void)" (<a href="mailto:?yyparse@@YAHXZ">?yyparse@@YAHXZ</a>) referenced in function "bool __cdecl ParseFile(char const *)" (
<a href="mailto:?ParseFile@@YA_NPBD@Z">?ParseFile@@YA_NPBD@Z</a>) parser.obj <br>Error 4 error LNK2001: unresolved external symbol "int line_num" (<a href="mailto:?line_num@@3HA">?line_num@@3HA</a>) parser.obj <br>
Error 5 error LNK2001: unresolved external symbol "int line_num" (<a href="mailto:?line_num@@3HA">?line_num@@3HA</a>) util.obj <br>Error 6 error LNK2001: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > current_file" (
<a href="mailto:?current_file@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A">?current_file@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A</a>) parser.obj <br>Error 7 error LNK2001: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > current_file" (
<a href="mailto:?current_file@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A">?current_file@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A</a>) util.obj <br>Error 8 error LNK2001: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > current_file" (
<a href="mailto:?current_file@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A">?current_file@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A</a>) util.obj <br>Error 9 error LNK2001: unresolved external symbol "struct _iobuf * yyin" (
<a href="mailto:?yyin@@3PAU_iobuf@@A">?yyin@@3PAU_iobuf@@A</a>) parser.obj <br></div>
<div> </div>
<div>Can anybody help?</div>
<div> </div>
<div>regards</div>
<div> </div>
<div>sajid</div>