vinhkhuc / JFastText

Java interface for fastText

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when building on Mac OS 10.15

vineetsajuTR opened this issue · comments

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.