From shsajid at gmail.com Mon Dec 17 16:21:11 2007 From: shsajid at gmail.com (Sajid Hussain) Date: Mon, 17 Dec 2007 22:21:11 +0100 Subject: [Pbrt-discuss] Link errors while compiling pbrt in vs2005 Message-ID: <9ed504330712171321k53259359y61e633cd9bd7f029@mail.gmail.com> 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,class std::allocator > 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,class std::allocator > 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,class std::allocator > 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: From shsajid at gmail.com Tue Dec 18 04:51:31 2007 From: shsajid at gmail.com (Sajid Hussain) Date: Tue, 18 Dec 2007 10:51:31 +0100 Subject: [Pbrt-discuss] Link errors while compiling pbrt in vs2005 In-Reply-To: <9ed504330712171321k53259359y61e633cd9bd7f029@mail.gmail.com> References: <9ed504330712171321k53259359y61e633cd9bd7f029@mail.gmail.com> Message-ID: <9ed504330712180151q6a2733abnff43a17dfa4e2d65@mail.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 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,class > std::allocator > 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,class > std::allocator > 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,class > std::allocator > 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: From chenhuaping84 at 163.com Tue Dec 18 06:42:53 2007 From: chenhuaping84 at 163.com (=?GBK?B?s8K7qsa9?=) Date: Tue, 18 Dec 2007 19:42:53 +0800 (CST) Subject: [Pbrt-discuss] Link errors while compiling pbrt in vs2005 In-Reply-To: <9ed504330712180151q6a2733abnff43a17dfa4e2d65@mail.gmail.com> References: <9ed504330712180151q6a2733abnff43a17dfa4e2d65@mail.gmail.com> <9ed504330712171321k53259359y61e633cd9bd7f029@mail.gmail.com> Message-ID: <167822693.1459851197978173512.JavaMail.coremail@bj163app126.163.com> HI, could you set enviorment variable. ?2007-12-18?"Sajid Hussain" ??? 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 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,class std::allocator > 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,class std::allocator > 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,class std::allocator > 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: