warp-ctc icon indicating copy to clipboard operation
warp-ctc copied to clipboard

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

Open smolendawid opened this issue 7 years ago • 2 comments

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 avatar Jan 18 '18 07:01 smolendawid

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

smolendawid avatar Jan 18 '18 08:01 smolendawid

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

BrandonLiang avatar Jun 06 '20 22:06 BrandonLiang