Comments (3)
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.
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.
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)
- [bug] conan-2 backup sources workflow does not attempt to fetch from multiple remotes HOT 5
- [feature] Improve version-range-parsing error message HOT 2
- [bug] conan list --graph with non-existing file HOT 2
- [question] how to deploy without dependencies HOT 3
- [suggestion] Label only highest tag as latest release HOT 5
- [bug] Conflict with built-in cmake findpackage scripts can break the build HOT 2
- [question] Is there a way to define information in a recipe that can be used in CMake (or other build systems potentially) HOT 2
- [question] How to build C++ project with Apple Hardened Runtime enabled? HOT 12
- [question] Can I pass --vs-args or --ninja-args arguments to the meson tool when executing build command HOT 1
- [bug] file DOWNLOAD cannot compute hash on failed download, it shows 'status: [35;"SSL connect error"]' HOT 16
- [bug] test_package_folder attribute doesn't work HOT 1
- [question] Limitations of `CMakeToolchain` wrt legacy generators HOT 4
- [bug] Github actions fail when set `tools.system.package_manager:mode` HOT 2
- [question] How to depend on a specific Git commit or branch of a project HOT 7
- [bug] build_requires with different #RREV are not used correctly HOT 2
- [question] What is the correct way of exposing PATH when packaging library type? HOT 2
- [bug] CMakeToolchain changes the value of string variables unexpectedly/incorrectly HOT 6
- [feature] [question] Support the Tricore-gcc toolchain and arch
- Incorrect generation of file conanvcvars.ps1 HOT 2
- [question] Conan centre package rereleases HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.