strf icon indicating copy to clipboard operation
strf copied to clipboard

cpgplot.h not found when doing make

Open RCCRAFT1 opened this issue 1 year ago • 2 comments

Screenshot 2024-10-18 at 10 41 05 AM

Hello,

Upon running the "make" command required to install the commands, I get the error that a certain file is missing. Removing, updating, and reinstalling my dependencies within apt do not fix the issue. I also cannot seem to find this file anywhere else so I am wondering if this is necessary.

RCCRAFT1 avatar Oct 18 '24 17:10 RCCRAFT1

This would suggest that pgplot is not properly installed. Is it part of your dependencies?

cbassa avatar Oct 18 '24 17:10 cbassa

Well, upon running sudo apt install pgplot5 (as mentioned in the readme) it seems to install fine, however its just this one file that cant be found. is there perhaps something i am missing? is there a version of pgplot that i am supposed to be using?

RCCRAFT1 avatar Oct 19 '24 21:10 RCCRAFT1

Upon further investigation, I found that installing "libpgplot" (or similar, dont remember) fixed the issues.

RCCRAFT1 avatar Oct 25 '24 17:10 RCCRAFT1

For other hitting this issue.

You might have used a recent Debian / Ubuntu based system.

The pgplot5 package has (finally and correctly) been split into a libpgplot5 and a pgplot5-dev package.

Installing pgplot5 is equivalent of installing libpgplot5 which is only the runtime. To compile STRF you need to install pgplot5-dev.

I'll open a PR updating the README.

MartinHerren avatar Nov 15 '24 19:11 MartinHerren