In this subsection we describe how you can compile the exported C and C++ code using the compiler of your Arm-based platform. We will do this with the aid of the datacode example.
For this, you will need to install HALCON differently on your Arm-based platform:
Now the Arm-based platform is set up and we can compile the code. Therefore, execute the following steps on your Arm-based platform:
export NATIVE=YES
make
In order that make does not attempt to run HDevelop, the date of the C file datacode.c and the C++ file datacode_cpp.cpp must be newer than the corresponding HDevelop file datacode.hdev.
In order to execute the program, carry out the following steps: