On Windows, I try to use ocaml from Camelia or Eclipse/OcalIDE, but I have the following error :
File "command line", line 1:
Error: Unbound module Stdlib
The configuration of both IDE are similar : library search path = D:/OCaml64/home/frede/.opam/4.11.1+mingw64c/lib/ocaml. It is the same value than $OCAMLLIB from a Cygwin environment where ocaml or utop are functionnal. It is a curious path for a Cygwin program, but even /home/frede/.opam/4.11.1+mingw64c/lib/ocaml gives the same result.
(If I try the ocaml and its library with version 4.01.0, the error is similar : Fatal error: cannot open implicit module "Pervasives")
I guess I know what append : on error of configuration in Eclipse/OcaIDE.
Camelia seems weird : it unsets the OCAMLLIB environment I have set globally, and uses the path to feed the top level with 2 arguments : -I and “the_ocaml_lib_path”. Unfortunately, the quotes (") are added and make the path invalid. I can however set the toplevel as caml -I ocaml_lib_path.
I would guess your problem is running OCaml in MS Widows, and not so much which IDE to use?
As I have no real experiance with OCaml in MS Windows, I would suggest VBox and Ubuntu or WSL with Ubuntu on MS Windows 11.
Have tried to develop OCaml in Eclipse, and it worked (with Linux OS), I have tried VSCode, but that doesn’t work for me. So I uses Emacs as IDE for developing OCaml. Works great for me.