I attempted to build PLplot on cygwin 1.7.17 using a minimal
set of options for cmake to turn off all bindings. The result was
a failure to build one of the qt drivers/devices.
There are a number of obstacles to building PLplot for the new user/developer:
1) cryptic to non-existent documentation
2) incorrect documentation (still refs to configure in readme file)
3) cmake does not fail gracefully (no clue to problem or fix for beginner)
4) extremely high learning curve and time to start for unsuported platforms
5) lack of a binary distribution which could act as a "quick start" for cygwin
Apologies for the minimal follow up but I've been hoping
the situation with PLplot portability would have been resolved
with the improvements from cmake. Unfortunately, due to the
issues above, I am not even able to get a kickstart version of
PLplot to work with. (My plan was to enable a more robust
build of PDL::Graphics::PLplot).
I know the difficulties of resolving something with no active
developer support but I thought it would be useful to open a
ticket to at least track the problem. I doubt that I am the
only one facing these build issues.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There were significant improvements in the PLplot build system for the Cygwin platform for the 5.9.11 release and Chris has reported on the plplot-devel list that "For the first time I have been able to build the PLplot
library on cygwin" with that release. So changing status of this bug report to closed-fixed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cygwin cmake log
cygwin make log
There are a number of obstacles to building PLplot for the new user/developer:
1) cryptic to non-existent documentation
2) incorrect documentation (still refs to configure in readme file)
3) cmake does not fail gracefully (no clue to problem or fix for beginner)
4) extremely high learning curve and time to start for unsuported platforms
5) lack of a binary distribution which could act as a "quick start" for cygwin
Apologies for the minimal follow up but I've been hoping
the situation with PLplot portability would have been resolved
with the improvements from cmake. Unfortunately, due to the
issues above, I am not even able to get a kickstart version of
PLplot to work with. (My plan was to enable a more robust
build of PDL::Graphics::PLplot).
I know the difficulties of resolving something with no active
developer support but I thought it would be useful to open a
ticket to at least track the problem. I doubt that I am the
only one facing these build issues.
The error messages that cause the make utility to fail have to do with "dllimport". But I do not see
where the redefinition is coming from:
/home/chm/pdl/try/plplot-5.9.9/bindings/qt_gui/plqt.cpp:28:28: error: definition of 'int vectorize' is marked 'dllimport'
/home/chm/pdl/try/plplot-5.9.9/bindings/qt_gui/plqt.cpp:28:28: warning: 'vectorize' redeclared without dllimport attribute: previous dllimport ignored
There were significant improvements in the PLplot build system for the Cygwin platform for the 5.9.11 release and Chris has reported on the plplot-devel list that "For the first time I have been able to build the PLplot
library on cygwin" with that release. So changing status of this bug report to closed-fixed.