Git Product home page Git Product logo

Comments (5)

floitsch avatar floitsch commented on May 8, 2024

I believe the only change in the cmake files were adding GNUIntsallDirs support by @heirecka but I thought that the changes were backwards compatible.

That said, I have no problem bumping the minimal version if that solves the issue. Should we just do that?

from double-conversion.

floitsch avatar floitsch commented on May 8, 2024

After having a second look, it's clear to me that bumping the version number won't just do it. (I was looking at the wrong file, and was confused by the error message).

Adding the missing cmake_minimum_required should be trivial. That would get rid of the warning.
The error itself seems to come from the new code that Heiko added. Hopefully he is still active and knows what to do. I will wait a few days to give him time to respond.

from double-conversion.

heirecka avatar heirecka commented on May 8, 2024

From the warning I and the path of the error message I assume you're not in the root dir of the repo. Also the root CMakeLists.txt has "cmake_minimum_required(VERSION 2.8.12)" which is enough to contain GNUInstallDirs (introduced with 2.8.5).
Not starting in the root dir, doesn't include GNUInstallDirs, which causes the error. It could be added to double-conversion/CMakeLists.txt as well, but I'm not sure this actually works for other reasons.

from double-conversion.

markhu avatar markhu commented on May 8, 2024

Using cmake for me only built the *.a file, and no .so file. Is there an implied [or missing] step to build the shared object using CMake?

Here's the last message seen:

Linking CXX static library libdouble-conversion.a
[100%] Built target double-conversion

from double-conversion.

heirecka avatar heirecka commented on May 8, 2024

Using cmake for me only built the *.a file, and no .so file. Is there an implied [or missing] step to build the shared object using CMake?

-DBUILD_SHARED_LIBS:BOOL=TRUE

from double-conversion.

Related Issues (20)

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.