taku910 / crfpp

CRF++: Yet Another CRF toolkit
Other
505 stars 192 forks source link

install crf++ failed #35

Open haoran8899 opened 7 years ago

haoran8899 commented 7 years ago

i've used python setup.py install to install crf++,but error happend,error detail as blow: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\DevInstall\Python\Python35-32\include -ID:\DevInstall \Python\Python35-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14 .0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\ INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "- IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program File s (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits \8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EH sc /TpCRFPP_wrap.cxx /Fobuild\temp.win32-3.5\Release\CRFPP_wrap.obj CRFPP_wrap.cxx CRFPP_wrap.cxx(3046): fatal error C1083: Cannot open include file: 'crfpp.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\ cl.exe' failed with exit status 2

i've solved above error by copying crfpp.h file from crfpp-master dir to crfpp-master\python dir. then continue to install crf++. but i've got the blow error: LINK : fatal error LNK1181: cannot open input file 'crfpp.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\ link.exe' failed with exit status 1181

dynasty666 commented 6 years ago

i also have this problem :LINK : fatal error LNK1181: cannot open input file 'crfpp.lib' how to solve this?

ZhouYC-X commented 3 years ago

i also have this problem :LINK : fatal error LNK1181: cannot open input file 'crfpp.lib' how to solve this?