Is the BOINC API lib included in the linker library list? ----- Rom
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ryon Sent: Tuesday, June 12, 2012 5:47 AM To: [email protected] Subject: [boinc_dev] Unresolved external Hi, I tried compile "hello, world!" application for BOINC project on my server. I use Windows 7 x64 Ultimate, Visual Studio 2011 Developer Preview. Source code: #include <stdio.h> #include <boinc_api.h> int main() { boinc_init(); printf("Hello,World!\n"); boinc_finish(1); } Output: 1>------ Build started: Project: Hello,World!, Configuration: Debug 1>Win32 ------ 1>Source.obj : error LNK2019: unresolved external symbol _boinc_init referenced in function _main 1>Source.obj : error LNK2019: unresolved external symbol _boinc_finish referenced in function _main 1>D:\TOP\Grid\Apps\Hello,World!\Debug\Hello,World!.exe : fatal error LNK1120: 2 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Help me please (T_T) _______________________________________________ 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.
