Tue 20 Sep 2011 07:51:52 PM UTC, comment #2:
I've added an autoconf test which tries to find out how many parameters plarc expects. Could you check out Techne from cvs and try to compile it with plPlot 5.9.8 to see if the issue has been fixed? You can find the relevant instructions for anonymous checkout here in the project page. Once you have the sources enter the toplevel dir and run the command:
autoreconf -i
You need to have the autotools enabled for this to work. Then it's the usual ./configure, make, etc.
When configuring make sure you get the message:
checking whether the plarc hack is needed... yes
|
Sat 17 Sep 2011 02:59:39 PM UTC, original submission:
From README.release included in plplot 5.9.8 tarball (released on 1 August):
(5.9.8) The plarc API has changed in release 5.9.8. The plarc API now
has a rotation parameter which will eventually allow for rotated arcs.
PLplot does not currently support rotated arcs, but the plarc function
signature has been modified to avoid changing the API when this
functionality is added.
in src/plotting.c line 459:
plarc (x, y, r, rho, theta, phi, 0);
miss the last parameter and cause build fail.
New definition is:
PLDLLIMPEXP void
c_plarc( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2,
PLFLT rotate, PLBOOL fill );
So changing in:
plarc (x, y, r, rho, theta, phi, 0, 0);
should be enough.
|