Em 03/02/2025 em 23:08, ShadBill disse:dando esse erro na hora de compilar, alguém ajuda:
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message): Command failed: C:/vcpkg/downloads/tools/msys2/2db36fb050d01f45/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 ./../src/nssl-3.4.0-821e8e5bdc.clean/vcpkg/configure \"C:/vcpkg/downloads/tools/msys2/ac114c4abb18a79f/usr/bin/perl.exe\" \"C:/vcpkg/buildtrees/openssl/src/nssl-3.4.0-821e8e5bdc.clean/Configure\" \"linux-x32\" \"enable-static-engine\" \"enable-capieng\" \"no-tests\" \"no-docs\" \"no-shared\" \"no-module\" \"no-apps\" \"threads\" \"no-engine\" \"no-asm\" \"no-sse2\" \"no-srtp\" \"--cross-compile-prefix=\" \"--openssldir=/etc/ssl\" \"--libdir=lib\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--debug\" \"--prefix=/C/Users/ShadowBill/Documents/Otclient Web/otclient-browser/otclient-browser/build/vcpkg_installed/wasm32-emscripten/debug\"" Working Directory: C:/vcpkg/buildtrees/openssl/wasm32-emscripten-dbg Error code: 255 See logs for more information: C:\vcpkg\buildtrees\openssl\config-wasm32-emscripten-dbg-err.log Call Stack (most recent call first): scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process) buildtrees/versioning_/versions/openssl/ce504a83eb9627d54f1cffdb497a6bf5bd970d18/unix/portfile.cmake:105 (vcpkg_configure_make) buildtrees/versioning_/versions/openssl/ce504a83eb9627d54f1cffdb497a6bf5bd970d18/portfile.cmake:72 (include) scripts/ports.cmake:196 (include) error: building openssl:wasm32-emscripten failed with: BUILD_FAILED See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information. Elapsed time to handle openssl:wasm32-emscripten: 7.9 s Please ensure you're using the latest port files with `git pull` and `vcpkg update`. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openssl You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[openssl]+Build+error+on+wasm32-emscripten&body=Copy%20issue%20body%20from%20C%3A%2FUsers%2FAShadowBill%2FDocuments%2FOtclient%20Web%2Fotclient-browser%2Fotclient-browser%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md -- Running vcpkg install - failed CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message): vcpkg install failed. See logs for more information: C:\Users\ShadowBill\Documents\Otclient Web\otclient-browser\otclient-browser\build\vcpkg-manifest-install.log Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include) CMakeLists.txt:32 (project) -- Configuring incomplete, errors occurred!
Também tive problema com o openssl e o que resolveu pra mim foi a parte do NINJA no Path, como está no guia.
Crie a variável NINJA apontando para a pasta do ninja e inclua %NINJA% dentro da variável path.