Open sminnee opened 3 years ago
If the esy.lock is untouched, this app works, but attempting to rebuild the esy.lock folder throws the following error:
error: build failed with exit code: 1 build log: # esy-build-package: building: revery@github:revery-ui/revery#431e515a00ee46f7bc614a10c2a219aae13179e0 # esy-build-package: pwd: ~/.esy/source/i/revery__b844da77 # esy-build-package: running: 'dune' 'build' '-p' 'reason-harfbuzz,reason-skia,reason-sdl2,Revery' File "src/dune", line 6, characters 12-23: 6 | (libraries console.lib lwt lwt.unix sdl2 Revery_Core Revery_Font Revery_Draw ^^^^^^^^^^^ Error: Library "console.lib" not found. Hint: try: dune external-lib-deps --missing -p reason-harfbuzz,reason-skia,reason-sdl2,Revery @install discover packages/reason-sdl2/src/c_flags.sexp,packages/reason-sdl2/src/c_library_flags.sexp,packages/reason-sdl2/src/cxx_flags.sexp,packages/reason-sdl2/src/flags.sexp SDL2 Library Folder Path: /Users/samminnee/.esy/3______________________________________________________________/i/esy_sdl2-2.0.10008-de4f481b/lib File "src/Core/dune", line 7, characters 20-31: 7 | (libraries threads console.lib str lwt sdl2 skia flex Rench re Revery_Native ^^^^^^^^^^^ Error: Library "console.lib" not found. Hint: try: dune external-lib-deps --missing -p reason-harfbuzz,reason-skia,reason-sdl2,Revery @install File "packages/zed/src/dune", line 7, characters 18-23: 7 | (libraries bytes react uucp uutf result charInfo_width)) ^^^^^ Error: Library "react" not found. Hint: try: dune external-lib-deps --missing -p reason-harfbuzz,reason-skia,reason-sdl2,Revery @install gcc packages/reason-skia/src/wrapped/c/c_stubs.o c_stubs.c:30:53: warning: incompatible pointer types passing 'void *(void *, const char *)' to parameter of type 'gr_gl_get_proc' (aka 'void (*(*)(void *, const char *))(void)') [-Wincompatible-pointer-types] gr_glinterface_assemble_gl_interface(0, reason_skia_sdl2_get); ^~~~~~~~~~~~~~~~~~~~ /Users/samminnee/.esy/3______________________________________________________________/i/esy_skia-c3eadd32/include/c/gr_context.h:40:97: note: passing argument to parameter 'get' here SK_C_API const gr_glinterface_t* gr_glinterface_assemble_gl_interface(void* ctx, gr_gl_get_proc get); ^ c_stubs.c:29:23: warning: initializing 'gr_glinterface_t *' (aka 'struct gr_glinterface_t *') with an expression of type 'const gr_glinterface_t *' (aka 'const struct gr_glinterface_t *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] gr_glinterface_t *interface = ^ c_stubs.c:36:55: warning: incompatible pointer types passing 'void *(void *, const char *)' to parameter of type 'gr_gl_get_proc' (aka 'void (*(*)(void *, const char *))(void)') [-Wincompatible-pointer-types] gr_glinterface_assemble_gles_interface(0, reason_skia_sdl2_get); ^~~~~~~~~~~~~~~~~~~~ /Users/samminnee/.esy/3______________________________________________________________/i/esy_skia-c3eadd32/include/c/gr_context.h:41:99: note: passing argument to parameter 'get' here SK_C_API const gr_glinterface_t* gr_glinterface_assemble_gles_interface(void* ctx, gr_gl_get_proc get); ^ c_stubs.c:35:23: warning: initializing 'gr_glinterface_t *' (aka 'struct gr_glinterface_t *') with an expression of type 'const gr_glinterface_t *' (aka 'const struct gr_glinterface_t *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] gr_glinterface_t *interface = ^ 4 warnings generated. File "src/Utility/dune", line 6, characters 20-31: 6 | (libraries threads console.lib str lwt sdl2 skia flex Rench re Revery_Core ^^^^^^^^^^^ Error: Library "console.lib" not found. Hint: try: dune external-lib-deps --missing -p reason-harfbuzz,reason-skia,reason-sdl2,Revery @install
Attempting to run that suggested command gives
dune external-lib-deps --missing -p reason-harfbuzz,reason-skia,reason-sdl2,Revery @install Error: The following libraries are missing in the default context: - Rench - bos - brisk-reconciler - brisk-reconciler.ppx - console.lib - ctypes - ctypes.stubs - flex - integers - lru - lwt_ppx - markup - omd - ppx_deriving.show - rebez.lib - timber - uucp Hint: try: opam install Rench bos brisk-reconciler console ctypes flex integers lru lwt_ppx markup omd ppx_deriving rebez timber uucp
Note that this seems to be fixed by
"refmterr": "^3.3.2", "revery": "revery-ui/revery"
If the esy.lock is untouched, this app works, but attempting to rebuild the esy.lock folder throws the following error:
Attempting to run that suggested command gives