ufal / udpipe

UDPipe: Trainable pipeline for tokenizing, tagging, lemmatizing and parsing Universal Treebanks and other CoNLL-U files
Mozilla Public License 2.0
358 stars 75 forks source link

make bindings/csharp error #66

Closed notesjor closed 6 years ago

notesjor commented 6 years ago

If I run make in bindings/csharp, I recived the following error message:

swig -O -c++ -outcurrentdir -csharp -namespace Ufal.UDPipe -outdir Ufal\UDPipe -o udpipe_csharp.cpp udpipe_csharp.i process_begin: CreateProcess(NULL, swig -O -c++ -outcurrentdir -csharp -namespace Ufal.UDPipe -outdir Ufal\UDPipe -o udpipe_csharp.cpp udpipe_csharp.i, ...) failed. make (e=2): The system cannot find the file specified. mingw32-make: *** [Makefile:25: udpipe_csharp.cpp] Error 2

notesjor commented 6 years ago

reason: bindings/csharp/.gitignore includes udpipe_csharp.cpp

foxik commented 6 years ago

The Makefile tries to generate udpipe_csharp.cpp using swig, which you do not have installed (which is what the "CreateProcess failed" means).

Either install swig, or use the precompiled bindings -- all binary releases here on Github contains precompiled C# bindings for Linux/Win/OS X 32/64.