Hi all,
I am trying to get plplot-5.7.1 to compile on Arch LInux.
I know that it is discouraged to do an in-source build with cmake, but
that should not mean that it's not possible.
Doing a
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr . && make
from within the top-level directory gives the following errors:
[ 49%] Generating plplot_octave.cc, tmp_stub
cd /home/wim/downloads/src/plplot-5.7.1/bindings/octave &&
/usr/bin/perl -I/home/wim/downloads/src/plplot-5.7.1/bindings/octave/matwrap
/home/wim/downloads/src/plplot-5.7.1/bindings/octave/matwrap/matwrap
-language octave -o plplot_octave.cc -stub tmp_stub -cpp_ignore
/home/wim/downloads/src/plplot-5.7.1/bindings/octave -cpp_ignore
/home/wim/downloads/src/plplot-5.7.1/bindings/octave/plplot_octave_rej.h
-cpp /usr/bin/gcc -D__builtin_va_list=void -E
-I/home/wim/downloads/src/plplot-5.7.1/bindings/octave
-I/home/wim/downloads/src/plplot-5.7.1/bindings/octave -C
plplot_octave.h
Warning: unrecognized text:
void c_plcont(PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
%nowrap
void plfcont(PLFLT (*f2eval) (PLINT, PLINT, PLPointer),
PLPointer f2eval_data,
PLINT nx, PLINT ny, PLINT kx, PLINT lx,
PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
%nowrap
void plmap(void (*mapform)(PLINT, PLFLT *, PLFLT *), char *type,
PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat);
%nowrap
void plmeridians(void (*mapform)(PLINT, PLFLT *, PLFLT *),
PLFLT dlong, PLFLT dlat,
PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat);
%nowrap
void c_plshade(PLFLT **a, PLINT nx, PLINT ny, const char **defined,
PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
PLFLT shade_min, PLFLT shade_max,
PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
PLINT min_color, PLINT min_width,
PLINT max_color, PLINT max_width,
void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
%nowrap
void c_plshades(PLFLT **a, PLINT nx, PLINT ny, const char **defined,
PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
PLFLT *clevel, PLINT nlevel, PLINT fill_width,
PLINT cont_color, PLINT cont_width,
void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
%nowrap
void c_plshade1(PLFLT *a, PLINT nx, PLINT ny, const char *defined,
PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
PLFLT shade_min, PLFLT shade_max,
PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
PLINT min_color, PLINT min_width,
PLINT max_color, PLINT max_width,
void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
%nowrap
void plfshade(PLFLT (*f2eval) (PLINT, PLINT, PLPointer),
PLPointer f2eval_data,
PLFLT (*c2eval) (PLINT, PLINT, PLPointer),
PLPointer c2eval_data,
PLINT nx, PLINT ny,
PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
PLFLT shade_min, PLFLT shade_max,
PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
PLINT min_color, PLINT min_width,
PLINT max_color, PLINT max_width,
void (*fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
%nowrap
void c_plstripc(PLINT *id, char *xspec, char *yspec,
PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax,
PLFLT xlpos, PLFLT ylpos,
PLINT y_ascl, PLINT acc,
PLINT colbox, PLINT collab,
PLINT *colline, PLINT *styline, char *legline[],
char *labx, char *laby, char *labtop);
%nowrap
void c_plvect(PLFLT **u, PLFLT **v, PLINT nx, PLINT ny, PLFLT scale,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void plsKeyEH(void (*KeyEH) (PLGraphicsIn *, void *, int *), void *KeyEH_data);
%nowrap
void plsButtonEH(void (*ButtonEH) (PLGraphicsIn *, void *, int *),
void *ButtonEH_data);
%nowrap
void plsexit(int (*handler) (char *));
make[2]: *** [bindings/octave/plplot_octave.cc] Error 9
make[2]: Leaving directory `/home/wim/downloads/src/plplot-5.7.1'
make[1]: *** [bindings/octave/CMakeFiles/plplot_octave.dir/all] Error 2
make[1]: Leaving directory `/home/wim/downloads/src/plplot-5.7.1'
make: *** [all] Error 2
This does not happen when doing an out-of-source build.
Greetings,
Wim
--
Avoid hangovers - stay drunk!
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel