In the following, we briefly describe the relevant environment variables; see the Installation Guide for more information, especially about how to set these variables. Under Windows, all necessary variables are automatically set during the installation.
While a HALCON program is running, it accesses several files internally. To tell HALCON where to look for these files, the environment variable HALCONROOT has to be set. HALCONROOT points to the HALCON home directory; it is also used in the sample makefile.
The variable HALCONARCH describes the platform on which HALCON is used. For more information, see the Installation Guide.
The variable %HALCONEXAMPLES% indicates where the provided examples are installed.
If user-defined packages are used, the environment variable HALCONEXTENSIONS has to be set. HALCON will look for possible extensions and their corresponding help files in the directories given in HALCONEXTENSIONS.
Keep the following in mind in connection with the example programs: