gclib  1.36.3
Communications API for Galil controllers and PLCs
Microsoft Windows

Tested versions

See the installation page for supported versions.


Install

On Windows, gclib is distributed in the following formats.

  • 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.
  • 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.
    • A stand-alone PCI driver installer for PCI users (DMC-1806, 1800, 1802, 1417).
Note
The PCI driver is compatible with GalilTools but is enhanced for gclib/GDK communications.

Download Installer

Recommended. All instructions and examples depend on the installation paths.

Download Download from the release notes page

Download Zip

For custom deployment or non-default file locations. Downloads are available on the release notes page.

Required third-party DLLs

gclib is built using MSVC 2017 and requires run-time components available in the Microsoft Visual C++ Redistributable for Visual Studio 2017

The gclib installer will automatically install these prerequisites for both 32 bit (x86) and 64 bit (x64) builds.

If using the zip installation, the binaries must be downloaded and installed manually.

Silent Installation

For developers wishing to bundle gclib within their own installers, execute the gclib installer with the /S switch to run silently with defaults. If the Galil security certificate is not already trusted on the deployment target, a digital signature dialog may be presented.


Uninstall

Run uninstall.exe in "C:\Program Files (x86)\Galil\gclib"

Alternatively, the Add or remove programs Control Panel can be used to remove all Galil software by product.


Upgrading and Older Versions

The release notes page lists all available versions of gclib. Galil recommends uninstalling any current version of gclib before installing other versions.

Download Download from the release notes page


Installed Directories

The installation is organized into several directories.

dll

The dll directory contains the binary dynamic link libraries (DLLs) for x86 and/or x64 architectures. Dynamically linked executables must have the correct dlls in their path at runtime.

doc

The doc directory contains this documentation and a printable, pdf version.

examples

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.

Warning
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.

include

The include directory contains header files needed for compiling code. The compiler will need to know where these files are at compile time.
See the compiler-specific directions for more information, e.g. mingw.

lib

The lib directory contains linker files (gclib.lib and gclibo.lib) for x86 and/or x64 architectures. The linker should include gclib.lib and gclibo.lib.

source

The source directory contains source files such as gclibo.c.