-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake Warning at CMakeLists.txt:48 (FIND_PACKAGE): #36
Comments
Hi @ahmedmazari , have you solved this problem? Thanks! |
@zhanghang1989 , Yes l did. Let me know if you still encounter the same problem to post the steps that allowed me to solve the problem |
Thanks @ahmedmazari ! I did a hacky way by manually set the path. Let me know if there is a better solution! Thanks again
|
Hi @zhanghang1989 , you're welcome
If doesn't work downgrade your gcc to 4.9 and try again . Please et me know if it works |
I ran into the same issue, none of the above suggestions worked, but I could fix it by installing both pytorch AND torch (the latter from from http://torch.ch/docs/getting-started.html) from source, then installing warp-ctc as per the instructions at https://github.com/SeanNaren/warp-ctc |
Got the same issue. Solution: export Torch_DIR as env variable before cmake e.g. i am using python virtual env on linux, and installed pytorch using 'pip'.
|
Hello,
My error is related to line 48 from this file code https://github.com/SeanNaren/warp-ctc/blob/pytorch_bindings/CMakeLists.txt
After installing pytorch corrctly. l want to install the Fast parallel CTC https://github.com/SeanNaren/warp-ctc
l started installing as follow :
then l stacked at the (cmake command)
cmake ../
l don't understand the error :
**"_CMake Warning at CMakeLists.txt:48 (FIND_PACKAGE):
By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Torch", but
CMake did not find one.
Could not find a package configuration file provided by "Torch" with any of
the following names:
Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
"Torch_DIR" to a directory containing one of the above files. If "Torch"
provides a separate development package or SDK, be sure it has been
installed.
"**
The text was updated successfully, but these errors were encountered: