AC0792

Results 18 comments of AC0792

[log.txt](https://github.com/SoftwareNetwork/sw/files/9296540/log.txt) Used command : /c/Qt/Qt5.15.3/Tools/CMake_64/bin/cmake.exe .. -G "Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=inst -DSW_BUILD=1 --trace-redirect=log.txt

[sw_command.txt](https://github.com/SoftwareNetwork/sw/files/9298508/sw_command.txt) Command : D:/Sindri_Project/UserStories/sw-master-windows-client/sw.exe -static -platform x64 -compiler msvc-19.16 -d D:/Sindri_Project/UserStories/leptonica/build/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps D:/Sindri_Project/UserStories/leptonica/build/.sw/cmake/sw.txt -cmake-file-version 6 --trace Collected in file

main.cpp Note: including file: c:\LegacyApp\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\include\iostream Note: including file: c:\LegacyApp\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\include\istream Note: including file: c:\LegacyApp\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\include\ostream Note: including file: c:\LegacyApp\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\include\ios Note: including file: c:\LegacyApp\Microsoft Visual...

![image](https://user-images.githubusercontent.com/110928247/183868221-80fb0e6c-6d7b-40d6-b2ca-45e202ba7ac9.png) Language is English (United States) MSVC 19.xx , I have not installed , it does not show in C drive as well. Even I confirmed in logs

I use Qt Creator and Build Enviroment is setup with MSVC 19. but the compiler we use is C++ 14.16.27023 , to compile and build Application.

Tried the above binary. here is the output for the above command [sw_command1.txt](https://github.com/SoftwareNetwork/sw/files/9299265/sw_command1.txt) .

I have deleted old build directory, and set SW_EXECUTABLE with above binary ![image](https://user-images.githubusercontent.com/110928247/183883117-9a7345cd-7013-44b9-92b7-0cf92185d561.png) Used the this sw executable

[Sw_command2.txt](https://github.com/SoftwareNetwork/sw/files/9299424/Sw_command2.txt) Command : ../../sw.client.sw-1.0.0.exe/sw.client.sw-1.0.0.exe -static -platform x64 -compiler msvc-19.16 -d D:/Sindri_Project/UserStories/leptonica/build/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps D:/Sindri_Project/UserStories/leptonica/build/.sw/cmake/sw.txt -cmake-file-version 6 --trace

Exception in file D:\dev\cppan2\client2\src\sw\driver\compiler\compiler.cpp:41, function get_msvc_prefix: Cannot find msvc prefix for: C:/LegacyApp/Microsoft Visual Studio/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/ml64.exe is this something related to new preprocessor overview (https://docs.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview?view=msvc-170) how can we avoid that ?

Exception in file D:\dev\cppan2\client2\src\sw\builder\command.cpp:840, function execute1: When executing: [org.sw.sw.client.driver.cpp.cl_generator-0.4.5]/src/sw/driver/tools/cl_generator.cpp c:\users\uie54918\.sw\storage\pkg\09\6e\9b67\src\sdir\src\templates\include\primitives\templates.h(10): fatal error C1083: Cannot open include file: 'ranges': No such file or directory command failed: exit code = 2 Exception...