Bem, tem duas horas que estou tentando e está dando isso na hora de rodar o MakeMSVC.bat:
`C:\Users\loja\Documents\NFe\cpp\nfe_pPDT\includes\utility>MakeMSVC.bat
'"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat"' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "C:/Users/loja/Documents/NFe/cpp/nfe_pPDT/includes/utility/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/loja/Documents/NFe/cpp/nfe_pPDT/includes/utility/build/CMakeFiles/CMakeError.log".
ninja: error: loading 'build.ninja': O sistema não pode encontrar o arquivo especificado.
ninja: error: loading 'build.ninja': O sistema não pode encontrar o arquivo especificado.
O sistema não pode encontrar o arquivo especificado.
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "C:/Users/loja/Documents/NFe/cpp/nfe_pPDT/includes/utility/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/loja/Documents/NFe/cpp/nfe_pPDT/includes/utility/build/CMakeFiles/CMakeError.log".
ninja: error: loading 'build.ninja': O sistema não pode encontrar o arquivo especificado.
ninja: error: loading 'build.ninja': O sistema não pode encontrar o arquivo especificado.`
/EDITADO/
Depois de instalar o Visual Studio com a Carga de Trabalho de Desenvolvimento para desktop c++ ele funcionou o vcvarsall.bat aí ele continuou a compilação, porém o ninja continua dando o mesmo erro.
Não sei se são erros mas deu isto:
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
E teve ista no final:
`-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Could NOT find Qt6Charts (missing: Qt6Charts_DIR)
CMake Error at CMakeLists.txt:13 (find_package):
Found package configuration file:
C:/Qt/6.4.1/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find required Qt component "Charts".
Expected Config file at
"C:/Qt/6.4.1/msvc2019_64/lib/cmake/Qt6Charts/Qt6ChartsConfig.cmake" does
NOT exist
Configuring with --debug-find-pkg=Qt6Charts might reveal details why the
package was not found.
Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
-- Configuring incomplete, errors occurred!`