On 2017-09-27 23:47+1300 Cao Murrano wrote:

Ok, cleaning the directory did help. All three commands (
cmake -DCMAKE_INSTALL_PREFIX=install ../;
make; make install) completed with no error, and dll's are in place.

Now I need to do some testing with Ada code, but the compilation issue is
closed.

Hi Cao:

Just to interject here, I was glad to hear your build issues were
solved by making a clean start.  However, could you double-check your
configure and build steps for the Ada-related PLplot components
because as far as I know, nobody has ever gotten our Ada bindings to
configure properly (much less build properly) on any Windows platform
before.

For example, our records of Arjen's last Cygwin comprehensive test at
<https://sourceforge.net/p/plplot/wiki/Testing_PLplot/#Testing
Reports> had the following note whose Ada-related part is

(G1) Ada automatically disabled because gnat library not found

Similarly, his last comprehensive test on the "MinGW-w64/MSYS2" platform
had the following note whose Ada-related part is

(G3) gnatmake cannot compile simple Ada test programme

So could you capture the complete cmake output from a fresh build
start and send it to us (one easy way to do that is

cmake <options including -DBUILD_TEST=ON> <path to top-level directory of source tree> 
>& cmake.out

) to confirm there are no Ada-related
configuration issues for your particular Cygwin installation?

And if that cmake.out file shows the net result of your configuration is

ENABLE_ada:             ON

i.e., there are no Ada-related configuration issues, then could you go
on and run-time test our Ada examples by putting the build-tree dll
subdirectory on your PATH and then running

make VERBOSE=1 test_ada_psc >& test_ada_psc.out

?

N.B. the above -DBUILD_TEST=ON cmake option enables general run-time
testing (including the above test_ada_psc target which builds our Ada
binding, builds each of our Ada standard examples, and then runs each
of those built examples using -dev psc). The VERBOSE=1 option on the
make command gives many additional details (e.g., compile, link, and
gnatmake options) concerning each of the build and run-time steps to
let us know if our build system got any of those details wrong.

Note my Ada expertise is pretty limited.  So when I wrote the
unofficial CMake-based language support files for Ada that are
included with PLplot I had to rely on following pretty closely how
other languages (such as C++ and Fortran) are officially supported by
CMake.  The result works well on Linux so my Ada language support is
likely to be close to working well on Cygwin. However, I might have
gotten an essential compile, link, or gnatmake option wrong for that
case so if you have any Ada expertise yourself, I will have to rely on
you to help me look at the above VERBOSE=1 make results to figure out what
changes (if any) in those options need to be done.

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

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
__________________________

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to