beautypg.com

Chapter 2: installation, 1 executable software components, 2 application sdk components – Sensoray 2410 API User Manual

Page 6

background image

Sensoray 24xx Programming Guide

2

Installation

Chapter 2: Installation

2.1 Executable Software Components

The middleware is dependent on a network API, so a suitable socket interface must be installed and properly configured. In
addition, the middleware must be installed on a 24xx client system as described below.

2.1.1 Windows

Dynamic link library file

S24xx.DLL

must be located in either the directory containing the application that uses it, or in one of the

directories in the operating system’s DLL search path (e.g., “

C:\WINDOWS\SYSTEM\SYSTEM32

”).

2.1.2 Linux

Library file

lib24xx.a

must be located in the linker’s library search path. You can locate the library in one of the linker’s default

search path directories or, alternatively, you may 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 specify the library
path:

gcc -g -o clientapp clientapp.o -L. -l24xx

In this case, the “

-L.

” indicates that the current directory is to be searched for library files, and the “

-l24xx

” requests linking of

the

lib24xx.a

library file.

2.2 Application SDK Components

Distribution media for the Model 24xx family includes the API libraries, documentation, sample applications and other source
code files:

s24xx.dll

Windows API dynamic link library.

s24xx.lib

Windows import library.

s24xx.a

Linux API static library.

s24xx.h

API declarations. Include this in all C/C++ application modules that call API library functions.

stypes.h

API types. This is required by

S24xx

.h.