(Hello Hez ;^)

[ 49%] Built target plplotcxxd
Scanning dependencies of target target_lib_plplot_stubs
[ 50%] Generating plplot_core.idl, plplot_core.h, plplot_core.ml,
plplot_core.mli, plplot_core_stubs.c
File /Users/philou/src/plplot-5.9.10/build/bindings/ocaml/plplot_core.idl,
line 330, column 13: Illegal character #
make[2]: *** [bindings/ocaml/plplot_core.idl] Error 2
make[1]: *** [bindings/ocaml/CMakeFiles/target_lib_plplot_stubs.dir/all]
Error 2
make: *** [all] Error 2

Editing the .idl file :

// Custom plexit handling
quote(ml, "external ml_plsexit : unit -> unit = \"ml_plsexit\"");
quote(ml,
"let plsexit (f : string -> int) =\
  Callback.register \"caml_plplot_exit\" f;\
  ml_plsexit ()");
quote(mli, "val plsexit : (string -> int) -> unit");
quote(ml,
"let plunset_exit () =\
  Callback.register \"caml_plplot_exit\" 0;\
  ml_plsexit ()");
quote(mli, "val plunset_exit : unit -> unit");

vvvvv----- line 330
RAW_ML(external plgriddata : float array -> float array -> float array ->
float array -> float array -> plplot_grid_method_type -> float -> float
array array = "ml_plgriddata_bytecode" "ml_plgriddata")
RAW_ML(external plparseopts : string array -> plplot_parse_method_type list
-> unit = "ml_plparseopts")
RAW_ML(external pllegend : plplot_legend_opt -> plplot_position_opt ->
float -> float -> float -> int -> int -> int -> int -> int ->
plplot_legend_opt array -> float -> float -> float -> float -> int array ->
string array -> int array -> int array -> float array -> float array -> int
array -> int array -> float array -> int array -> float array -> int array
-> string array -> float * float = "ml_pllegend_byte" "ml_pllegend")
RAW_ML(external plcolorbar : plplot_colorbar_opt -> plplot_position_opt ->
float -> float -> float -> float -> int -> int -> int -> float -> float ->
int -> float -> plplot_colorbar_opt array -> string array -> string array
-> float array -> int array -> float array array -> float * float =
"ml_plcolorbar_byte" "ml_plcolorbar")


I cannot see any pound sign!?!
But :

philou@air:~/src/plplot-5.9.10/build$ grep '#'
/Users/philou/src/plplot-5.9.10/build/bindings/ocaml/plplot_core.idl
#include "plplot_h.inc"
#define PLINT int
#define PLFLT double
#define PLBOOL boolean
#define QUOTEME(x) #x
#define RAW_ML(x) quote(mlmli, QUOTEME(x));


something wrong or changed about QUOTME();


regards.

BTW it's on 5.9.10 and latest SVN, both.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to