Git Product home page Git Product logo

Comments (3)

memsharded avatar memsharded commented on July 19, 2024

Hi @LouChiSoft

Thanks for your question.

I think you are missing some information:

cmake --build ./build

This is not complete for Visual Studio (multi-config generator, that doesn't necessarily default to Release), you need either:

cmake --build ./build --config Release
# or
cmake --build --preset conan-release

The later is preferred if you were using presets for the configure step.

For the msbuild command line version cd build; MSBuild.exe gamma.sln you might need to add /p:Configuration=Release too there. But I also think that if you configured the project with cmake, then using cmake --build is also preferred.

from conan.

LouChiSoft avatar LouChiSoft commented on July 19, 2024

Thanks for the fast response @memsharded. This was the answer, I guess the missing files in Visual Studio is a CMake specific issue then, not a conan one.
Thanks

from conan.

memsharded avatar memsharded commented on July 19, 2024

Thanks for the fast response @memsharded. This was the answer, I guess the missing files in Visual Studio is a CMake specific issue then, not a conan one.

It is kind of alignment in all the tools, conan install install by default Release dependencies for the Release configuration. But even CMake strongly encourage to use a build_type or configuration, it is not really mandatory, so it still kind of works even if it is not specified, but then it fails to find the dependencies because they were installed for Release

from conan.

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.