KhronosGroup / KhronosGroup/OpenCL-Guide

Compilation fails pocl-remote pocld

Open
#42 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CMake
Stars
711
Forks
70
PR merge metrics
No merged PRs in 30d

Description

We want to run a computer vision processing algorithm on a Raspberry Pi 4, but with the computations being performed on the GPU of a PC.

Error occurs during compilation and the project is not built correctly.

Environment:
-Ubuntu 24.02
-GPU: Nvidia RTX 2060
-CUDA: 12.2
-Compiler: GCC 10.3.0 (or the version suitable for the system)
-OpenCL 3.0

PoCL Remote: (insert version if known)

Steps Taken:
-Clone the PoCL Remote repository
-Run mkdir build; cd build; cmake ../pocld; make in the project's root directory

Error Details:
fatal error: config.h: No such file or directory
42 | #include "config.h"
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pocld.dir/build.make:76: CMakeFiles/pocld.dir/pocld.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/pocld.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported build from the repository root with `mkdir build; cd build; cmake ../pocld; make`. Start at `pocld.cc` and the missing `config.h` include, then inspect the CMake configuration involved. Done means the pocld target compiles successfully without the missing-header error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, raspberry-pi, ubuntu
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.