Closed j3rk0 closed 2 years ago
What platform are you on? Indeed return 0.0
will work, I'll add that.
What platform are you on? Indeed
return 0.0
will work, I'll add that.
Intel x86_64 notebook running openSuse tumbleWeed with linux kernel 5-18.4. i run pip from a python 3.8 virtual enviroment
Ah we're defining HAVE_CLOCKGETTIME
from cmake but not the python build.
Try bcd4af6 .
it worked. thank you very much. this is a very awsome implementation
when i try to pip install -e . inside the kenlm top folder it fail to compile returning:
i try to run python-config --cflags and one of the compiler flag was -Werror=return-type. i find two possible solution:
return 0.0;}
the first solution is the best but i don't know how to change the compiler flag. the second solution is fast but i don't know if it break some library functions. i don't know if this is the correct place to report this error but it takes me a lot to solve it and i tought it could be useful for someone.