Build Problem
Issue #2
closed
When I tried to build the project, and after installing libevent and msgpack (C/C++ version), I found that there is still a problem regarding msgpack. The following is the error:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find MSGPACK (missing: MSGPACK_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/FindMSGPACK.cmake:15 (find_package_handle_standard_args)
CMakeLists.txt:9 (find_package)
After changing the following line in libpaxos/cmake/FindMSGPACK.cmake:
find_library(MSGPACK_LIBRARY msgpack HINTS “${MSGPACK_ROOT}/lib")
with
find_library(MSGPACK_LIBRARY NAMES msgpack msgpackc HINTS “${MSGPACK_ROOT}/lib”)
it seems that the problem resolved.
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
Fix FindMSGPACK.cmake, newer versions changed library name
See
#2→ <<cset 0ec6912b3339>>