CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2011
    Posts
    5

    Unhappy Boinc application development

    I am trying to execute the sample 'hello.cpp' program in visual cpp 2010 express. I included the required headers for running boinc functions like boinc_init()..... while building the project, it gives


    warnings:
    c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(3): warning C4627: '#include <boinc_api.h>': skipped when looking for precompiled header use
    1> Add directive to 'StdAfx.h' or rebuild precompiled header

    errors:
    1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(29): error C3861: 'boinc_init': identifier not found
    1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(41): error C3861: 'boinc_resolve_filename': identifier not found
    1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(44): error C3861: 'boinc_finish': identifier not found
    1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(76): error C3861: 'boinc_finish': identifier not found
    1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(112): error C2440: '=' : cannot convert from 'LPWSTR' to 'LPSTR'
    1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



    How can i solve this errors.....

    Please help me..... i need to know it very urgently.....

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Boinc application development

    #include <boinc_api.h>': skipped when looking for precompiled header
    Check your project configuration and turn of 'precompiled headers' for all the files that give this error.

  3. #3
    Join Date
    Sep 2011
    Posts
    5

    Re: Boinc application development

    Thanks for your reply...

    I just started working with a BOINC project at out university.

    I have some executable files, which are to be executed on the client machines and view the results on my server. How can i perform this task??? Please help me out.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Boinc application development

    Quote Originally Posted by krismo View Post
    ...
    I just started working with a BOINC project at out university.

    I have some executable files, which are to be executed on the client machines and view the results on my server. How can i perform this task??? Please help me out.
    Have you already fixed the problems described in your OP?
    Victor Nijegorodov

  5. #5
    Join Date
    Sep 2011
    Posts
    5

    Re: Boinc application development

    Sorry i didn't get how do it. I still hung at that problem

  6. #6
    Join Date
    Sep 2011
    Posts
    5

    Re: Boinc application development

    Hello,
    I solved the problem but in a different way. Thanks for your reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured