c++ - Error compiling CRF++ v0.51 -


i'm trying compile crf++ v0.51 comes parscit. configure not show missing, however, when try make error:

make  all-am make[1]: entering directory `/path/to/parscit/crfpp/crf++-0.51' /bin/bash ./libtool --tag=cxx   --mode=compile g++ -dhave_config_h -i.     -o3 -wall -wno-deprecated -c -o node.lo node.cpp libtool: compile:  g++ -dhave_config_h -i. -o3 -wall -wno-deprecated -c node.cpp  -fpic -dpic -o .libs/node.o in file included node.h:13:0,                  node.cpp:9: path.h:26:52: error: 'size_t' has not been declared make[1]: *** [node.lo] error 1 make[1]: leaving directory `/path/to/parscit/crfpp/crf++-0.51' make: *** [all] error 2 

i able compile newer version crf++ v0.58 parscit seems need v0.51.

you should try adding #include<iosteream> in 'node.cpp' file , compile crf++ again, instructed in troubleshooting page. hope helps.


Comments