Open eravallirao opened 5 years ago
did you run make install
after building warp_ctc
? Did you make sure that Cython is able to find the header files of warp_ctc
.
I am getting this while running make install
I tried giving "sudo"
Did you make sure that Cython is able to find the header files of warp_ctc? How can we check this? I am little bit new to this, please don't mind if I am asking for basics.
if your CMAKE_INSTALL_PREFIX
is set to /usr/local
. Cython should be able to find your files, once you did run make install
successfully.
I followed the path you asked to, still I am getting the error of ctc.h not found
Do you have any docker setup available
did you check that ctc.h
is in /usr/local/include
?
Unfortunately, I can not provide a docker image at the moment.
Sorry for late reply. Yeah I did check, It was not there. I copied the ctc.h file and copied into the path you specified and ran it. I am getting other error
It seems that the linker can not find the library. Where is your compiled library stored on your pc? Is that path in your environment variable LD_LIBRARY_PATH
?
Sorry can you please tell me about the compiled library? FYI I don't have CUDA. I am running it on MAC
sukshis-MacBook-Air-2:ctc Puru$ echo $LD_LIBRARY_PATH /Users/sukshi/torch/install/lib:
the compiler creates a .so
file once you are done with compiling the warpctc
library. That is the file I'm talking about. If you place this file in /Users/sukshi/torch/install/lib
the compiler, compiling the python extension, might find it.
Are you talking about the same .so file which is in that directory?
No, I'm talking about a file that sshould be named libwarpctc.so
or something like that. I see that you have a libwarpctc.dylib
file. This might be a mac equivalent of a .so
file but I don't know anything about macs and I can not help you with that. In the Linux world you'll need a .so
file for the linker but how that stuff works on mac (if it is different at all) I really don't know.
I am getting the above warning while running "make"
After that while running this command python3 setup.py build_ext --inplace I am getting the below error. Can you please help me with this