<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Clément,<br>
      <br>
      Thanks for the answer, I installed num and changed the compilation
      line to use ocamlfind but now the compilation fails with : <br>
      <br>
      ocamlfind ocamlopt -package num -I ./src/modelica_compiler -I
      ./src/xml2modelica -c src/modelica_compiler/optimization.ml<br>
      File "src/modelica_compiler/optimization.ml", line 166, characters
      21-22:<br>
      Error: This expression has type string but an expression was
      expected of type<br>
               bytes<br>
      <br>
      Is it link to the uodate to OCaml 4.06 ?<br>
      <br>
      Florian<br>
      <br>
      On 21/02/18 11:51, Clément David wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1519210288.2211.11.camel@esi-group.com">
      <pre wrap="">Hello Florian,

The easier would be to depend on the external Num library for the 6.0.x family as far as this
library remains available; statically build against it is the way to go for OCaml code. Num might
also be packaged in your system, use ocamlfind to look for it.

Thanks,

--
Clément

Le mercredi 21 février 2018 à 08:41 +0100, Florian Blachère a écrit :
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

Scilab 6.0.0 and 6.0.1 (and the master branch) cannot be build using 
OCaml 4.06 because this release remove the Num library 
(<a class="moz-txt-link-freetext" href="https://ocaml.org/releases/4.06.html#Changes">https://ocaml.org/releases/4.06.html#Changes</a>  , 
<a class="moz-txt-link-freetext" href="https://github.com/ocaml/ocaml/pull/1178">https://github.com/ocaml/ocaml/pull/1178</a>), do you have any advice to 
build Scilab with recent OCaml: integrate Num in Scilab, build Num 
oustside of Scilab and link against it, ... ?

Thanks by advance,

Florian

_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>