Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crfsuite include path #103

Open
baerbock opened this issue Feb 12, 2019 · 0 comments
Open

crfsuite include path #103

baerbock opened this issue Feb 12, 2019 · 0 comments

Comments

@baerbock
Copy link

baerbock commented Feb 12, 2019

The Cython-generated pycrfsuite/_pycrfsuite.cpp file includes

#include "../crfsuite/include/crfsuite.h"
#include "../crfsuite/include/crfsuite_api.hpp"

which leads to compilation failure:
pycrfsuite/_pycrfsuite.cpp:586:10: fatal error: ../crfsuite/include/crfsuite.h: No such file or directory

How can I change this to (or without /usr/include/)

#include "/usr/include/crfsuite.h"
#include "/usr/include/crfsuite_api.hpp"
``` ?

The file is not patchable because Cython always regenerates it.
Thanks in advance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant