Comments (3)
bzip2/1.0.8: RUN: cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="C:/Users/codin/.conan2/p/b/bzip201311f5bca37a/b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/codin/.conan2/p/b/bzip201311f5bca37a/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\Users\codin\.conan2\p\b\bzip201311f5bca37a\b\src\.."
'cmake' is not recognized as an internal or external command,
operable program or batch file.
CMake must be in your PATH. See https://github.com/conan-io/conan-center-index/blob/fd8bd95927c9fa9cd57943e4e13d828139213d19/docs/faqs.md#why-recipes-that-use-build-tools-like-cmake-that-have-packages-in-conan-center-do-not-use-it-as-a-build-require-by-default
from conan-center-index.
@uilianries sorry for the delayed response, I hadn't had time to investigate further until today, and doing an install of cmake, and making sure its applied in the global environment did the trick! I now have debug libs!
Thanks everyone for the help!
from conan-center-index.
Hello @Codinablack we indeed don't build Debug configuration, so the CI can't if it's working with Debug. So I built locally that exactly same configuration and it's working:
λ conan install -r conancenter --requires=bzip2/1.0.8 -s compiler.cppstd=20 -s build_type=Debug --build=missing
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=msvc
compiler.cppstd=20
compiler.runtime=dynamic
compiler.runtime_type=Debug
compiler.version=193
os=Windows
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
======== Computing dependency graph ========
Graph root
cli
Requirements
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache
======== Computing necessary packages ========
Requirements
bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:7bde698069de06159da4d4f7bb174ecdafdbc48b - Build
======== Installing packages ========
bzip2/1.0.8: Sources downloaded from 'conancenter'
bzip2/1.0.8: Calling source() in C:\Users\uilia\.conan2\p\bzip232e122e5f0e0b\s\src
-------- Installing package bzip2/1.0.8 (1 of 1) --------
bzip2/1.0.8: Building from source
bzip2/1.0.8: Package bzip2/1.0.8:7bde698069de06159da4d4f7bb174ecdafdbc48b
bzip2/1.0.8: Copying sources to build folder
bzip2/1.0.8: Building your package in C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b
bzip2/1.0.8: Calling generate()
bzip2/1.0.8: Generators folder: C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build\generators
bzip2/1.0.8: CMakeToolchain generated: conan_toolchain.cmake
bzip2/1.0.8: CMakeToolchain generated: C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build\generators\CMakePresets.json
bzip2/1.0.8: Generating aggregated env files
bzip2/1.0.8: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
bzip2/1.0.8: Calling build()
bzip2/1.0.8: apply_conandata_patches(): No patches defined in conandata
bzip2/1.0.8: Running CMake.configure()
bzip2/1.0.8: RUN: cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/b/src/.."
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Using Conan toolchain: C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/b/build/generators/conan_toolchain.cmake
-- Conan toolchain: CMAKE_GENERATOR_TOOLSET=v143
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done (3.3s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/b/build
bzip2/1.0.8: Running CMake.build()
bzip2/1.0.8: RUN: cmake --build "C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build" --config Debug
MSBuild version 17.3.1+2badb37d1 for .NET Framework
1>Checking Build System
Building Custom Rule C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/b/CMakeLists.txt
blocksort.c
bzlib.c
compress.c
crctable.c
decompress.c
huffman.c
randtable.c
bz2.vcxproj -> C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build\Debug\bz2.lib
Building Custom Rule C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/b/CMakeLists.txt
bzip2.c
bzip2.vcxproj -> C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build\Debug\bzip2.exe
Building Custom Rule C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/b/CMakeLists.txt
bzip2/1.0.8: Package '7bde698069de06159da4d4f7bb174ecdafdbc48b' built
bzip2/1.0.8: Build folder C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build
bzip2/1.0.8: Generating the package
bzip2/1.0.8: Packaging in folder C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\p
bzip2/1.0.8: Calling package()
bzip2/1.0.8: Running CMake.install()
bzip2/1.0.8: RUN: cmake --install "C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\b\build" --config Debug --prefix "C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/p"
-- Installing: C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/p/lib/bz2.lib
-- Installing: C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/p/include/bzlib.h
-- Installing: C:/Users/uilia/.conan2/p/b/bzip21fe492ef7509b/p/bin/bzip2.exe
bzip2/1.0.8: package(): Packaged 1 '.exe' file: bzip2.exe
bzip2/1.0.8: package(): Packaged 1 '.h' file: bzlib.h
bzip2/1.0.8: package(): Packaged 1 '.lib' file: bz2.lib
bzip2/1.0.8: package(): Packaged 1 '.cmake' file: conan-official-bzip2-variables.cmake
bzip2/1.0.8: package(): Packaged 1 file: LICENSE
bzip2/1.0.8: Created package revision 234bda57d964ccb387204693fb6c38ee
bzip2/1.0.8: Package '7bde698069de06159da4d4f7bb174ecdafdbc48b' created
bzip2/1.0.8: Full package reference: bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:7bde698069de06159da4d4f7bb174ecdafdbc48b#234bda57d964ccb387204693fb6c38ee
bzip2/1.0.8: Package folder C:\Users\uilia\.conan2\p\b\bzip21fe492ef7509b\p
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated: 'cpp_info.names' used in: bzip2/1.0.8
WARN: deprecated: 'cpp_info.build_modules' used in: bzip2/1.0.8
WARN: deprecated: 'env_info' used in: bzip2/1.0.8
======== Finalizing install (deploy, generators) ========
cli: Generating aggregated env files
cli: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
Install finished successfully
So I would suggest checking you helper script first, we can't check what is doing because all commands are hidden. Make sure you have CMake well configured as SpaceIM mentioned before. The bzip2 package should work.
from conan-center-index.
Related Issues (20)
- [package] lmdb/0.9.31: compromised? HOT 1
- [request] <folly>/<v2024.05.02.00> HOT 2
- [package] gtest/1.14.0: gtest recipe suddenly does not support current version of conan HOT 1
- libwebsockets: error building when not using OpenSSL HOT 2
- [boost] boost::dll/1.85.0: undefined reference to `dlopen' HOT 2
- [GTest] : PR #23856 breaks GTest for users who are still on conan 2.0.x
- [package] cppcheck/2.14: Does not compile on Windows
- [request] freertos-kernel/11.1.0
- onnxruntime for web
- [package] libarchive/3.7.4: openssl/3.2.1 integration issue
- [package] open62541/1.3.3: mbedtls/2.16.3 integration issue
- [package] libcurl/*: build error with sanitizers and shared linkage
- [package] tesseract/5.3.3: Build fails with MSVC debug HOT 3
- [package] boost / 1.71.0 : missing package ca891ed5c8e67ebb3e46639c100abdbca6d8b11e HOT 3
- [package] qt/6.7.0: Cross build to android fails
- [package] libwebsockets recipe validation seems like it could be broken
- [package] zstd/1.5.6: unknown warning option HOT 3
- [package] nlohmann_json/3.11.3: Requiring nlohmann_json in a library does not transitively issue required generators. HOT 5
- [package] boost/1.83.0 build failed with gcc==4.8 HOT 2
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-center-index.