Lambdasoup Does Not Work in OCaml 4.04.0

Asked 2 years ago, Updated 2 years ago, 165 views

I installed ocaml.4.04.0 in opam and tried to use lambda-soup.

$opam install lambdasoup

However, when I try to compile a program that uses lambdasoup, I get the following error:

Warning58: no cmx file was found in path for module Soup, and its interface was not compiled with-opaque
File "hoge.ml", line1:
Error: Some fatal warnings were triggered (1 occurrences)

Is there something wrong with the settings?

  • OS:Ubuntu:12.04
  • opam:1.2.2
  • OCaml 4.04.0
  • lambdasoup 0.6

html ocaml web-scraping

2022-09-30 21:18

1 Answers

-w<list> or -warn-error<list> The compilation switch should have a configuration that treats Warning 58 as an error, so remove it. (Refer to http://caml.inria.fr/pub/docs/manual-ocaml/comp.html)

Here are some examples of how to use these switches:

  • -warn-error A-58: All warnings except 58 are errors
  • [email protected]:40 to 58 warnings are errors


2022-09-30 21:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.