-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very first tutorial lesson does not work due to ZLIB #149
Comments
Hi @Nady93 Thanks for your report. Can you please post the full output of |
It is worth to mention, I have skipped specifying cmake generator, therefore it were using VS 2022 (only one I have installed) Full output from conan install.
|
I am a bit confused, I honestly don't know what could be failing. Could you please do the following too?
|
Tutorial from
tutorial\consuming_packages\simple_cmake_project\
does not build with commands provided from first lesson in documentation I am trying to follow (https://docs.conan.io/2/tutorial/consuming_packages/build_simple_cmake_project.html)When I do
conan install . --output-folder=build --build=missing
, it finishes with "finished successfully" status, despite of two warningsWARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X: WARN: deprecated: 'cpp_info.names' used in: zlib/1.2.11
However next command which is
cmake .. -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake"
fails withCMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
I have changed required ZLIB version to 1.3.1 and now it works.
The text was updated successfully, but these errors were encountered: