Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Fatal error: algorithm file not found
@ 2024-12-29  0:18 Kenneth Adam Miller
  2024-12-29  0:22 ` Kenneth Adam Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth Adam Miller @ 2024-12-29  0:18 UTC (permalink / raw)
  To: caml users

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

I'm trying to install bap, and I ran into this error:

lib/bap_disasm/disasm.cpp:2:10: fatal error: 'algorithm' file not found
#include <algorithm>
         ^~~~~~~~~~~
1 error generated.
Command exited with code 1.
+ ocamlfind ocamlopt -package unix -package ocamlbuild -linkpkg -package
findlib myocamlbuild.ml
/home/kennethadammiller/.opam/4.14.1+flambda/lib/ocamlbuild/ocamlbuild.cmx
-o myocamlbuild


My llvm version is 14, I think and I'm on Ubuntu 22.04. I think what this
has to do with is the default list of include directories that clang
searches when compiling. You would think that C++ ought to know where its
own stdlib is, but apparently not. I think I am looking for a environment
variable option to allow to pass in to ocaml builds some include directory.
Either that, or a downgrade to an llvm version that works. Can anyone help?

[-- Attachment #2: Type: text/html, Size: 1012 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-29  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-29  0:18 [Caml-list] Fatal error: algorithm file not found Kenneth Adam Miller
2024-12-29  0:22 ` Kenneth Adam Miller
2024-12-29  0:49   ` Kenneth Adam Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox