Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure: "Pa_type_conv: \"type_of\" is not a supported type generator. (supported generators: )" #5

Open
advancedwebdeveloper opened this issue Sep 9, 2013 · 0 comments

Comments

@advancedwebdeveloper
Copy link

Got this error while compiling on win32 (MSVC) for Ocaml 4:

mkdir lib
''ocamlfind ocamldep -package type_conv -syntax camlp4o -modules lib/type.mli > lib/type.mli.depends
''ocamlfind ocamlc -c -g -package type_conv -syntax camlp4o -I lib -o lib/type.cmi lib/type.mli
''ocamlfind ocamldep -package type_conv -syntax camlp4o -modules lib/type.ml > lib/type.ml.depends
''ocamlfind ocamldep -package type_conv -syntax camlp4o -modules lib/value.mli > lib/value.mli.depends
''ocamlfind ocamlc -c -g -package type_conv -syntax camlp4o -I lib -o lib/value.cmi lib/value.mli
''ocamlfind ocamldep -package type_conv -syntax camlp4o -modules lib/value.ml > lib/value.ml.depends
''ocamlfind ocamlc -c -g -package type_conv -syntax camlp4o -I lib -o lib/type.cmo lib/type.ml
''ocamlfind ocamlc -c -g -package type_conv -syntax camlp4o -I lib -o lib/value.cmo lib/value.ml
''ocamlfind ocamlc -pack -g lib/type.cmo lib/value.cmo -o lib/dyntype.cmo
''ocamlfind ocamlc -a lib/dyntype.cmo -o lib/dyntype.cma
''ocamlfind ocamlopt -c -g -package type_conv -syntax camlp4o -for-pack Dyntype -I lib -o lib/type.cmx lib/type.ml
''ocamlfind ocamlopt -c -g -package type_conv -syntax camlp4o -for-pack Dyntype -I lib -o lib/value.cmx lib/value.ml
''touch lib/dyntype.mli ; if ocamlfind ocamlopt -pack -g -I lib lib/type.cmx lib/value.cmx -o lib/dyntype.cmx ; then rm -f lib/dyntype.mli ; else rm -f lib/dyntype.mli ; exit 1; fi
''ocamlfind ocamlopt -a lib/dyntype.cmx -o lib/dyntype.cmxa
mkdir pa_lib
''ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -modules pa_lib/p4_helpers.ml > pa_lib/p4_helpers.ml.depends
''ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -modules pa_lib/p4_type.ml > pa_lib/p4_type.ml.depends
''ocamlfind ocamlc -c -g -I lib -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -I pa_lib -I lib -o pa_lib/p4_helpers.cmo pa_lib/p4_helpers.ml
''ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -modules pa_lib/p4_value.ml > pa_lib/p4_value.ml.depends
''ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -modules pa_lib/pa_type.ml > pa_lib/pa_type.ml.depends
''ocamlfind ocamlc -c -g -I lib -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -I pa_lib -I lib -o pa_lib/p4_type.cmo pa_lib/p4_type.ml
''ocamlfind ocamldep -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -modules pa_lib/pa_value.ml > pa_lib/pa_value.ml.depends
''ocamlfind ocamlc -c -g -I lib -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -I pa_lib -I lib -o pa_lib/p4_value.cmo pa_lib/p4_value.ml
''ocamlfind ocamlc -c -g -I lib -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -I pa_lib -I lib -o pa_lib/pa_type.cmo pa_lib/pa_type.ml
''ocamlfind ocamlc -c -g -I lib -package type_conv -package camlp4.quotations -package camlp4 -syntax camlp4o -I pa_lib -I lib -o pa_lib/pa_value.cmo pa_lib/pa_value.ml
''ocamlfind ocamlc -pack -g pa_lib/p4_helpers.cmo pa_lib/p4_type.cmo pa_lib/p4_value.cmo pa_lib/pa_type.cmo pa_lib/pa_value.cmo -o pa_lib/pa_dyntype.cmo
''ocamlfind ocamlc -a lib/dyntype.cmo pa_lib/pa_dyntype.cmo -o pa_lib/pa_dyntype.cma
mkdir lib_test
''ocamlfind ocamldep -package type_conv -package oUnit -syntax camlp4o -modules lib_test/suite.ml > lib_test/suite.ml.depends
''ocamlfind ocamldep -package type_conv -package oUnit -syntax camlp4o -modules lib_test/test_type.ml > lib_test/test_type.ml.depends
File "lib_test/test_type.ml", line 4, characters 36-43:
Failure: "Pa_type_conv: "type_of" is not a supported type generator. (supported generators: )"
Preprocessing error on file lib_test/test_type.ml
Exit code 2 while executing this command:
''ocamlfind ocamldep -package type_conv -package oUnit -syntax camlp4o -modules lib_test/test_type.ml > lib_test/test_type.ml.depends
E: Failure("Command 'C:\ocamlms\bin\ocamlbuild.EXE -classic-display -no-log -no-links -install-lib-dir C:/ocamlms/lib\ocamlbuild -byte-plugin lib/dyntype.cma lib/dyntype.cmxa lib/dyntype.lib pa_lib/pa_dyntype.cma lib_test/suite.byte -tag debug -j 2' terminated with error code 2")
Makefile:16: recipe for target `build' failed
make: *** [build] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant