Code Monkey home page Code Monkey logo

Comments (3)

m-mizutani avatar m-mizutani commented on August 21, 2024

Thank you for reporting. Let me reproduce the issue.

from libfluent.

RobotCaleb avatar RobotCaleb commented on August 21, 2024

@m-mizutani : I threw this together to help you out.

cd test
mkdir build
git init
git submodule add https://github.com/m-mizutani/libfluent.git
git submodule add https://github.com/msgpack/msgpack-c.git
echo "cmake_minimum_required(VERSION 2.6)" > CMakeLists.txt
echo "add_subdirectory(msgpack-c)" >> CMakeLists.txt
echo "add_subdirectory(libfluent)" >> CMakeLists.txt
cd build
cmake ../

from libfluent.

m-mizutani avatar m-mizutani commented on August 21, 2024

Sorry for late reply. I was investigating EXPORT mechanism of cmake because I'm also not an expert of cmake.

I found two way to avoid the error.

  1. use -DFLUENT_INSTALL=OFF option that is implemented at b75a8b8 when running cmake command with your CMakeLists.txt. The option makes installation commands including export cmake.config function disable. Then, your cmake command will not fail on install(EXPORT "fluentConfig" ...)
  2. use ExternalProject_Add command in your CMakeLIsts.txt. I thought it's a proper way if you allow to install msgpack and libfluent into your development environment. Please see details of ExternalProject_Add from folloing URL.

https://coderwall.com/p/y3zzbq/use-cmake-enabled-libraries-in-your-cmake-project

Let me close the issue, but please feel free to reopen if you have more issue.

from libfluent.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.