差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
python:pyopencl [2024/04/23 11:52] – [参考文献] ともやん | python:pyopencl [2024/04/23 13:06] – [fatal error: CL/cl.h: No such file or directory が発生する...😢] ともやん | ||
---|---|---|---|
行 338: | 行 338: | ||
==== fatal error: CL/cl.h: No such file or directory が発生する...😢 ==== | ==== fatal error: CL/cl.h: No such file or directory が発生する...😢 ==== | ||
+ | DietPi で pyopencl をインストールすると CL/cl.h がないと言われる...🤔\\ | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
行 551: | 行 552: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | 不足している opencl-headers をインストールする...🤔\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <font color="# | ||
+ | </ | ||
+ | <WRAP color_result_hlong>< | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | The following additional packages will be installed: | ||
+ | opencl-c-headers opencl-clhpp-headers | ||
+ | Suggested packages: | ||
+ | opencl-clhpp-headers-doc | ||
+ | The following NEW packages will be installed: | ||
+ | opencl-c-headers opencl-clhpp-headers opencl-headers | ||
+ | 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 90.9 kB of archives. | ||
+ | After this operation, 742 kB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] | ||
+ | Get:1 http:// | ||
+ | Get:2 http:// | ||
+ | Get:3 http:// | ||
+ | Fetched 90.9 kB in 3s (28.1 kB/ | ||
+ | debconf: delaying package configuration, | ||
+ | Selecting previously unselected package opencl-c-headers. | ||
+ | (Reading database ... 141224 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking opencl-c-headers (3.0~2023.02.06-1) ... | ||
+ | Selecting previously unselected package opencl-clhpp-headers. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking opencl-clhpp-headers (3.0~2023.02.06-1) ... | ||
+ | Selecting previously unselected package opencl-headers. | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking opencl-headers (3.0~2023.02.06-1) ... | ||
+ | Setting up opencl-c-headers (3.0~2023.02.06-1) ... | ||
+ | Setting up opencl-clhpp-headers (3.0~2023.02.06-1) ... | ||
+ | Setting up opencl-headers (3.0~2023.02.06-1) ... | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | / | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <font color="# | ||
+ | </ | ||
+ | <WRAP color_result_hlong>< | ||
+ | Looking in indexes: https:// | ||
+ | Collecting pyopencl | ||
+ | Downloading pyopencl-2024.1.tar.gz (473 kB) | ||
+ | < | ||
+ | Running command pip subprocess to install build dependencies | ||
+ | ... | ||
+ | arm-linux-gnueabihf-g++ -shared -Wl, | ||
+ | / | ||
+ | collect2: error: ld returned 1 exit status | ||
+ | error: command & | ||
+ | <font color="# | ||
+ | | ||
+ | <font color="# | ||
+ | <font color="# | ||
+ | <font color="# | ||
+ | | ||
+ | <font color="# | ||
+ | <font color="# | ||
+ | <font color="# | ||
+ | Building wheel for pyopencl (pyproject.toml) ... error | ||
+ | <font color="# | ||
+ | Failed to build pyopencl | ||
+ | <font color="# | ||
+ | & | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 不足している ocl-icd-opencl-dev ocl-icd-dev をインストールする...🤔\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <font color="# | ||
+ | </ | ||
+ | <WRAP color_result_hlong>< | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | Recommended packages: | ||
+ | libgl-dev | ||
+ | The following NEW packages will be installed: | ||
+ | ocl-icd-dev ocl-icd-opencl-dev | ||
+ | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 29.5 kB of archives. | ||
+ | After this operation, 116 kB of additional disk space will be used. | ||
+ | Get:1 http:// | ||
+ | Get:2 http:// | ||
+ | Fetched 29.5 kB in 2s (12.3 kB/ | ||
+ | debconf: delaying package configuration, | ||
+ | Selecting previously unselected package ocl-icd-dev: | ||
+ | (Reading database ... 141263 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking ocl-icd-dev: | ||
+ | Selecting previously unselected package ocl-icd-opencl-dev: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking ocl-icd-opencl-dev: | ||
+ | Setting up ocl-icd-dev: | ||
+ | Setting up ocl-icd-opencl-dev: | ||
+ | </ | ||
+ | </ | ||
+ | |||
==== Pybind11 is not installed. と Mako is not installed. が発生する ==== | ==== Pybind11 is not installed. と Mako is not installed. が発生する ==== | ||
< | < |