Open zhoujianwei opened 7 years ago
You have the wrong location for your root_source_dir
root@zcash:~/forpool/poolcore/build# cmake ../src -DROOT_SOURCE_DIR=forpool
forpool should be ~/forpool/
Hi.
I am getting similar error to cmake command.
/home/parallels/ZEC/zcash 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: FLATBUFFERS_INCLUDE_DIR used as include directory in directory /home/parallels/ZEC/poolcore/src used as include directory in directory /home/parallels/ZEC/poolcore/src used as include directory in directory /home/parallels/ZEC/poolcore/src/poolcommon used as include directory in directory /home/parallels/ZEC/poolcore/src/poolcommon used as include directory in directory /home/parallels/ZEC/poolcore/src/poolcommon used as include directory in directory /home/parallels/ZEC/poolcore/src/poolcore used as include directory in directory /home/parallels/ZEC/poolcore/src/poolcore used as include directory in directory /home/parallels/ZEC/poolcore/src/poolcore used as include directory in directory /home/parallels/ZEC/poolcore/src/poolrpccmd used as include directory in directory /home/parallels/ZEC/poolcore/src/poolrpccmd used as include directory in directory /home/parallels/ZEC/poolcore/src/poolrpccmd used as include directory in directory /home/parallels/ZEC/poolcore/src/zcash used as include directory in directory /home/parallels/ZEC/poolcore/src/zcash used as include directory in directory /home/parallels/ZEC/poolcore/src/zcash
-- Configuring incomplete, errors occurred! See also "/home/parallels/ZEC/poolcore/x86_64-Linux/CMakeFiles/CMakeOutput.log". See also "/home/parallels/ZEC/poolcore/x86_64-Linux/CMakeFiles/CMakeError.log".
Regards
Help~ @eXtremal-ik7 lm a newcomer to shell What to do next could you tell me how to do with this?
THANKS
root@zcash:~# cd forpool root@zcash:~/forpool# ls config4cpp flatbuffers libp2p nginx-1.11.5 nginx-1.11.5.tar.gz ngxrest poolcore pool_frontend_zcash pooljs poolrestapi zcash root@zcash:~/forpool# cd poolcore root@zcash:~/forpool/poolcore# cd build root@zcash:~/forpool/poolcore/build# cmake ../src -DROOT_SOURCE_DIR=forpool -DZCASH_ENABLED=1 -- Boost version: 1.61.0 -- Found the following Boost libraries: -- thread -- system -- chrono -- date_time -- atomic ZCASH_INCLUDE_DIR-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: AIO_INCLUDE_DIR used as include directory in directory /root/forpool/poolcore/src used as include directory in directory /root/forpool/poolcore/src used as include directory in directory /root/forpool/poolcore/src/poolcommon used as include directory in directory /root/forpool/poolcore/src/poolcommon used as include directory in directory /root/forpool/poolcore/src/poolcommon used as include directory in directory /root/forpool/poolcore/src/poolcore used as include directory in directory /root/forpool/poolcore/src/poolcore used as include directory in directory /root/forpool/poolcore/src/poolcore used as include directory in directory /root/forpool/poolcore/src/poolrpccmd used as include directory in directory /root/forpool/poolcore/src/poolrpccmd used as include directory in directory /root/forpool/poolcore/src/poolrpccmd used as include directory in directory /root/forpool/poolcore/src/zcash used as include directory in directory /root/forpool/poolcore/src/zcash used as include directory in directory /root/forpool/poolcore/src/zcash AIO_LIBRARY linked by target "poolrpccmd" in directory /root/forpool/poolcore/src/poolrpccmd P2PUTILS_LIBRARY linked by target "poolrpccmd" in directory /root/forpool/poolcore/src/poolrpccmd P2P_LIBRARY linked by target "poolrpccmd" in directory /root/forpool/poolcore/src/poolrpccmd
-- Configuring incomplete, errors occurred! See also "/root/forpool/poolcore/build/CMakeFiles/CMakeOutput.log". See also "/root/forpool/poolcore/build/CMakeFiles/CMakeError.log". root@zcash:~/forpool/poolcore/build#