Guest User

Build problem

a guest
May 9th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. --λ ocaml setup.ml -build
  2. Finished, 1 target (0 cached) in 00:00:00.
  3. + ocamlfind ocamlc -c -g -package tyxml.parser -package tyxml -package threads -package str -package sexplib.syntax -package sexplib -package ocamlgraph -package core -thread -I lib -o lib/cppGenerator.cmo lib/cppGenerator.ml
  4. File "lib/cppGenerator.ml", line 21, characters 6-24899:
  5. Error: Some type variables are unbound in this type:
  6. class cppGenerator :
  7. graph:SuperIndex.G.t ->
  8. includes:string List.t ->
  9. bin_prefix:string ->
  10. string ->
  11. SuperIndex.index_t ->
  12. object
  13. method declare_locals :
  14. Core.Std.String.t List.t -> Core.Std.Out_channel.t -> unit
  15. method declare_params :
  16. Core.Std.Out_channel.t -> Core.Std.String.t List.t -> unit
  17. method gen_class :
  18. prefix:Core.Std.String.t List.t ->
  19. dir:string -> Parser.clas -> comp_target option
  20. method gen_enum_in_ns :
  21. key:'a SuperIndex.SuperIndex.key_ ->
  22. dir:string -> Parser.enum -> Core.Std.String.t option
  23. method gen_stub :
  24. prefix:Core.Std.String.t List.t ->
  25. isQObject:bool ->
  26. Core.Std.String.t ->
  27. [ `Private | `Protected | `Public ] ->
  28. Parser.func_arg Core.Std.List.t ->
  29. ?res_n_name:Parser.cpptype * Core.Std.String.t ->
  30. Core.Std.Out_channel.t -> unit
  31. method gen_stub_arguments :
  32. ?locals:Core.Std.String.t List.t ->
  33. Parser.constr -> Core.Std.Out_channel.t -> string List.t
  34. method gen_twin_header :
  35. prefix:Core.Std.String.t List.t ->
  36. Parser.clas -> Core.Std.Out_channel.t -> unit
  37. method gen_twin_source :
  38. prefix:Core.Std.String.t List.t ->
  39. Parser.clas -> Core.Std.Out_channel.t -> unit
  40. method generate_q :
  41. SuperIndex.NameKey.t Core.Std.Queue.t -> unit
  42. method get_name :
  43. classname:Core.Std.String.t ->
  44. [ `Private | `Protected | `Public ] ->
  45. Parser.func_arg Core.Std.List.t ->
  46. ?res_n_name:<hidden> -> bool -> Core.Std.String.t
  47. method is_abstr_class : Parser.clas -> bool
  48. method makefile :
  49. string ->
  50. twins:string List.t -> Core.Std.String.t List.t -> unit
  51. method private prefix : string
  52. method twin_methname :
  53. string -> [ `Private | `Protected | `Public ] -> string
  54. end
  55. The method gen_enum_in_ns has type
  56. key:'a SuperIndex.SuperIndex.key_ ->
  57. dir:string -> Parser.enum -> Core.Std.String.t option
  58. where 'a is unbound
  59. Command exited with code 2.
  60. Compilation unsuccessful after building 12 targets (0 cached) in 00:00:04.
  61. E: Failure("Command ''/home/danmey/.opam/4.00.1/bin/ocamlbuild' lib/lablqt.cma lib/lablqt.cmxa lib/lablqt.a lib/lablqt.cmxs generator/generator.native xmltool/xmltool.native mocml/mocml.native -tag debug' terminated with error code 10")
Advertisement
Add Comment
Please, Sign In to add comment