Ошибка при сборке зависимостей через conan

Столкнулся с проблемой, при запуске сборки зависимостей через Conan - nasm падает при сборке.

Собираю так:

conan install ../conanfile.txt --settings arch=x86 --settings arch_build=x86 --build=missing 
cmake -G "Visual Studio 15 2017" .. -DCMAKE_BUILD_TYPE=Release -DPODOFO_BUILD_SHARED=FALSE -DPODOFO_USE_VISIBILITY=1 -DPODOFO_NO_FONTMANAGER=True -DPODOFO_BUILD_LIB_ONLY=True
cmake --build .

Получаю такой лог:

Ошибка в синтаксисе команды.
Системе не удается найти указанный путь.
Configuration:
[settings]
arch=x86
arch_build=x86
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=15
os=Windows
os_build=Windows
[options]
[build_requires]
[env]

nasm/2.15.05: WARN: Package binary is corrupted, removing: 63c5d5dc6eb958dab897e143053e17f583d55879
conanfile.txt: Installing package
Requirements
    base64/0.4.0 from 'conancenter' - Cache
    brotli/1.0.9 from 'conancenter' - Cache
    bzip2/1.0.8 from 'conancenter' - Cache
    freetype/2.11.0 from 'conancenter' - Cache
    gtest/1.11.0 from 'conancenter' - Cache
    libpng/1.6.37 from 'conancenter' - Cache
    nlohmann_json/3.10.4 from 'conancenter' - Cache
    openssl/3.0.0 from 'conancenter' - Cache
    plog/1.1.5 from 'conancenter' - Cache
    taywee-args/6.2.7 from 'conancenter' - Cache
    zlib/1.2.11 from 'conancenter' - Cache
Packages
    base64/0.4.0:2bb76c9adac7b8cd7c5e3b377ac9f06934aba606 - Cache
    brotli/1.0.9:2bb76c9adac7b8cd7c5e3b377ac9f06934aba606 - Cache
    bzip2/1.0.8:0fa880d31f75ffcceb062f3d6783945906520aed - Cache
    freetype/2.11.0:9d6ad7d48d4d2bf0acb08b9ac33ee0d97e634195 - Cache
    gtest/1.11.0:2893186b76cf7d51ae0cc3b826403b30472d4606 - Cache
    libpng/1.6.37:7e8a0cbeb1a716149b4462396e34d330cc712ede - Cache
    nlohmann_json/3.10.4:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    openssl/3.0.0:b02659d133a8131c5433777813f6385a05a7ae8a - Build
    plog/1.1.5:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    taywee-args/6.2.7:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    zlib/1.2.11:2bb76c9adac7b8cd7c5e3b377ac9f06934aba606 - Cache
Build requirements
    nasm/2.15.05 from 'conancenter' - Cache
    strawberryperl/5.30.0.1 from 'conancenter' - Cache
Build requirements packages
    nasm/2.15.05:63c5d5dc6eb958dab897e143053e17f583d55879 - Build
    strawberryperl/5.30.0.1:11e6a84a7894f41df553e7c92534c3bf26896802 - Cache

Installing (downloading, building) binaries...
base64/0.4.0: Already installed!
brotli/1.0.9: Already installed!
bzip2/1.0.8: Already installed!
bzip2/1.0.8: Appending PATH environment variable: C:\Users\Depish\.conan\data\bzip2\1.0.8\_\_\package\0fa880d31f75ffcceb062f3d6783945906520aed\bin
gtest/1.11.0: Already installed!
nlohmann_json/3.10.4: Already installed!
plog/1.1.5: Already installed!
strawberryperl/5.30.0.1: Already installed!
strawberryperl/5.30.0.1: Appending PATH environment variable: C:\.conan\d12a51\1\bin
strawberryperl/5.30.0.1: Appending PATH environment variable: C:\.conan\d12a51\1\bin
taywee-args/6.2.7: Already installed!
zlib/1.2.11: Already installed!
libpng/1.6.37: Already installed!
nasm/2.15.05: Applying build-requirement: strawberryperl/5.30.0.1
nasm/2.15.05: WARN: Build folder is dirty, removing it: C:\Users\Depish\.conan\data\nasm\2.15.05\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879
nasm/2.15.05: Copying sources to build folder
nasm/2.15.05: Building your package in C:\Users\Depish\.conan\data\nasm\2.15.05\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879
nasm/2.15.05: Generator txt created conanbuildinfo.txt
nasm/2.15.05: Aggregating env generators
nasm/2.15.05: Calling build()
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.41
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86'

Служебная программа обслуживания программ Microsoft (R), версия 14.16.27045.0
(C) Корпорация Майкрософт (Microsoft Corporation).  Все права защищены.

        cl /c -O2 -Ob2 -MD -nologo /I. /I.  /I./include /I./include  /I./x86 /I./x86  /I./asm /I./asm  /I./disasm /I./disasm  /I./output /I./output /Foasm\nasm.obj asm\nasm.c
nasm.c
./include\compiler.h(79): fatal error C1083: Не удается открыть файл включение: inttypes.h: No such file or directory,
NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.EXE" : возвращенный код "0x2"
Stop.
nasm/2.15.05:
nasm/2.15.05: ERROR: Package '63c5d5dc6eb958dab897e143053e17f583d55879' build failed
nasm/2.15.05: WARN: Build folder C:\Users\Depish\.conan\data\nasm\2.15.05\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879
ERROR: nasm/2.15.05: Error in build() method, line 76
        self._build_vs()
while calling '_build_vs', line 48
        self.run("nmake /f {} {}".format(os.path.join("Mkfiles", "msvc.mak"), " ".join("{}=\"{}\"".format(k, v) for k, v in autotools.vars.items())))
        ConanException: Error 2 while executing nmake /f Mkfiles\msvc.mak CPPFLAGS="-IC:\.conan\d12a51\1\include -DNDEBUG" CXXFLAGS="-O2 -Ob2 -MD -nologo" CFLAGS="-O2 -Ob2 -MD -nologo" LDFLAGS="" LIBS=""
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19043.
CMake Warning at CMakeLists.txt:13 (message):
  The file conanbuildinfo.cmake doesn't exist, you have to run conan install
  first


CMake Deprecation Warning at 3rdparty/podofo-0.9.7/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 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.


WANT_LIB64 unset; assuming normal library directory names
Will install libraries to C:/Program Files (x86)/KznModern/lib
CMake Error at C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  3rdparty/podofo-0.9.7/cmake/modules/FindZLIB.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  3rdparty/podofo-0.9.7/CMakeLists.txt:324 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "D:/R7Office/Projects_win/KznModern/build/CMakeFiles/CMakeOutput.log".
See also "D:/R7Office/Projects_win/KznModern/build/CMakeFiles/CMakeError.log".
Microsoft (R) Build Engine версии 15.9.21+g9802d43bc3 для .NET Framework
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

MSBUILD : error MSB1009: файл проекта не существует.
Ключ: ALL_BUILD.vcxproj

После падения nasm не создается conanbuildinfo.cmake и дальнейшие ошибки.. но это не так важно. Как собрать без ошибок? из-за чего падает nasm?


Ответы (0 шт):