Giter VIP home page Giter VIP logo

Comments (3)

SpaceIm avatar SpaceIm commented on June 12, 2024 1
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.

Codinablack avatar Codinablack commented on June 12, 2024 1

@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.

uilianries avatar uilianries commented on June 12, 2024

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)

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.