Licensing Libraries for C
This section lists the licensing libraries available for the various supported platforms:
See Also: Which Licensing Library to Use?
Windows
Sentinel RMS Library | Static Library | Dynamic Link Library | ||
---|---|---|---|---|
32-bit | 64-bit | 32-bit | 64-bit | |
SCP-integrated library1 | lssrvscp32.lib | lssrvscp64.lib | lssrvscp32.dll | lssrvscp64.dll |
Integrated licensing library |
lsapiw32.lib and liblssrv32.lib |
lsapiw64.lib and liblssrv64.lib | lsapiw32.dll and liblssrv32.dll | lsapiw64.dll and liblssrv64.dll |
Network licensing library |
lsclws32.lib |
lsclws64.lib | lsclws32.dll | lsclws64.dll |
Standalone licensing library |
lsnnet32.lib |
lsnnet64.lib | lsnnet32.dll | lsnnet64.dll |
1 The SCP-integrated library—required for supporting the Lease mode and Connected (Cloud LM) mode—is to be obtained from the SCL Add-on package.
>In addition to using the correct libraries, you must also link the following libraries into your application: ws2_32.lib, rpcrt4.lib, shell32.lib, ole32.lib, oleaut32.lib, uuid.lib, odbc32.lib,odbccp32.lib,netapi32.lib, kernel32.lib, user32.lib, gdi32.lib, winspool.lib, comdlg32.lib, and advapi32.lib.
>For Microsoft Visual Studio 2015 and later, the user is required to link legacy_stdio_definitions.lib in their application.
>Refer to the sample32.MSVS<version>.mak make file in the Samples\C directory for details on how to link your application with the Sentinel RMS licensing library.
>The flag _VMSWIN_ needs to be defined while building Windows 32-bit or 64-bit application for proper struct packing.
UNIX
The following table provides the list of Sentinel RMS SDK C libraries for UNIX (32-bit and 64-bit):
Sentinel RMS Library | Static Library | Shared Library | ||
---|---|---|---|---|
32-bit | 64-bit | 32-bit | 64-bit | |
SCP-integrated library1 | liblssrvscp.a | liblssrvscp64.a | liblssrvscp.so | liblssrvscp64.so |
Integrated licensing library |
liblssrv.a |
liblssrv64.a | liblssrv.so | liblssrv64.so |
Network licensing library |
libls.a |
libls64.a | libls.so | libls64.so |
Standalone licensing library |
libnonet.a |
libnonet64.a | libnonet.so | libnonet64.so |
1 The SCP-integrated library—required for supporting the Lease mode and Connected (Cloud LM) mode—is to be obtained from the SCL Add-on package.
>The libls.a and libnonet.a libraries result in smaller executables, but provide limited functionality than the liblssrv.a library.
>To specify the library best for you, edit the Makefile in the samples directory. Change the value of the macro, LICENSE_LIBS. By default, it specifies the library libls.a to link with, via -lls. Change it to -lnonet or -llssrv.
>In addition to using the correct libraries, you must also link to the following libraries: libm and libpthread.
>For development with 64-bit Sentinel RMS licensing libraries, compile your application with flag _V_LP64_.
>While building samples, if you get the "ncurse" dependency error then install the "ncurses library package" depending on your operating system.
Android
The following table lists the libraries available in Sentinel RMS SDK for Android (64-bit):
Sentinel RMS Library | Static Library | Shared Library |
---|---|---|
SCP-integrated library1 | liblssrvscp64.a | liblssrvscp64.so |
Integrated licensing library | liblssrv64.a | liblssrv64.so |
Network licensing library | libls64.a | libls64.so |
Standalone licensing library | libnonet64.a | libnonet64.so |
1 The SCP-integrated library—required for supporting the Lease mode and Connected (Cloud LM) mode—is to be obtained from the SCL Add-on package.
Linux ARM
The following table lists the Sentinel RMS SDK C libraries for Linux ARM 32-bit [soft float/hard float] and 64-bit, respectively:
Sentinel RMS Library | Static Library | Shared Library | ||
---|---|---|---|---|
32-bit (SF/HF) | 64-bit | 32-bit (SF/HF) | 64-bit | |
SCP-integrated library1 | liblssrvscp.a | liblssrvscp64.a | liblssrvscp.so | liblssrvscp64.so |
Integrated licensing library | liblssrv.a | liblssrv64.a | liblssrv.so | liblssrv64.so |
Network licensing library | libls.a | libls64.a | libls.so | libls64.so |
Standalone licensing library | libnonet.a | libnonet64.a | libnonet.so | libnonet64.so |
1 The SCP-integrated library—required for supporting the Lease mode and Connected (Cloud LM) mode—is to be obtained from the SCL Add-on package.
MAC
The following table provides the list of Sentinel RMS SDK C libraries for UNIX (64-bit):
Sentinel RMS Library | Static Library | Shared Library |
---|---|---|
SCP-integrated library1 | liblssrvscp64.a | liblssrvscp64.dylib |
Integrated licensing library | liblssrv64.a | liblssrv64.dylib |
Network licensing library | libls64.a | libls64.dylib |
Standalone licensing library | libnonet64.a | libnonet64.dylib |
1 The SCP-integrated library—required for supporting the Lease mode and Connected (Cloud LM) mode—is to be obtained from the SCL Add-on package.