profanity
profanity copied to clipboard
missing INSTALL.md or packages needed to compile
On a Ubuntu set up, I can tell that opencl-c-headers are needed but not sure what other packages are required for compiling. Thanks.
These are the steps on Ubuntu 20.04:
- Install opencl dependencies:
apt-get install ocl-icd-opencl1 ocl-icd-opencl-dev opencl-headers - Compile binary using Makefile:
cd ./profanity && make - Make 'profanity.x64' executable:
chmod +x profanity.x64 - Run:
./profanity.x64orbash profanity.x64if you're using an alternative shell.
Funnily enough the executable throws errors when I invoke bash ./profanity.x64 from zsh, so I had to drop to bash first.
In step 1 I got this (Yes I am on Ubuntu 20.04)
$ LANG=en sudo apt-get install ocl-icd-opencl1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ocl-icd-opencl1
After struggling for a while I got compilation working using
$ sudo apt install nvidia-opencl-dev ocl-icd-opencl-dev opencl-headers
But the resulting file doesn't work. See issue #51