microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.74k stars 6.29k forks source link

[json-c] Build error #39934

Closed imagine555 closed 1 week ago

imagine555 commented 1 month ago

Package: openssl:x64-windows@3.3.1#1

Host Environment

To Reproduce

vcpkg install tesseract:x64-windows

Failure logs

-- Using cached openssl-openssl-openssl-3.3.1.tar.gz.
-- Cleaning sources at F:/vpckg/buildtrees/openssl/src/nssl-3.3.1-1ae1909b44.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source F:/vpckg/downloads/openssl-openssl-openssl-3.3.1.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.patch
-- Applying patch asm-armcap.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at F:/vpckg/buildtrees/openssl/src/nssl-3.3.1-1ae1909b44.clean
-- Found external ninja('1.10.2').
-- Getting CMake variables for x64-windows
-- Getting CMake variables for x64-windows
-- Prerunning x64-windows-dbg
-- Building x64-windows-dbg
-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: "E:/software/visual studio/2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=ON
    Working Directory: F:/vpckg/buildtrees/openssl/x64-windows-dbg
    See logs for more information:
      F:\vpckg\buildtrees\openssl\install-x64-windows-dbg-nmake-out.log
      F:\vpckg\buildtrees\openssl\install-x64-windows-dbg-nmake-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_nmake.cmake:156 (vcpkg_execute_build_process)
  ports/openssl/windows/portfile.cmake:74 (vcpkg_build_nmake)
  ports/openssl/portfile.cmake:69 (include)
  scripts/ports.cmake:192 (include)
F:\vpckg\buildtrees\openssl\install-x64-windows-dbg-nmake-err.log ``` cl: 命令行 warning D9025 :正在重写“/Zi”(用“/Z7”) NMAKE : fatal error U1077: Ą°"E:\software\visual studio\2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe"Ąą: ˇľťŘ´úÂ륰0x2Ąą Stop. NMAKE : fatal error U1077: Ą°"E:\software\visual studio\2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe"Ąą: ˇľťŘ´úÂ륰0x2Ąą Stop. ```
F:\vpckg\buildtrees\openssl\install-x64-windows-dbg-nmake-out.log ``` "E:\software\visual studio\2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe" /LU depend "E:\software\visual studio\2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe" /LU _build_libs "E:\software\visual studio\2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe" /Zi /Fdossl_static.pdb /Gs0 /GF /Gy /MDd -nologo -DWIN32 -D_WINDOWS -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1 -I"crypto" -I"." -I"include" -I"providers\common\include" -I"providers\implementations\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"F:\\vpckg\\packages\\openssl_x64-windows\\debug\"" -D"ENGINESDIR=\"F:\\vpckg\\packages\\openssl_x64-windows\\debug\\lib\\engines-3\"" -D"MODULESDIR=\"F:\\vpckg\\packages\\openssl_x64-windows\\debug\\bin\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"DEBUG" -D"_DEBUG" -DAES_ASM -DBSAES_ASM -DCMLL_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_USE_APPLINK -DPADLOCK_ASM -DPOLY1305_ASM -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DX25519_ASM -c /Focrypto\libcrypto-shlib-cversion.obj "crypto\cversion.c" cversion.c crypto\cversion.c(60): warning C4129: “V”: 不可识别的字符转义序列 crypto\cversion.c(60): warning C4129: “T”: 不可识别的字符转义序列 crypto\cversion.c(60): warning C4129: “M”: 不可识别的字符转义序列 crypto\cversion.c(60): warning C4129: “H”: 不可识别的字符转义序列 crypto\cversion.c(60): warning C4129: “c”: 不可识别的字符转义序列 crypto\cversion.c(60): error C2143: 语法错误: 缺少“;”(在“常数”的前面) crypto\cversion.c(60): error C2143: 语法错误: 缺少“;”(在“字符串”的前面) ```
sfhacker commented 1 month ago

Are we in The Matrix?

StarGate-One commented 1 month ago

Try putting vcpkg in a directory without spaces and special characters? You may also need to install the Visual Studio English Language Pack?

SudheerDS1994 commented 1 month ago

Package: cuda:x64-windows@10.1#13

Host Environment

To Reproduce

vcpkg install darknet[full]:x64-windows

Failure logs


-- Executing NVCC-NOTFOUND --version resulted in error: 1
CMake Error at ports/cuda/vcpkg_find_cuda.cmake:69 (message):
  Could not find CUDA.  Before continuing, please download and install CUDA
  (v10.1.0 or higher) from:

      https://developer.nvidia.com/cuda-downloads

Call Stack (most recent call first):
  ports/cuda/portfile.cmake:9 (vcpkg_find_cuda)
  scripts/ports.cmake:192 (include)
StarGate-One commented 1 month ago

Download and install the correct version of CUDA as stated in the message?

github-actions[bot] commented 3 weeks ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.