I tried both VC++ express 2005 and 2008 and I´m having this problem. *1>------ Build started: Project: wrapper, Configuration: Debug Win32 ------ 1>Linking... 1>wrapper.obj : error LNK2019: unresolved external symbol "public: bool __thiscall XML_PARSER::parse_double(char *,char const *,double &)" (?parse_dou...@xml_parser@@qae_npadpbd...@z) referenced in function "public: int __thiscall TASK::parse(class XML_PARSER &)" (?pa...@task @@QAEHAAVXML_PARSER@@@Z) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: bool __thiscall XML_PARSER::parse_str(char *,char const *,char *,int)" (?parse_...@xml_parser@@qae_npadpb...@z) referenced in function "public: int __thiscall TASK::parse(class XML_PARSER &)" (?pa...@task@@QAEHAAVXML_PARSER@ @@Z) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: bool __thiscall XML_PARSER::parse_string(char *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?parse_str...@xml_parser @@qae_npadpbdaav?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z) referenced in function "public: int __thiscall TASK::parse(class XML_PARSER &)" (?pa...@task@@QAEHAAVXML_PARSER@@@Z) 1>wrapper.obj : error LNK2019: unresolved external symbol "char * __cdecl boinc_msg_prefix(void)" (?boinc_msg_prefix@@YAPADXZ) referenced in function "public: int __thiscall TASK::parse(class XML_PARSER &)" (?pa...@task @@QAEHAAVXML_PARSER@@@Z) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: bool __thiscall XML_PARSER::get(char *,int,bool &,char *,int)" (?...@xml_parser @@qae_npadhaa_...@z) referenced in function "public: int __thiscall TASK::parse(class XML_PARSER &)" (?pa...@task@@QAEHAAVXML_PARSER@@@Z) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: bool __thiscall XML_PARSER::parse_start(char const *)" (?parse_st...@xml_parser @@qae_n...@z) referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@@YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: __thiscall XML_PARSER::XML_PARSER(class MIOFILE *)" (??0XML_PARSER@ @q...@pavmiofile@@@Z) referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@@YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: void __thiscall MIOFILE::init_file(struct _iobuf *)" (?init_f...@miofile @@QAEXPAU_iobuf@@@Z) referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@@YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: __thiscall MIOFILE::~MIOFILE(void)" (??1MIOFILE@@q...@xz) referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@@YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol _boinc_fopen referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@ @YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol _boinc_resolve_filename referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@@YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: __thiscall MIOFILE::MIOFILE(void)" (??0MIOFILE@@q...@xz) referenced in function "int __cdecl parse_job_file(void)" (?parse_job_file@@YAHXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol "int __cdecl boinc_resolve_filename_s(char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?boinc_resolve_filename_s@@yahpbdaav?$basic_str...@du?$char_traits@d...@std@ @v?$alloca...@d@2@@std@@@Z) referenced in function "public: int __thiscall TASK::run(int,char * *)" (?...@task@@qaehhpa...@z) 1>wrapper.obj : error LNK2019: unresolved external symbol "int __cdecl suspend_or_resume_threads(unsigned long,bool)" (?suspend_or_resume_threads@ @yah...@z) referenced in function "public: void __thiscall TASK::stop(void)" (?s...@task@@QAEXXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol _boinc_get_status referenced in function "void __cdecl poll_boinc_messages(struct TASK &)" (?poll_boinc_messages@@YAXAAUTASK@@@Z) 1>wrapper.obj : error LNK2019: unresolved external symbol "int __cdecl boinc_process_cpu_time(void *,double &)" (?boinc_process_cpu_time@ @yahpax...@z) referenced in function "public: double __thiscall TASK::cpu_time(void)" (?cpu_t...@task@@QAENXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol _boinc_report_app_status referenced in function "void __cdecl send_status_message(struct TASK &,double,double)" (?send_status_message@ @YAXAAUTASK@@n...@z) 1>wrapper.obj : error LNK2019: unresolved external symbol "void __cdecl boinc_sleep(double)" (?boinc_sleep@@y...@z) referenced in function _main 1>wrapper.obj : error LNK2019: unresolved external symbol _boinc_finish referenced in function _main 1>wrapper.obj : error LNK2019: unresolved external symbol "int __cdecl boinc_get_init_data(struct APP_INIT_DATA &)" (?boinc_get_init_data@ @YAHAAUAPP_INIT_DATA@@@Z) referenced in function _main 1>wrapper.obj : error LNK2019: unresolved external symbol _boinc_init_options referenced in function _main 1>wrapper.obj : error LNK2019: unresolved external symbol "int __cdecl parse_command_line(char *,char * *)" (?parse_command_line@@yahpadpa...@z) referenced in function _winm...@16 1>wrapper.obj : error LNK2019: unresolved external symbol "public: __thiscall APP_INIT_DATA::APP_INIT_DATA(void)" (??0APP_INIT_DATA@@q...@xz) referenced in function "void __cdecl `dynamic initializer for 'aid''(void)" (??__Eaid@@YAXXZ) 1>wrapper.obj : error LNK2019: unresolved external symbol "public: __thiscall APP_INIT_DATA::~APP_INIT_DATA(void)" (??1APP_INIT_DATA@@q...@xz) referenced in function "void __cdecl `dynamic atexit destructor for 'aid''(void)" (??__Faid@@YAXXZ) 1>.\Build\Win32\Debug\wrapper_6.1_windows_intelx86.exe : fatal error LNK1120: 24 unresolved externals 1>Build log was saved at "file://c:\Documents and Settings\Rodrigo\Desktop\boinc\win_build\Build\Win32\Debug\wrapper\obj\BuildLog.htm" 1>wrapper - 25 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========*
2009/9/18 Willy de Zutter <[email protected]> > About info: > > Microsoft Visual Studio 2008 > Version 9.0.21022.8 RTM > Microsoft .NET Framework > Version 3.5 SP1 > > Installed Edition: Enterprise > > Microsoft Visual C++ 2008 91904-270-7659186-60142 > Microsoft Visual C++ 2008 > > Microsoft Visual Studio Team System 2008 Development Edition > 91904-270-7659186-60142 > > > Willy. > > 2009/9/18 Rodrigo Flores <[email protected]> > > Willy and David >> You are using Visual Studio or Visual Studio Express ? >> >> >> >> 2009/9/18 Willy de Zutter <[email protected]> >> >> When I remove glaux it compiles fine under VS2008. >>> >>> Willy. >>> >>> 2009/9/18 Nicolás Alvarez <[email protected]> >>> >>> > El Vie 18 Sep 2009 01:41:55 David Anderson escribió: >>> > > Nicolás Alvarez wrote: >>> > > > Does the Visual C++ project file for the wrapper app work at all? >>> > > > >>> > > > It seems to be linking useless things like opengl and glaux, while >>> not >>> > > > linking the *BOINC API*. >>> > > >>> > > Works for me in VS 2005 >>> > >>> > I forgot to mention I'm using VS 2008. I think the problem appears when >>> > VS2008 >>> > converts the project file to the new format. >>> > >>> > -- >>> > Nicolas >>> > _______________________________________________ >>> > boinc_dev mailing list >>> > [email protected] >>> > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev >>> > To unsubscribe, visit the above URL and >>> > (near bottom of page) enter your email address. >>> > >>> _______________________________________________ >>> boinc_dev mailing list >>> [email protected] >>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev >>> To unsubscribe, visit the above URL and >>> (near bottom of page) enter your email address. >>> >> >> >> >> -- >> >> "A critical section of code is like a bathroom. Only one person is allowed >> inside at once. >> >> Iker Gondra, Operating Systems >> St. Francis Xavier University, Antigonish, NS" >> >> =================== >> Rodrigo L. M. Flores >> Computer Science Student - IME - USP >> Homepage (en): http://www.rodrigoflores.org >> Blog (pt-BR): http://blog.rodrigoflores.org >> Linux User # : 351304 >> Jabber: [email protected] >> > > -- "A critical section of code is like a bathroom. Only one person is allowed inside at once. Iker Gondra, Operating Systems St. Francis Xavier University, Antigonish, NS" =================== Rodrigo L. M. Flores Computer Science Student - IME - USP Homepage (en): http://www.rodrigoflores.org Blog (pt-BR): http://blog.rodrigoflores.org Linux User # : 351304 Jabber: [email protected] _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
