Closed dset0x closed 6 years ago
Did you follow the instructions from https://github.com/mujx/nheko#building? Also what is your cmake version?
@mujx Woops. I did not. Unfortunately it doesn't seem to make a difference:
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF DUSE_BUNDLED_SPDLOG=OFF . # mind you I had to add a `.` here.
Build type set to 'Release'
-- Version: 0.5.0-96a2c61
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:
LMDBXX_INCLUDE_DIR
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
TWEENY_INCLUDE_DIR
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
used as include directory in directory /home/user/src/nheko
-- Configuring incomplete, errors occurred!
See also "/home/user/src/nheko/CMakeFiles/CMakeOutput.log".
See also "/home/user/src/nheko/CMakeFiles/CMakeError.log".
Same pthread issue in the CMakeError.log
file.
I also tried switching the *BUNDLED*
directives on and off.
There is an omission regarding the INCLUDE_DIR flags.
Could you try the following
rm -rf .deps
rm -rf build
# Installing dependencies
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF
cmake --build .deps --config Release
# Build nheko
cmake -H. -Bbuild \
-DLMDBXX_INCLUDE_DIR=.deps/usr/include \
-DTWEENY_INCLUDE_DIR=.deps/usr/include
cmake --build build --config Release
There was a bit of whining during cmake --build .deps --config Release
:
-- Found sodium: /usr/lib/libsodium.so
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:786 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:58 (find_package)
-- Boost version: 1.66.0
... and it worked. Thank you so much.
System:
-9999
via thematrix
overlay)Steps to reproduce
cmake .
Logs