compile CRNN
hi.
in this directory : cd crnn/src/ ,
when i use sh build_cpp.sh , i faced with this error :
mm@mm:~/TextBoxes_plusplus/crnn/src$ sh build_cpp.sh
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
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:
LUAT_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
THC_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
THPP_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
TH_LIBRARY
linked by target "crnn" in directory /home/mm/TextBoxes_plusplus/crnn/src/cpp
-- Configuring incomplete, errors occurred! See also "/home/mm/TextBoxes_plusplus/crnn/src/cpp/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop. cp: cannot stat '*.so': No such file or directory
Please refer to https://github.com/bgshih/crnn to check your dependencies. You should first install Torch7, fblualib and LMDB.
i installed those library , but i again get that error which version of ubuntu you tested this ? 14 or 16 ?
The versions of 14 and 16 are OK. From the error information, it seems that you lacks some libararies such as LUAT_LIBRARY, THC_LIBRARY, THPP_LIBRARY and TH_LIBRARY.
You need to set TORCH_ROOT where you installed Torch7.
@zeynali: Could your problem be resolved in the meantime? I am also struggeling getting THPP_LIBRARY @MhLiao: Could you maybe provide some guidance on how to install THPP_LIBRARY as I am running into the same problems with same config. Cannot install TH++ standalone or as part of fbluabib.
Maybe #29 is helpful.
@dissendahl you should install common the TH++ installation in the install_all.sh and install it manually
- downloading the gtest-1.7.0.zip towards /tmp/XXX/thpp/thpp
- comment the rm command, downloading and checking command in the build file
it works for me
@zeynali have you solver the bug? i meet the same problem....