私が働いているプロジェクトのためのOCamlのMakefileを使用していると私はどの用途DynamicTree
OCamlのメイクファイルの依存関係の問題
Huffman_Static.ml
main.ml
を使用していますfolowingモジュール
DynamicTree.ml
Huffman_Dynamic.ml
を持っています両方ともHuffman_Static
およびHuffman_Dynamic
。
これは私のメイクファイルである:私はプロジェクトを作成しようとすると、私はメイクファイルで生成されocamlopt -c -dtypes huffman_dynamic.ml
からもたらさUnbound value DynamicTree.create_anchor_leaf
を取得
# put here the names of your source files (in the right order)
SOURCES = huffman_static.ml dynamictree.ml huffman_dynamic.ml main.ml
# the name of the resulting executable
RESULT = huffman
# generate type information (.annot files)
ANNOTATE = yes
# make target (see manual) : byte-code, debug-code, native-code
all: native-code
include OCamlMakefile
。
Ocaml Makefile wepage states that it generates私はここに何か不足していますか?
ありがとうございます。
'make clean'の後に' make'を実行したときの出来事のログを投稿できますか?それはいくつかの洞察を提供することができます。 –