according to https://marian-nmt.github.io/quickstart/
1、cmake .. -DCOMPILE_CPU=on -DUSE_SENTENCEPIECE=on -DCOMPILE_SERVER=on -DUSE_ONNX=on
tips:
……
-- Configuring done
-- Generating done
-- Build files have been written to: /home/youxixie/008-Marian-Onnx/marian/build
2、make -j4
tips:
onnx-ml.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
3、if set -DUSE_ONNX=off, It can make done
[ 58%] Built target spm_export_vocab
[ 93%] Built target marian
[ 94%] Built target marian_conv
[ 95%] Built target marian_decoder
[ 96%] Built target marian_scorer
[ 97%] Built target marian_train
[ 98%] Built target marian_server
[100%] Built target marian_vocab
I found <google/protobuf/port_def.inc> in /home/mypath/anaconda3/include
So, How can i add include path into cmake config?
Bug description
according to https://marian-nmt.github.io/quickstart/ 1、cmake .. -DCOMPILE_CPU=on -DUSE_SENTENCEPIECE=on -DCOMPILE_SERVER=on -DUSE_ONNX=on tips: …… -- Configuring done -- Generating done -- Build files have been written to: /home/youxixie/008-Marian-Onnx/marian/build
2、make -j4 tips: onnx-ml.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
3、if set -DUSE_ONNX=off, It can make done [ 58%] Built target spm_export_vocab [ 93%] Built target marian [ 94%] Built target marian_conv [ 95%] Built target marian_decoder [ 96%] Built target marian_scorer [ 97%] Built target marian_train [ 98%] Built target marian_server [100%] Built target marian_vocab
I found <google/protobuf/port_def.inc> in /home/mypath/anaconda3/include So, How can i add include path into cmake config?
waiting for your reply,thanks!