1.3.3   Additional Information for macOS

The supplied extension packages in /Users/Shared/Library/Application Support/HALCON-21.05/examples/extension_package both contain sample Xcode projects. After building these projects, it is sufficient to set the environment variable HALCONEXTENSIONS to these directories to test the extension packages in HDevelop. As a quick test, it is sufficient to execute the following commands in a terminal window:


  HALCONEXAMPLES=/Users/Shared/Library/Application Support/HALCON-21.05/examples
  HALCONEXTENSIONS=$HALCONEXAMPLES/extension_package/halconuser
  HALCONEXTENSIONS=$HALCONEXAMPLES/extension_package/useropencl:$HALCONEXTENSIONS
  export HALCONEXTENSIONS
  /Applications/HDevelop.app/Contents/MacOS/hdevelop &

Consult your operating documentation on how to set environment variables globally, and set HALCONEXTENSIONS to the directory containing your extension package.