Caffe(http://caffe.berkeleyvision.org)をサポートしているGo/BadukエンジンPachi(https://github.com/pasky/pachi)をコンパイルしようとしています。Patch cant find caffe/caffe.hpp:そのようなファイルやディレクトリがありません
カフェを設置OKであり、その中に/何か/ PACHI_GO_ENGINE /カフェ位置/
caffe.hppは次の場所にあります。
/something/PACHI_GO_ENGINE/caffe/distribute/include/caffe/caffe.hpp
/something/PACHI_GO_ENGINE/caffe/include/caffe/caffe.hpp
指示されたとおり、私はまた、パチスロMakefileを更新:
- Edit Makefile, set DCNN=1, point it to where caffe is installed and build.
を
私は/ include/caffe /を/ usr/local/libにコピーしました。これはデフォルトの場所であるはずですから。
Makefileの変更:
DCNN=1
#CAFFE_LIB=/usr/local/lib
CAFFE_LIB=/something/PACHI_GO_ENGINE/caffe/distribute/include
#(and several variations of this)
そして、私はまだ取得:
[CC] fbook.c
[CC] chat.c
[CXX] dcnn.cpp
dcnn.cpp:13:27: fatal error: caffe/caffe.hpp: No such file or directory
compilation terminated.
Makefile.lib:78: recipe for target 'dcnn.o' failed
make: *** [dcnn.o] Error 1
ここにファイルが表示されます:https://github.com/pasky/pachi/blob/master/Makefile どのように追加できますか? https://github.com/pasky/pachi/blob/master/Makefile 私が追加: は= -I INCLUDES –
あなたはここでファイルを見ることができます。 [ dcnn.cpp [CXX] [CC] fbook.c [CC] chat.c :-Iを/ mnt/kolakas1/BLAAH/PACHI_GO_ENGINE /カフェ/ を含むが、今、私は次のエラーを得ましたCC] pachi.c [LINK]パチスロ は/ usr/binに/ ldが:エラー:-lcaffe collect2はを見つけることができません159:ldは1つの終了ステータス Makefileを返されたターゲットのためのレシピ 'パチスロ' は メイクを失敗しました:*** [パチ]エラー1 –