TALP-UPC / FreeLing

FreeLing project source code
Other
252 stars 96 forks source link

Compilation error: ‘devel’ was not declared in this scope #106

Open andreaslillebo opened 4 years ago

andreaslillebo commented 4 years ago

When building Freeling from source following the instructions for Ubuntu 18.04, after running make install, compilation fails:

Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

When looking at the output, I see the following error:

/home/andreas/source_code/FreeLing/src/libtreeler/main/treeler.cc: In function ‘void usage(treeler::Options&, std::__cxx11::string, std::__cxx11::string)’:
<command-line>:0:13: error: ‘devel’ was not declared in this scope

The problem seems to be the following line: https://github.com/TALP-UPC/FreeLing/blob/33240666c236cecd8a8141f0ebd6949be74eccbf/CMakeLists.txt#L14

When removing -devel from the version, Freeling compiles fine.

lluisp commented 4 years ago

fixed, thanks!