wdsp
wdsp copied to clipboard
make sure /usr/local/include/ exists as a directory when installing
The first time I built and installed wdsp I got caught by that fact that - for some reason - /usr/local/include was not present so the copy of wdsp.h didn't work as expected. The thing is I didn't notice until I tried to build linhdspr and /usr/local/include wdspr.h could not be found.
What Linux distribution are you using?
debian buster
I have tried the latest Debian Buster install and it does have /usr/local/include, /usr/local/lib and /usr/local/bin, so not sure why you had this problem. I am not aware of any distribution that does not have /usr/local and it's sub directories.
Yes it took me by surprise as well. Not sure how it happened. In any case adding the trailing / to the cp would force an error if the directory is not present rather than failing silently.