I tried, and it works fine until the require of json-static. It breaks
when loading pcre.cma.
Now we can say that pcre package has some problem, but dynlink is loaded
successfully.
Hmm - a few other things to check:
1. Are you definitely using Cygwin's PCRE and which version (run pcre-config
On Mon, Oct 5, 2009 at 8:39 AM, David Allsopp dra-n...@metastack.comwrote:
Hmm - a few other things to check:
1. Are you definitely using Cygwin's PCRE and which version (run
pcre-config
--prefix and pcre-config --version)
2. Which version of ocaml-pcre is findlib trying to load (#use
Am Sonntag, den 04.10.2009, 20:53 +0100 schrieb Conglun Yao:
In that case, try listing dynlink explicitly, like:
ocamlfind ocamlc dynlink.cma -package json-static [etc]
$ ocamlfind ocamlc dynlink.cma -package json-static -syntax
Thanks for all of your help.
Unfortunately, it still does not work. It is really nightmare to use camp4
in a windows machine. I try to reinstall plain OCaml without using GODI, if
the same error happens, I have to go back to Ubuntu.
Thanks.
Conglun
On Mon, Oct 5, 2009 at 2:35 PM, Gerd
Conglun Yao wrote:
Thanks for all of your help.
Unfortunately, it still does not work. It is really nightmare to use camp4
in a windows machine.
In this instance, it's very much Cygwin that's causing the problem, rather
than Windows! I didn't realise that Cygwin's Dynlink only extended to
Gerd Stolpmann wrote:
While cygwin cannot load shared libraries from bytecode, it still can
load pure bytecode dynamically.
Since OCaml 3.11 and the use of flexdll, all the windows ports
(including the Cygwin port) are supposed to be able to load stub DLLs
produced by flexlink. This has not
I am please to announce the release of dyn (homepage
https://forge.ocamlcore.org/projects/dyn/). This release is made
possible by Jane Street capital who opened up the initial code.
Dyn is a camlp4 syntax extension for Ocaml that:
- Scaffolds injection and projection functions to an from