On 2018-11-29 13:33+0100 Ole Streicher wrote:

[...]
Now, all C examples pass.

Excellent!

For ADA, I now however get

[ 11%] Built target test_c_psc
Scanning dependencies of target xstandard16a
[ 11%] Building Ada object ada/CMakeFiles/xstandard16a.dir/xstandard16a.o
make[3]: *** Keine Regel vorhanden, um das Ziel „plplotada-NOTFOUND“,
 benötigt von „ada/xstandard16a“, zu erstellen.  Schluss.
make[2]: *** [CMakeFiles/Makefile2:5655:
ada/CMakeFiles/xstandard16a.dir/all] Fehler 2
make[1]: *** [CMakeFiles/Makefile2:387:
CMakeFiles/test_noninteractive.dir/rule] Fehler 2


The build of xstandard* examples is configured by the CMake logic in
examples/ada/CMakeLists.txt.

I am pretty sure the relevant CMake logic lines to build the Ada examples in 
that file for this case where it is not the CORE_BUILD are

set(adalinkflags "\"-aI${CMAKE_CURRENT_SOURCE_DIR}\" \"-aI${ADA_INCLUDE_DIR}\" 
\"-aL${ADA_LIB_DIR}\"")
[...]
     set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS ${adalinkflags})
     target_link_libraries(${TARGET_NAME} PLPLOT::plplotada PLPLOT::plplot)

So are the install locations ${ADA_INCLUDE_DIR} and ${ADA_LIB_DIR} set
where your Debian package actually installs Ada files?  And if you
look in the PLplot export file, is the PLPLOT::plplotada location
property set there consistent with the full pathname of the plplotada
library that is installed by your debian package?

If those hints don't solve it or if they do solve it but another error
is encountered, please use a clean start (i.e., an initially empty
build tree), and send me the the complete cmake output and also the
complete results of

make VERBOSE=1 test_noninteractive >& test_noninteractive.out

(i.e., without any parallel build options).

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-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to