MozilaDeepSpeech generate_trie with problem

I prepare execute generate a trie.DeepSpeech path “native_client/generate_trie.cpp” need complie.I use command “g++ generate_trie.cpp –o generate_trie –I kenlm/ -I ./ -I ctcdecode/third_party/openfst-1.6.7/src/include/”.but ouput many error in head file.

how can I resolve this problem

error log :

ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:521:33: required from ‘fst::LogWeightTpl fst::Power(const fst::LogWeightTpl&, V) [with T = double; V = long unsigned int]’
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:540:41: required from here
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:355:39: error: no matching function for call to ‘fst::LogWeightTpl::LogWeightTpl(float)’
static const LogWeightTpl one(0.0F);
^
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:355:39: note: candidates are:
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:335:7: note: fst::LogWeightTpl::LogWeightTpl()
class LogWeightTpl : public FloatWeightTpl {
^
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:335:7: note: candidate expects 0 arguments, 1 provided
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:335:7: note: fst::LogWeightTpl::LogWeightTpl(const fst::LogWeightTpl&)
ctcdecode/third_party/openfst-1.6.7/src/include/fst/float-weight.h:335:7: note: no known conversion for argument 1 from ‘float’ to ‘const fst::LogWeightTpl&’

Thank you .

What happens if you follow the documented method to build generate_trie?