00001 # Microsoft Windows {#windows}
00002
00003 ##Tested versions
00004
00005 See the \link installation \endlink page for supported versions.
00006
00007 ##Installation
00008 On Windows, gclib is distributed in the following formats.
00009 * An executable installer which will install the library in the proper location to work with the included examples and documentation. PCI users can optionally install the PCI driver from within this installer.
00010 * A zip file containing the same set of files as the executable but in a zip archive. PCI users can use the stand-alone PCI driver installer.
00011 * A stand-alone PCI driver installer for PCI users (DMC-1806, 1800, 1802, 1417).
00012
00013 \note The PCI driver is compatible with GalilTools but is enhanced for gclib communications.
00014
00015 ### Download Installer
00016 Recommended, all instructions and examples depend on installation paths.
00017
00018 \htmlonly
00019 <ul>
00020 <li><a target="_blank" href="http://www.galil.com/sw/pub/win/gclib/galil_gclib_exe.html">http:
00021 </ul>
00022 \endhtmlonly
00023
00024 ### Download Zip
00025 For custom deployment or non-default file locations.
00026
00027 \htmlonly
00028 <ul>
00029 <li><a target="_blank" href="http://www.galil.com/sw/pub/win/gclib/galil_gclib_zip.html">http:
00030 <li>Optional PCI Driver: <a href="http://www.galil.com/sw/pub/win/gclib/galil_pci_14.exe">http:
00031 </ul>
00032 \endhtmlonly
00033
00034 If an earlier version is required, see http:
00035
00036 ###Required third-party DLLs
00037 gclib is built using MSVC2013 and requires run-time components available in the Visual C++ Redistributable Packages for Visual Studio 2013.
00038 On machines that don't already have Visual Studio 2013 installed, the required files can be installed from Microsoft.
00039 Be sure to install the appropriate architecture (x86 or x64).
00040 * http://www.microsoft.com/en-us/download/details.aspx?id=40784
00041
00042 ### Uninstall gclib
00043 * Run `uninstall.exe` in "C:\Program Files (x86)\Galil\gclib"
00044
00045 ##Installed Files
00046 Installation from the executable installer looks like the following.
00047
00048 C:\Program Files (x86)\Galil\gclib>tree /a
00049 Folder PATH listing for volume OS
00050 Volume serial number is AE3F-6836
00051 C:.
00052 +---dll
00053 | +---x64
00054 | \---x86
00055 +---doc
00056 | \---html
00057 | \---search
00058 +---examples
00059 | +---cpp
00060 | +---cs
00061 | | \---2013_12.0
00062 | | \---gclib_example
00063 | | \---gclib_example
00064 | | \---Properties
00065 | +---gcc
00066 | +---mingw
00067 | +---msvc
00068 | | \---2013_12.0
00069 | | \---gclib_example
00070 | | \---gclib_example
00071 | \---vb
00072 | \---2013_12.0
00073 | \---gclib_example
00074 | \---gclib_example
00075 | \---My Project
00076 +---include
00077 +---lib
00078 | \---dynamic
00079 | +---x64
00080 | \---x86
00081 \---source
00082 +---gclibo
00083 \---wrappers
00084 +---cs
00085 +---gcl
00086 \---vb
00087
00088
00089 ### dll
00090 The *dll* directory contains the binary *dynamic link libraries* (DLLs) for both x86 and x64 architectures. **Dynamically linked executables must have the correct dlls in their path at runtime**.
00091
00092 ###doc
00093 The *doc* directory contains this documentation and a printable, pdf version.
00094
00095 ###examples
00096 The *examples* directory contains example projects for various compilers. The *cpp* directory contains *x_examples.h* and the implementation of the example files documented in this manual.
00097
00098 \warning
00099 Before using the examples, copy the files to a user location such as *C:\\Users\\user\\Documents*. Failing to do so may cause source files to be deleted upon gclib uninstallation.
00100
00101 ###include
00102 The *include* directory contains header files needed for compiling code. The compiler will need to know where these files are at compile time.
00103 See the compiler-specific directions for more information, e.g. <a href="md_mingw.html">gclib using MinGW</a>.
00104
00105 ###lib
00106 The *lib* directory contains linker files (*gclib.lib* and *gclibo.lib*) for both x86 and x64 architectures.
00107 The linker should include *gclib.lib* and *gclibo.lib*.
00108
00109 ###source
00110 The *source* directory contains source files such as gclibo.c.
00111
00112