Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31034 - opencl-nvidia
Attached to Project:
Arch Linux
Opened by Sunny Hsu (flaminigo) - Monday, 06 August 2012, 16:20 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 28 August 2012, 10:18 GMT
Opened by Sunny Hsu (flaminigo) - Monday, 06 August 2012, 16:20 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 28 August 2012, 10:18 GMT
|
DetailsDescription:
Package opencl-nvidia 304.32-1 Version 304.32. Cannot get PlatformID Call opencl interface oclGetPlatformID(&platform); Returned error code is 1001. Additional info: * package version(s) 304.32-1 * config and/or log files etc. Steps to reproduce: You may try examples of opencl in the attachment. I test it with example part1. Please use cmake to build it. |
This task depends upon
enjalot-adventures_in_opencl-...
In 302.17-1 its content is:
libcuda.so
which is also in the package.
But in 304.32-1:
libnvidia-opencl.so.1
which does not exists.
It turns out the file libnvidia-opencl.so.1 is new, so I added
install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}"
to package_opencl-nvidia() in the PKGBUILD
Now it works like normal (tested with cgminer)
_pkgver=304.32
md5sums=('e6d9d1f73196d5f7ea110fef59bd466e') # on line 24
It installed and the hello world runs.