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 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.

Reply via email to