Chapter 2: installation, 1 executable software components, 2 application sdk components – Sensoray 2600 User Manual
Page 6

Sensoray 2600 Programming Guide
2
Installation
Chapter 2: Installation
2.1 Executable Software Components
Because the middleware is dependent on a network socket API, a suitable socket interface must be installed and properly
configured. In addition, the middleware must be correctly installed on a 2600 client system as described in the following
sub-sections.
2.1.1 Windows
Dynamic link library file
S2600.DLL
must be located in either (1) the directory containing the application that uses it, or (2) in one
of the directories in the operating system’s DLL search path (e.g., “
C:\WINDOWS\SYSTEM
”).
2.1.2 Linux
Library file
lib2600.a
must be located in the linker’s library search path. You can either (1) locate the library in one of the
linker’s default search path directories, or (2) explicitly specify the path of the library when invoking the linker. As an example of
the latter, you could locate the library in your application project’s directory and use a command like this to explicitly specify the
library path:
gcc -g -o clientapp clientapp.o -L. -l2600
In this case, the “
-L.
” indicates that the current directory is to be searched for library files, and the “
-l2600
” requests linking of
the
lib2600.a
library file.
2.1.3 Other
Source files are included in the SDK to enable you to port it to another operating system or cpu. Refer to the linux directory for a
reference design that can serve as a basis for porting.
2.2 Application SDK Components
Distribution media for the Model 2600 family includes source-code files and demo applications that are designed to accelerate the
development of your application program:
2.2.1 Windows
win2600.c
Functions used for dynamically linking to
S2600.DLL
. Compile and link this into any C/C++ application
that calls functions in
S2600.DLL
.
win2600.h
Windows-specific. Include this in all C/C++ application modules that call functions in
S2600.DLL
.
app2600.h
Generic declarations. This file is included in
win2600.h
.
s26app.h
Windows-specific declarations. This file is included in
app2600.h
.
s2600.bas
Declarations required for Visual Basic applications. Include this file in any VB project that calls functions
in
S2600.DLL
. Note: this is not compatible with VB.NET.
2.2.2 Linux
app2600.h
Generic declarations. Include this in all C/C++ application modules that call functions in
lib2600.a
.
s26app.h
Linux-specific declarations. This file is included in
app2600.h
.