Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /home/boincnew/public_html/boinc-wiki.info/w/includes/StubObject.php on line 58
Application Development - Unofficial BOINC Wiki

Application Development

From Unofficial BOINC Wiki

Jump to: navigation, search

Contents

[edit] Cross-Platform Functions

Most POSIX calls are supported on Unix and Windows. For areas that are different (e.g. scanning directories) BOINC supplies some generic functions with implementations for all Platforms. Similar code may be available from other open-source projects.


[edit] Stack Traces

You can use Stackwalker to generate symbolic stack traces if your Science Application crashes. These traces will be returned in the 'stderr_out' field of results.


[edit] Windows-Specific Issues

  • The set of 'standard' DLL differs somewhat among 9X/NT/2000/XP. To avoid crashing because a DLL is missing, call ::LoadLibrary() and then get function pointers.
  • Visual Studio: set 'Create/Use Precompiled Header' to 'Automatically Generate' (/YX) in C/C++ Precompiled Header project properties.
  • Visual Studio: change 'Compile As' to 'Compile as C++ Code (/TP)' in C/C++ 'Compile As' project properties.

[edit] Unix-specific issues

static/dynamic linking

[edit] Cross-Language Issues

The BOINC API is implemented in C++. There is also information about using the BOINC API and Creating FORTRAN Applications.

[edit] UCB Source

[edit] Copyright ©

  • 2005 University of California
  • 2005 Paul D. Buck

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.

Personal tools
RSS Feeds
BOINC Wiki RSS feeds RSS Feeds
Powered by BOINC!
Powered by BOINC