[Pbrt-discuss] Link errors while compiling pbrt in vs2005
陈华平
chenhuaping84 at 163.com
Tue Dec 18 06:42:53 EST 2007
HI,
could you set enviorment variable.
在2007-12-18,"Sajid Hussain" <shsajid at gmail.com> 写道:
Hi,
I have installed everything "C:\cygwin" and "openexr-1.4.0-vs2005" and set the path "core-properties-C/C++-general-Additional Include Libraries" to the location "C:\pbrt\src\win32\openexr- 1.4.0-vs2005\include" (where I have installed "openexr-1.4.0-vs2005") and also path "core-properties-C/C++-general-Additional Library Directories" to "C:\pbrt\src\win32\openexr-1.4.0-vs2005\lib ".
Still getting the same problems.
regards
sajid
On Dec 17, 2007 10:21 PM, Sajid Hussain <shsajid at gmail.com> wrote:
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/20071218/7068ad63/attachment.html>
More information about the pbrt-discuss
mailing list