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

missing primitives bigstringaf_blit_from_bytes and bigstringaf_blit_to_bytes #812

Open
njaros opened this issue Jan 7, 2025 · 2 comments

Comments

@njaros
Copy link

njaros commented Jan 7, 2025

Hello, I'm trying to understand ocsigen framework thanks to the tutorials but the tutorial just doesn't work :(

I'm on this tutorial page https://ocsigen.org/tuto/8.0/manual/application, the Graffiti exemple.

problems encountered :
1- the eliom-distillery template "client-server.basic" doesn't exists
2- the codes Dom_html.window##alert or let%client _ = Eliom_lib.alert "Hello!" compiles but does nothing.
3- on compilation I have missing primitives : bigstringaf_blit_from_bytes and bigstringaf_blit_to_bytes which print fatal errors on my browser console.

@njaros
Copy link
Author

njaros commented Jan 7, 2025

I found a fix on github projects with Ocsigen:

on Makefile I had to modify those lines :
JS_OF_ELIOM := js_of_eliom -jsopt +bigstringaf/runtime.js -ppx
OCSIGENSERVER := DYLD_LIBRARY_PATH=$(shell opam var lib)/stublibs ocsigenserver

and it works

@Josef-Thorne-A
Copy link

I'm also encountering these errors.

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