-
Notifications
You must be signed in to change notification settings - Fork 549
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 Error THC_LIBRARY notfound #2
Comments
Is your Torch7 installation at ${HOME}/torch ? If not, you may need to change src/cpp/CMakeLists.txt manually. |
Thanks a lot.The problem have been solved. |
Is there anything wrong with my dataset or something else? |
The function receives a nil argument. I would suggest debugging it with fb.debugger. |
I met the same problem. Could you tell me how did you solve THC_LIBRARY NOTFOUND error? |
@wew2012 Did you install Torch7 in the home directory (by default it is)? Also, where is your |
@bgshih Yes, I install Torch7 in |
@wew2012 I haven't tested it under CPU-only environment. Maybe you can try removing the THC dependencies by removing https://github.com/bgshih/crnn/blob/master/src/cpp/CMakeLists.txt#L20-L21 |
@wew2012 CRNN should be able to run on CPU, but some modifications are required. Currently, it won't run without a GPU. |
@bgshih Actually, I tried to compile without THC. However, it didn't pass. Is any modifications needed besides the modifications of files in |
@wew2012 It could require a non-trivial amount of work to make CRNN GPU-free. If you are going to try, I suggest starting from |
@bgshih All right, I think I'd better give up. |
Hi ll36771 , my system ubuntu 16.04 mm@mm:~/TextBoxes_plusplus/crnn/src$ sh build_cpp.sh -- Configuring incomplete, errors occurred! |
There is an erro when i execute sh build_cpp.sh .THC_LIBRARY NOTFOUND?
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
THC_LIBRARY
linked by target "crnn" in directory /root/crnn/src/cpp
-- Configuring incomplete, errors occurred!
See also "/root/crnn/src/cpp/build/CMakeFiles/CMakeOutput.log".
I would like to know what is thc_library?where could i get thc_library?
The text was updated successfully, but these errors were encountered: