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

Error when building on Mac OS 10.15 #64

Open
vineetsajuTR opened this issue Jun 3, 2021 · 0 comments
Open

Error when building on Mac OS 10.15 #64

vineetsajuTR opened this issue Jun 3, 2021 · 0 comments

Comments

@vineetsajuTR
Copy link

Following the instructions on the Readme inorder to build the jar needed for running on a Mac but getting the error below

git clone --recursive https://github.com/vinhkhuc/JFastText
cd JFastText
mvn package

[INFO] clang++ -I/Users/u0108163/GitRepos/RnD/RD-NLP/JFastText/src/main/java/../cpp -I/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/include/darwin /Users/u0108163/GitRepos/RnD/RD-NLP/JFastText/target/classes/com/github/jfasttext/jniFastTextWrapper.cpp -march=x86-64 -m64 -O3 -std=c++0x -I/Users/u0108163/GitRepos/RnD/RD-NLP/JFastText/src/main/java/../cpp -Wl,-rpath,@loader_path/. -Wall -fPIC -dynamiclib -undefined dynamic_lookup -o libjniFastTextWrapper.dylib -framework JavaVM
In file included from /Users/u0108163/GitRepos/RnD/RD-NLP/JFastText/target/classes/com/github/jfasttext/jniFastTextWrapper.cpp:101:
/Users/u0108163/GitRepos/RnD/RD-NLP/JFastText/src/main/java/../cpp/fasttext_wrapper.h:4:10: fatal error: 'fastText/src/fasttext.h' file not found
#include "fastText/src/fasttext.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

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