baidu-research / warp-ctc

Fast parallel CTC.
Apache License 2.0
4.06k stars 1.04k forks source link

make error on mac: ld: library not found for -lluajit #107

Open smolendawid opened 6 years ago

smolendawid commented 6 years ago

I have got a problem with make:

$ make

Scanning dependencies of target warpctc [ 14%] Building CXX object CMakeFiles/warpctc.dir/src/ctc_entrypoint.cpp.o [ 28%] Linking CXX shared library libwarpctc.dylib ld: library not found for -lluajit clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [libwarpctc.dylib] Error 1 make[1]: [CMakeFiles/warpctc.dir/all] Error 2 make: *** [all] Error 2

I have got working luajit in PATH. I am using macOS.

smolendawid commented 6 years ago

No idea what could be -lluajit in warp-ctc/build/CMakeFiles/test_cpu.dir/link.txt

BrandonLiang commented 4 years ago

What exactly did you change/add to get this working? @smolendawid