Open varun-bankiti opened 7 years ago
Well...
you should try to run make install
after you've followed all installation steps, provided in the warpctc readme.
You can change the install directory by editing the values in the cmake cache.
I've already put libwarpctc.so
into $LD_LIBRARY_PATH
but setup.py build_ext --inplace
still can not find -lwarpctc
by change -lwarpctc
into -L/my/path/to/libwarpctc.so
compilation done
where did you put libwarpctc.so? Is it in one of the default search locations, like /usr/lib
or /usr/local/lib
or is it a path defined by yourself?
But even if you placed the library in a non-default path and added this path correctly to LD_LIBRARY_PATH
it should be able to find the library by itself, although I'm not too proficient with the python build tools. It might be that there is another issue with that...
@Bartzi thx for reply, its in my local path, not system path like /usr/lib
.
Hello @Bartzi
I fallowed the installation instruction and done up-to step 4 (i.e insall warp-ctc from here).
When I ran
python setup.py build_ext --inplace
initially it gave mectc_loss.cpp:509:17: fatal error: ctc.h: No such file or directory
similar to thisWhen I added the include folder from warp-ctc to the $CPLUS_INCLUDE_PATH, that is gone.
But, now it is giving me this error :
/usr/bin/ld: cannot find -lwarpctc
Here is the full stack trace, if that helps.
Can you please give more details about how to install
warp-ctc
and how to verify its installed correctly(w.r.t this project).Some details about environment:
Ubuntu 16.04, no GPU, python 3.5.2
. LMK if any other details will be useful to resolve it.Thanks.