Sentis-ToF-M100 API  - Windows
-----------------------------------------------------------

The windows folder contains the .lib and .dll files of 
either the dynamic and the static version of the library 
API.

It also includes the library dependencies pthreads-w32 and
freeglut and pre-compiled executables of the sample
application. We have included a Visual Studio 11 project
ready to compile.

Please mind that all the paths have been set relative to the
package folder structure. If you make any change, please mind
to correct these paths.

The pre-compiled examples (/windows/sample_binaries/) include
a .bat file that sets temporarily the dll libraries path. 
Please use it. You can also install the libraries in your 
system by folowing the instruction you will find bellow.

You will also need the Visual C++ Redistributable for your 
system version. The Visual C++ Redistributable Packages 
install runtime components that are required to run C++ 
applications built with Visual Studio. You can get
them from the Download Center web site of Microsoft: 
- Visual C++ 2012 Redistributable: 
http://www.microsoft.com/en-us/download/details.aspx?id=30679
- You will also need the Visual C++ 2010 Redistributable:
Microsoft Visual C++ 2010 Redistributable Package (x64)
http://www.microsoft.com/en-us/download/details.aspx?id=14632
Microsoft Visual C++ 2010 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=5555

-Library dependencies
The windows version of the API depends on pthreads-w32 
library. You can install this library in your system if
you want. You will find the pthreads-w32 library 
(pthreadVC2.dll) in the /windows/libraries folder.
It is the compiled version used when the Sentis-ToF-M100 API 
was built last time. Copy the .dll file in your 
c:\windows\system32 and try to execute the sample apps in 
/windows/sample_binaries/. 
(http://www.sourceware.org/pthreads-win32/)

The sample applications that use the opengl viewer (glut-*)
need the freeglut library (freeglut.dll) installed as well 
in your system.
(http://freeglut.sourceforge.net/)
You will find it in the /windows/libraries folder of this 
package as well. Move it also to the c:/windows/system32 
folder of your windows installation. 

Also remember to install the m100.dll library in your system
by coping it from windows/bin/ to c:\windows\system32.

For all libraries, be careful to use the right version that 
matches your os version x64 or x86. 

If you want to build the binaries from the sources open the
the Visual Studio project (Visual Studio must be installed 
in your system). The project is ready to find the .lib files 
from its location. It is configured to generate Debug and 
Release version for 32 and 64 bits.
Check the Configuration Manager to select the configuration you
need before build. 
After building if you want to execute or debug the sample
applications, you must install the .dll dependency files 
in your system as described above.

----------------------------------------------------------
For suggestions, bug or error reports, please contact the 
development team:

office@voxel.at
2013 - VoXel Interaction Design.
