vsaint1 / cs2-infestation

Free and open-source kernel/usermode external cheetos for CS2
49 stars 2 forks source link

cant find zlib #17

Open Jerrynh770 opened 4 months ago

Jerrynh770 commented 4 months ago

When I run build.bat it throw this error

conanfile.txt: CMakeToolchain generated: CMakePresets.json conanfile.txt: CMakeToolchain generated: ..\..\CMakeUserPresets.json conanfile.txt: Generating aggregated env files conanfile.txt: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat'] Install finished successfully Building in progress -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22631. CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.29/Modules/FindZLIB.cmake:199 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:26 (find_package)

Jerrynh770 commented 4 months ago

image

vsaint1 commented 4 months ago

I never had this issue with conan, but you can remove zlib dependency if u want. also since conan had an update on glfw3 tomorrow i'll push an update with glfw/3.4 dependency managed by conan.

vsaint1 commented 4 months ago

i installed zlib to compress things but atm not using, you can remove for now.

sourabhbeni commented 4 months ago

fixed zlib issue not able to fix this other by adding path

Install finished successfully Building in progress -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26058. CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.29/Modules/FindZLIB.cmake:199 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:26 (find_package)

edit : i manully added path in cmake-gui now

Install finished successfully Building in progress -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26058. CMake Error at CMakeLists.txt:27 (find_package): By not providing "Findspdlog.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "spdlog", but CMake did not find one.

Could not find a package configuration file provided by "spdlog" with any of the following names:

spdlogConfig.cmake spdlog-config.cmake

Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set "spdlog_DIR" to a directory containing one of the above files. If "spdlog" provides a separate development package or SDK, be sure it has been installed.

vsaint1 commented 4 months ago

1 - remove the zlib if not building. 2 - main issue is cause by cant find this folder image

can you set CMAKE_TOOLCHAIN_FILE to the exactly conan_toolchain.cmake path? image