Skip to content

cmake can not find msgpack #263

@vulogov

Description

@vulogov

The latest msgpack has been installed in /usr/local/lib and /usr/local/include, although, cmake can not find it.

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_C_FLAGS=-I/usr/local/include .. 
CMake Error at CMakeLists.txt:21 (INCLUDE):
  include could not find load file:

    foreign/modules/AddCXXCompilerFlag.cmake


-- Boost version: 1.63.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system
--   thread
CMake Error at cmake/locate_library.cmake:13 (MESSAGE):
  libmsgpack development files are required to build.
Call Stack (most recent call first):
  CMakeLists.txt:35 (LOCATE_LIBRARY)


-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions