0
Ich versuchte LIBSVM in einem OCaml Projekt zu verwenden:kann nicht mit OCaml verwenden LIBSVM
open Lacaml.D
open Libsvm
Allerdings ist mir diesen seltsamen Fehler von, wenn ich versuche, meine Make-Datei auszuführen:
ocamlfind: Error from package `threads': Missing -thread or -vmthread switch
Mein Make-Datei Wesen:
ocamlfind ocamlopt -o prog -linkpkg -package lacaml -package libsvm Example1.ml
ich sicher, dass alle Pakete vorhanden waren (mit depext):
# Installed packages for system:
base-bigarray base Bigarray library distributed with the OCaml compiler
base-bytes base Bytes library distributed with the OCaml compiler
base-ocamlbuild base OCamlbuild binary and libraries distributed with the OCaml compiler
base-threads base Threads library distributed with the OCaml compiler
base-unix base Unix library distributed with the OCaml compiler
[...]
lacaml 8.1.1 OCaml-bindings to BLAS and LAPACK.
lbfgs 0.8.8 Minimization of multidimensional functions on bounded or unbounded domains.
libsvm 0.9.3 LIBSVM bindings for OCaml
haben Sie versucht, vorbei -thread ocamlfind? siehe http://projects.camlcity.org/projects/dl/findlib-1.7.1/doc/guide-html/x265.html –
Es hat funktioniert, wenn du es als Antwort posten kannst, werde ich es bestätigen :) – RUser4512