To install the SDK you’ll need both the application package and the SDK package for the target platform from the Download page. We recommend using the latest version.

First install the application package as mentioned on the download page. Then unpack the dowloaded SDK tarball or zip-file in a directory of your choice. This will yield a subdirectory called eyevec-sdk-<version>-linux-x86_64 or eyevec-sdk-<version>-windows-x86_64. See SDK contents.

We assume you have a build environment that contains the following directories for external libraries: include, lib, bin and share. It might look like this:

<instdir>/include/
<instdir>/lib/
<instdir>/bin/
<instdir>/share/

where <instdir> can refer to a directory in your account (for instance /home/joe/external/x86_64 or C:\Users\Jane\libraries) or to a system directory (for instance /opt or /usr/local or W:\shared-stuff)

For Windows we assume you’ll be working from an MSYS2 environment.
This concerns shell commands as well as the compiler suite being used.

Now copy relevant files from the SDK package directory into the above tree.

The commands below will overwrite existing files without asking. It is your responsibility to check what actually will be copied.

To make sure you have clean install you might want to first deinstall the current EyeVec SDK if applicable.

Linux

cd eyevec-sdk-<version>-linux-x86_64
cp -a * <instdir>/

Or alternatively copy one by one:

cd eyevec-sdk-<version>-linux-x86_64
cp -a include/eyevec <instdir>/include/
cp -a lib/* <instdir>/lib/
cp -a share/* <instdir>/share/

To see what has been copied:

cd <instdir>
ls -l include/eyevec lib/libeyevec* share/eyevec

To ensure the installed library (shared object) will be found when you run a program that links to it you should either use environment variable LD_LIBRARY_PATH to define where to look for libraries, or add <instdir>/lib/ to the list of directories scanned by ldconfig(8) and then run ldconfig once.

Windows / MSYS2

cd eyevec-sdk-<version>-windows-x86_64
cp -a * <instdir>/

Or alternatively copy one by one:

cd eyevec-sdk-<version>-windows-x86_64
cp -a include/eyevec <instdir>/include/
cp -a lib/* <instdir>/lib/
cp -a bin/* <instdir>/bin/
cp -a share/* <instdir>/share/

To see what has been copied:

cd <instdir>
ls -l include/eyevec lib/libeyevec* bin/libeyevec* share/eyevec

To ensure the installed library (DLL) will be found when you run a program that links to it you should either copy the DLL (libeyevec.dll) to a directory in the search path, or copy the DLL to the same directory as the executable.

Deinstalling the SDK

To remove the SDK from your system proceed as described below. We’ll assume you have installed the SDK under <instdir>/ as described above.

The commands below will remove files without asking. It is your responsibility to check what actually will be removed.

Linux

 cd <instdir>
 ls -l include/eyevec lib/libeyevec* share/eyevec

 rm -rf include/eyevec
 rm -f lib/libeyevec*
 rm -rf share/eyevec

Windows / MSYS2

 cd <instdir>
 ls -l include/eyevec lib/libeyevec* bin/libeyevec* share/eyevec

 rm -rf include/eyevec
 rm -f lib/libeyevec.dll.a
 rm -f bin/libeyevec.dll
 rm -rf share/eyevec