Skip to main content

C Environment Settings

C Environment Settings

Several files are provided for the implementation of the Pi Soft C API. The environment settings will differ based on platforms and development tools in use.

For C developers, teagent_c.h is the only header file that needs to be included. It can be used on all platforms.

Windows

For the Windows platform working with Microsoft Visual C++, the following files are provided.

  • te_agent_c.lib
  • te_agent_c.dll

For a Microsoft Visual C++ project, set the environment as follows to compile, link and run the program.

  1. Include the header file: teagent_c.h
  2. Link with te_agent_c.lib
  3. Use run-time library Debug Multithreaded DLL for debug version or Multithreaded DLL for release version
  4. Run with te_agent_c.dll
Unix/Linux

For the Unix/Linux platform, the following files are provided.