To access new HALCON operators inside a package within C++ programs you must create a C++ interface library packagecpp residing in the subdirectory lib\%HALCONARCH% of the package. This library is based on the file HCPPpackage.cpp generated via
hcomp -P -ppackage def-file(s)
from the def-files of your self developed operators. Note, that hcomp simultaneously generates the file HCPPpackage.h containing the C++ prototypes of your new operators. Include this file in your C++ programs using these operators.