On 2018-12-08 14:53+0100 Andreas Schmid wrote:
Dear plplot community,
Im running plplot using homebrew on MacOS 10.13.6 High Sierra.
Compiling works, linking fails:
My (old 2009) Makefile contains:
PLPLOTDIR := /usr/local/Cellar/plplot/5.13.0_5
LIB_PLPLOT := -L${PLPLOTDIR}/lib -lplplotd
^
Hi Andi:
The issue above is the official name of our library is now plplot rather than
plplotd.
The OFFICIAL NOTICES FOR USERS for
5.11.0 explains why we made this change in the following section
1.1 Backwards-incompatible change to the suffix for our library names
Although the pace of these changes to clean up PLplot has been
relatively low, a fairly large number of them have accumulated since
2009 so if you run into any other backwards incompatibilities that
affect your old Makefiles, I suggest you first look for answers in other
sections in OFFICIAL NOTICES FOR USERS that have been cumulated for
all our recent releases in the file README.cumulated_release.
By the way, we still do test and support the old Makefile + pkg-config
way to access PLplot. So you should be fine for all projects you
build with raw Makefiles. However, for projects which are built with
the aid of CMake to configure Makefiles (or whatever other backend you
choose for CMake), I would recommend you use CMake facilities to
access installed PLplot. To see an example of one project (our
installed examples) that does that, check out
$prefix/share/plplot$version/examples/CMakeLists.txt, where $prefix is
your install prefix and $version is 5.13.0 now, but will be 5.14.0
when the next release of PLplot comes out (which should be a matter of
days from now). Note, our installed examples also have a raw Makefile
build system so to keep the two separate make sure you use a separate
build tree if using CMake to build our installed examples against
installed version of PLplot libraries, etc.
Good luck with modern PLplot, and let us know how it goes for you.
Alan
__________________________
Alan W. Irwin
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general