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

utop user needs to manually load compiler-libs/ocamlcommon.cma #6

Open
objmagic opened this issue Nov 6, 2017 · 2 comments
Open

utop user needs to manually load compiler-libs/ocamlcommon.cma #6

objmagic opened this issue Nov 6, 2017 · 2 comments

Comments

@objmagic
Copy link

objmagic commented Nov 6, 2017

or use utop-full. See ocaml-community/utop#213.

Since README already says to use "standard OCaml toplevel", so I'll just open an issue here for people who try to use utop and see the same error as me.

@rneswold
Copy link

Is this issue why I can't try your examples as-is in utop?

# #require "ppx_stage.ppx";;
Error: Reference to undefined global `Ast_helper'

I even tried loading compiler-libs and I still get the same error.

(Thanks for writing this processor! I was hoping MetaOCaml would be released for 4.06, but this seems to be a much better way to add it to the language.)

@rneswold
Copy link

Nevermind. I didn't know utop-full was part of the build for utop and the full version loads it fine.

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

2 participants