shiranD / specializer

Python Library to convert vector fsts ro special fsts
Other
3 stars 1 forks source link

compilation error on Linux #2

Closed shiranD closed 7 years ago

shiranD commented 7 years ago

I found when compiling on an ubuntu 14.4 that the specializer.cpp created has the following header required:

include "nlp/fst/script/getters.h"

which does not exist in fst (and should have been #include <fst/script/getters.h>) and so editing the file was helpful to solve the problem but it does not help in understanding the root cause.

I found this hack to be working. (Apply before compilation)

sed -i 's/#include "nlp\/fst\/script\/getters.h"/#include <fst\/script\/getters.h>/g' specializer.cpp

I didn't dig in too much into that so I invite you to provide a better solution, or more information about it.

shiranD commented 7 years ago

This happened due to usage of a specific version of fst.pxd provided by openest