Build the host executable with the
<local_path_to_exm_opencl_hello_world>/hello_world/Makefile
file.
To build the host application, perform the following tasks:
-
If you did not run the aocl
install command when performing the steps from Installing an FPGA Board
, you must execute the
following command:
aocl install -fcd-only <board_package_path>/a10_ref
The ICD driver links the host against the libOpenCL.so,
which requires the FPGA Client Driver (FCD) installed. For installing FCD,
refer to Installing an FPGA Board
.
-
Navigate to the
hello_world
directory.
-
Invoke the
make
command.
The hello_world
executable is generated in the bin
sub-directory.
-
If you performed the step 1, then you must execute the
following command:
aocl uninstall -fcd-only <board_package_path>/a10_ref