Closed Telokis closed 9 months ago
Hi,
Yes, you are using some very old dependency. If you know what package you use, you should update it spec. I can help with that. Or update dep.
Hi,
Yes, you are using some very old dependency. If you know what package you use, you should update it spec. I can help with that. Or update dep.
Hello and thanks. I'll try updating the Qt and Boost dependencies in the first projet. (The code is here: https://gitlab.com/Telokis/Rayon/-/blob/master/sw.cpp?ref_type=heads)
Do you know what the issue is for the second project? It's not relying on any dependency at all, here is the sw.cpp
:
#include <iostream>
template <class T>
void handle(T& out, bool local)
{
if (local)
{
out.Private += "RUNNING_LOCALLY"_d;
}
out.CPPVersion = CPPLanguageStandard::CPP17;
out.Private += "out";
}
void build(Solution& s)
{
auto& codingame = s.addProject("codingame", "1.0.0");
auto& out = codingame.addTarget<Executable>("out");
handle(out, static_cast<bool>(s.getExternalVariables()["RUNNING_LOCALLY"]));
}
I've updated the dependencies of the main project and the Windows Kit to Windows 10 SDK (10.0.20348.0)
and I now get the following error:
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.1]/src/corelib/text/qlocale_win.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.1]/src/corelib/global/qlogging.cpp
C:\Users\Telokis\Documents\Dev\sw\storage\pkg\d7\e2\3b52\obj\bld\166637\bd\qtcore_tracepoints_p.h(3): fatal error C1189: #error: "Q_TRACEPOINT not set for the module, Q_TRACE not enabled."
command failed: exit code = 2
Total errors: 2
Below is my sw.cpp
:
// clang-format off
#define QT_VERSION "-=6.5.1"
#pragma sw require header org.sw.demo.qtproject.qt.base.tools.moc-=6.5.1
// clang-format on
void build(Solution& s)
{
auto& rayon = s.addProject("rayon");
auto& engine = rayon.addTarget<StaticLibraryTarget>("engine");
{
engine.CPPVersion = CPPLanguageStandard::CPP17;
// Files
engine.Private += "Projects/Engine/Source/.*"_rr;
engine.Private += "Projects/Engine/Include/.*"_rr;
// Dependencies
engine.Public += "pub.telokis.github.jbeder.yaml_cpp-0.6.3"_dep;
engine.Public += "org.sw.demo.boost.signals2-1.82.0"_dep;
// Include directories
engine.Public += "Projects/Engine/Include"_id;
engine.Public += "Dependencies/glm/include"_id;
engine.ApiName = "RAYON_ENGINE_API";
}
auto& cli = rayon.addTarget<ExecutableTarget>("cli");
{
cli.CPPVersion = CPPLanguageStandard::CPP17;
// Files
cli.Private += "Projects/CLI/Source/.*"_rr;
cli.Private += "Projects/CLI/Include/.*"_rr;
cli.Private += "Projects/Engine/Include/.*"_rr;
// Dependencies
cli.Private += engine;
cli.Private += "org.sw.demo.boost.filesystem-1.82.0"_dep;
cli.Private += "org.sw.demo.boost.program_options-1.82.0"_dep;
// Include directories
cli.Private += "Projects/CLI/Include/"_id;
cli.Private += "Dependencies/glm/include"_id;
}
auto& bench = rayon.addTarget<ExecutableTarget>("bench");
{
bench.CPPVersion = CPPLanguageStandard::CPP17;
// Files
bench.Private += "Projects/Bench/Source/.*"_rr;
bench.Private += "Projects/Engine/Include/.*"_rr;
// Dependencies
bench.Private += engine;
bench.Private += "pub.telokis.github.google.benchmark-1.5.0"_dep;
// Include directories
bench.Private += "Dependencies/glm/include"_id;
}
auto& gui = rayon.addTarget<ExecutableTarget>("gui");
{
gui.CPPVersion = CPPLanguageStandard::CPP17;
// Files
gui.Private += "Projects/GUI/Source/.*"_rr;
gui.Private += "Projects/GUI/Include/.*"_rr;
gui.Private += "Projects/GUI/Form/.*"_rr;
gui.Private += "Projects/GUI/Resources/.*"_rr;
gui.Private += "Projects/Engine/Include/.*"_rr;
// Dependencies
gui.Private += engine;
gui.Private += "org.sw.demo.boost.filesystem-1.82.0"_dep;
gui.Private += "org.sw.demo.qtproject.qt.base.plugins.platforms.windows" QT_VERSION ""_dep;
gui.Private += "org.sw.demo.qtproject.qt.base.widgets" QT_VERSION ""_dep;
// Include directories
gui.Private += "Projects/GUI/Include/"_id;
gui.Private += "Dependencies/glm/include"_id;
qt_moc_rcc_uic("org.sw.demo.qtproject.qt" QT_VERSION ""_dep, gui);
}
}
I need to check qt package. They changed something in their build.
Try to use += cpp20
intead of
engine.CPPVersion = CPPLanguageStandard::CPP17;
to
engine += cpp20;
Same for other targets.
It's getting better, that's the error I now have:
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.1]/src/corelib/platform/windows/qfactorycacheregistration.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.1]/src/corelib/kernel/qcoreevent.cpp
C:\Users\Telokis\Documents\Dev\sw\storage\pkg\d7\e2\3b52\obj\bld\166637\bd\qtcore_tracepoints_p.h(3): fatal error C1189: #error: "Q_TRACEPOINT not set for the module, Q_TRACE not enabled."
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.1]/src/corelib/kernel/qcoreapplication.cpp
C:\Users\Telokis\Documents\Dev\sw\storage\pkg\d7\e2\3b52\obj\bld\166637\bd\qtcore_tracepoints_p.h(3): fatal error C1189: #error: "Q_TRACEPOINT not set for the module, Q_TRACE not enabled."
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.1]/src/corelib/text/qlocale_win.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Total errors: 4
I've just fixed it. Re-run sw, it should use qt 6.5.2.
Thank you, we're making progress!
I now have this issue:
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.2]/src/corelib/kernel/qproperty.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\xsmf_control.h(34): error C2544: expected ')' for operator '()'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\xsmf_control.h(44): note: see reference to class template instantiation 'std::_Non_trivial_copy<std::_Optional_construct_base<_Ty>>' being compiled
with
[
_Ty=std::string
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\xsmf_control.h(65): note: see reference to class template instantiation 'std::_Non_trivial_move<std::_Optional_construct_base<_Ty>,_Ty>' being compiled
with
[
_Ty=std::string
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\xsmf_control.h(103): note: see reference to class template instantiation 'std::_Non_trivial_copy_assign<std::_Optional_construct_base<_Ty>,_Ty>' being compiled
with
[
_Ty=std::string
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\optional(214): note: see reference to class template instantiation 'std::_Non_trivial_move_assign<std::_Optional_construct_base<_Ty>,_Ty>' being compiled
with
[
_Ty=std::string
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\chrono(3070): note: see reference to class template instantiation 'std::optional<std::string>' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\xsmf_control.h(34): error C2610: 'std::_Non_trivial_copy<std::_Optional_construct_base<_Ty>> &std::_Non_trivial_copy<std::_Optional_construct_base<_Ty>>::operator ()(std::_Non_trivial_copy<std::_Optional_construct_base<_Ty>> &&)': is not a special member function or comparison operator which can be defaulted
with
[
_Ty=std::string
]
command failed: exit code = 2
Total errors: 1
This one is strange. Build worked for me on win. Is it the latest VS2022?
I'll clean everything and try again. It's VS2022 installed right before creating this issue, yeah.
I'm running the build and everytime I run it again, it's going a bit further. We'll see if I can end up with a full build after some time.
If you run build with sw, use -k 10
option - skip 10 errors.
Now it always output the same errors:
> sw -j8 -config r --build-name rayon build -output-dir bin
[2914/3837] [org.sw.demo.qtproject.qt.base.core-6.5.2]/src/corelib/platform/windows/qfactorycacheregistration.cpp
[2920/3837] [org.sw.demo.qtproject.qt.base.core-6.5.2]/src/corelib/text/qlocale_win.cpp
[3708/3837] [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2]/src/plugins/platforms/windows/qwindowstheme.cpp
[3743/3837] [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2]/src/plugins/platforms/windows/qwindowsintegration.cpp
[3793/3837] [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2]/src/plugins/platforms/windows/qwindowscontext.cpp
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.2]/src/corelib/platform/windows/qfactorycacheregistration.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.core-6.5.2]/src/corelib/text/qlocale_win.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2]/src/plugins/platforms/windows/qwindowsintegration.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2]/src/plugins/platforms/windows/qwindowstheme.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2]/src/plugins/platforms/windows/qwindowscontext.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include\experimental/coroutine(36): fatal error C1189: #error: The <experimental/coroutine> and <experimental/resumable> headers are only supported with /await and implement pre-C++20 coroutine support. Use <coroutine> for standard C++20 coroutines.
command failed: exit code = 2
Total errors: 5
Add -sfc
option (save failed commands).
Try to open/post bat files with errored commands.
Here is one of them:
Can you post files please? Just drag them here , it is easier.
Had to convert to zip or Github would complain it doesn't support those files.
By the way, my other project with no dependencies now works properly, thanks. Only the one relying on Qt has build issues.
Try with -sd
option. I've made a fix for qt. It seems it cannot be built in c++20 mode, only 17.
Should I revert my += cpp20
to += cpp17
, then?
Use as it was. cpp20
After removing everything and building, I got this error.
> sw -j8 -config r --build-name rayon build -output-dir bin -sd
[3827/3837] [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2].dll
[3828/3837] [rayon.gui-0.0.1]/.sw/t/166637/647289/bd/moc/7b7d8123/moc_RTColorWidget.cpp
[3829/3837] [rayon.gui-0.0.1]/.sw/t/166637/647289/bd/moc/7b7d8123/moc_MainWindow.cpp
[3830/3837] [rayon.gui-0.0.1]/.sw/t/166637/647289/bd/qrc_style.cpp
[3831/3837] C:/Users/Telokis/Documents/Dev/sw/storage/pkg/9a/2d/4aed/obj/bld/166637/bd/QWindowsIntegrationPlugin.cpp
[3832/3837] [rayon.gui-0.0.1]/Projects/GUI/Source/main.cpp
[3833/3837] [rayon.gui-0.0.1]/Projects/GUI/Source/MainWindow.cpp
[3834/3837] [rayon.gui-0.0.1]/[sw.rc]
[3835/3837] [rayon.gui-0.0.1]/Projects/GUI/Source/RTColorWidget.cpp
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2].dll
Creating library C:/Users/Telokis/Documents/Dev/sw/storage/pkg/9a/2d/4aed/obj/bld/166637/lib/org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2.lib and object C:/Users/Telokis/Documents/Dev/sw/storage/pkg/9a/2d/4aed/obj/bld/166637/lib/org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2.exp
qwindowsscreen.cpp.c13cd9a7.obj : error LNK2019: unresolved external symbol __imp_SetupDiOpenDeviceInterfaceW referenced in function "void __cdecl setMonitorDataFromSetupApi(struct QWindowsScreenData &,class std::vector<struct DISPLAYCONFIG_PATH_INFO,class std::allocator<struct DISPLAYCONFIG_PATH_INFO> > const &)" (?setMonitorDataFromSetupApi@@YAXAEAUQWindowsScreenData@@AEBV?$vector@UDISPLAYCONFIG_PATH_INFO@@V?$allocator@UDISPLAYCONFIG_PATH_INFO@@@std@@@std@@@Z)
qwindowsscreen.cpp.c13cd9a7.obj : error LNK2019: unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW referenced in function "void __cdecl setMonitorDataFromSetupApi(struct QWindowsScreenData &,class std::vector<struct DISPLAYCONFIG_PATH_INFO,class std::allocator<struct DISPLAYCONFIG_PATH_INFO> > const &)" (?setMonitorDataFromSetupApi@@YAXAEAUQWindowsScreenData@@AEBV?$vector@UDISPLAYCONFIG_PATH_INFO@@V?$allocator@UDISPLAYCONFIG_PATH_INFO@@@std@@@std@@@Z)
qwindowsscreen.cpp.c13cd9a7.obj : error LNK2019: unresolved external symbol __imp_SetupDiGetClassDevsW referenced in function "void __cdecl setMonitorDataFromSetupApi(struct QWindowsScreenData &,class std::vector<struct DISPLAYCONFIG_PATH_INFO,class std::allocator<struct DISPLAYCONFIG_PATH_INFO> > const &)" (?setMonitorDataFromSetupApi@@YAXAEAUQWindowsScreenData@@AEBV?$vector@UDISPLAYCONFIG_PATH_INFO@@V?$allocator@UDISPLAYCONFIG_PATH_INFO@@@std@@@std@@@Z)
qwindowsscreen.cpp.c13cd9a7.obj : error LNK2019: unresolved external symbol __imp_SetupDiOpenDevRegKey referenced in function "void __cdecl setMonitorDataFromSetupApi(struct QWindowsScreenData &,class std::vector<struct DISPLAYCONFIG_PATH_INFO,class std::allocator<struct DISPLAYCONFIG_PATH_INFO> > const &)" (?setMonitorDataFromSetupApi@@YAXAEAUQWindowsScreenData@@AEBV?$vector@UDISPLAYCONFIG_PATH_INFO@@V?$allocator@UDISPLAYCONFIG_PATH_INFO@@@std@@@std@@@Z)
C:\Users\Telokis\Documents\Dev\sw\storage\pkg\9a\2d\4aed\obj\bld\166637\bin\org.sw.demo.qtproject.qt.base.plugins.platforms.windows-6.5.2.dll : fatal error LNK1120: 4 unresolved externals
command failed: exit code = 1120 (0x460)
Total errors: 1
Yes, also noticed. Try again now.
Ok that compiles but I get a Segmentation fault as soon as I run the gui version, the CLI runs as expected. Maybe it's an issue on my end, I'll have to dig.
Thanks for yout help
I don't know what changed, I removed the storage and cache and built the thing once more and the GUI is now showing and working as expected.
Thank you very much for your support.
I love your tool but I admit it's a bit difficult to debug, I feel like I always need to post an issue or ask you.
This is true. I develop next version.
Describe the bug I come back to an old project several years later and the build does not work anymore.
The error I get is
Below is the full trace output
Build output
``` > sw -j8 -config r --build-name rayon build -output-dir bin -trace ---------------------------------------- Starting sw... version: sw.client.sw version 1.0.0 git revision 30611200c2168a3ca7f9d888c11ba375b4667d07 assembled on 13.06.2023 21:33:07 UTC 13.06.2023 23:33:07 Romance Daylight Time command line: C:\Users\Telokis\Documents\Dev\bin\sw.exe -j8 -config r --build-name rayon build -output-dir bin -trace Host configuration: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Registering driver: org.sw.sw.driver.cpp-0.4.1 using sw frontend for input "C:/Users/Telokis/Documents/Dev/Git/Rayon\\sw.cpp" build id 000001DE68453840 performing void __cdecl sw::SwBuild::loadInputs(void) from file "C:/Users/Telokis/Documents/Dev/Git/Rayon\\sw.cpp" requested org.sw.demo.qtproject.qt.base.tools.moc-5.15.0.0 Detected target: com.Microsoft.VisualStudio.VC.cl-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\cl.exe Detected target: msvc-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.link-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\link.exe Detected target: com.Microsoft.VisualStudio.VC.lib-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\lib.exe Detected target: com.Microsoft.VisualStudio.VC.ml-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\ml64.exe Detected target: com.Microsoft.VisualStudio.VC.dumpbin-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\dumpbin.exe Detected target: com.Microsoft.VisualStudio.VC.libcpp-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.ATLMFC-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.concrt-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.runtime-19.36.32537: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.cl-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\cl.exe Detected target: com.Microsoft.VisualStudio.VC.link-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\link.exe Detected target: com.Microsoft.VisualStudio.VC.lib-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\lib.exe Detected target: com.Microsoft.VisualStudio.VC.ml-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\ml.exe Detected target: com.Microsoft.VisualStudio.VC.dumpbin-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\dumpbin.exe Detected target: com.Microsoft.VisualStudio.VC.libcpp-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.ATLMFC-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.concrt-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.runtime-19.36.32537: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} detectMsvcCommon: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\Hostx64\\arm\\cl.exe" does not exists detectMsvcCommon: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\Hostx64\\arm64\\cl.exe" does not exists Detecting msvc 14 and older Found VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ Use VS140COMNTOOLS as "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0" Detected target: com.Microsoft.VisualStudio.VC.cl-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe Detected target: msvc-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.link-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe Detected target: com.Microsoft.VisualStudio.VC.lib-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\lib.exe Detected target: com.Microsoft.VisualStudio.VC.ml-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\ml64.exe Detected target: com.Microsoft.VisualStudio.VC.dumpbin-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\dumpbin.exe Detected target: com.Microsoft.VisualStudio.VC.libcpp-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.concrt-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.runtime-19.0.24210: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.cl-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe Detected target: com.Microsoft.VisualStudio.VC.link-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\link.exe Detected target: com.Microsoft.VisualStudio.VC.lib-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\lib.exe Detected target: com.Microsoft.VisualStudio.VC.ml-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\ml.exe Detected target: com.Microsoft.VisualStudio.VC.dumpbin-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\dumpbin.exe Detected target: com.Microsoft.VisualStudio.VC.libcpp-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.concrt-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.runtime-19.0.24210: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.cl-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_arm\cl.exe Detected target: com.Microsoft.VisualStudio.VC.link-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_arm\link.exe Detected target: com.Microsoft.VisualStudio.VC.lib-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_arm\lib.exe Detected target: com.Microsoft.VisualStudio.VC.dumpbin-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_arm\dumpbin.exe Detected target: com.Microsoft.VisualStudio.VC.libcpp-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.concrt-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.VisualStudio.VC.runtime-19.0.24210: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Found Windows Kit 10.0.10240.0 at C:/Program Files (x86)/Windows Kits/10 Detected target: com.Microsoft.Windows.SDK.ucrt-10.0.10240.0: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.ucrt-10.0.10240.0: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.ucrt-10.0.10240.0: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.ucrt-10.0.10240.0: {"os":{"arch":"aarch64","kernel":"com.Microsoft.Windows.NT"}} Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\um" not found for library: um Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\km" not found for library: km Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\winrt" not found for library: winrt Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\cppwinrt" not found for library: cppwinrt Found Windows Kit 10.0.17763.0 at C:/Program Files (x86)/Windows Kits/10 Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.17763.0\\ucrt" not found for library: ucrt Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.17763.0\\um" not found for library: um Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.17763.0\\km" not found for library: km Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.17763.0\\winrt" not found for library: winrt Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.17763.0\\cppwinrt" not found for library: cppwinrt Found Windows Kit 10.0.19041.0 at C:/Program Files (x86)/Windows Kits/10 Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\ucrt" not found for library: ucrt Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\um" not found for library: um Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\km" not found for library: km Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\winrt" not found for library: winrt Include dir "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.19041.0\\cppwinrt" not found for library: cppwinrt Found Windows Kit 8.1 at C:/Program Files (x86)/Windows Kits/8.1 Detected target: com.Microsoft.Windows.rc-6.3.9600.17336: {"os":{"kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe Detected target: com.Microsoft.Windows.mc-1.12.9600: {"os":{"kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mc.exe Detected target: com.Microsoft.Windows.SDK.um-8.1.0: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.um-8.1.0: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.um-8.1.0: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Libdir "C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\arm64" not found for library: um Include dir "C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\km" not found for library: km Found Windows Kit 8.1 at C:/Program Files (x86)/Windows Kits/8.1 Detected target: com.Microsoft.Windows.rc-6.3.9600.17336: {"os":{"kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe Detected target: com.Microsoft.Windows.mc-1.12.9600: {"os":{"kernel":"com.Microsoft.Windows.NT"}} Detected program: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mc.exe Detected target: com.Microsoft.Windows.SDK.um-8.1.0: {"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.um-8.1.0: {"os":{"arch":"x86","kernel":"com.Microsoft.Windows.NT"}} Detected target: com.Microsoft.Windows.SDK.um-8.1.0: {"os":{"arch":"arm","kernel":"com.Microsoft.Windows.NT"}} Libdir "C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\arm64" not found for library: um Include dir "C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\km" not found for library: km build id 000001DE683E5CE0 overriding state from 0 to 3 build id 000001DE683E5CE0 performing void __cdecl sw::SwBuild::loadPackages(void) build id 000001DE683E5CE0 void __cdecl sw::SwBuild::loadPackages(const struct sw::TargetMap &) round 1 Exception in file D:/dev/cppan2/client2/src/sw/core/build.cpp:594, function loadPackages: loc.sw.self.4bc271-0.0.31: {"native":{"configuration":"releasewithdebuginformation","library":"static","mt":"false","program":{"asm":"com.Microsoft.VisualStudio.VC.ml-19.36.32537","c":"com.Microsoft.VisualStudio.VC.cl-19.36.32537","cpp":"com.Microsoft.VisualStudio.VC.cl-19.36.32537","lib":"com.Microsoft.VisualStudio.VC.lib-19.36.32537","link":"com.Microsoft.VisualStudio.VC.link-19.36.32537"},"stdlib":{"c":"com.Microsoft.Windows.SDK.ucrt-10.0.10240.0","cpp":"com.Microsoft.VisualStudio.VC.libcpp-19.36.32537","kernel":"com.Microsoft.Windows.SDK.um-8.1.0"}},"os":{"arch":"x86_64","kernel":"com.Microsoft.Windows.NT"}}: No target resolved: pub.egorpugin.primitives.hash-master ```Expected behavior Everything was working fine last time so I expected things to still work today.
To Reproduce I'm not so sure.
Information:
`sw --version`
``` > sw --version sw.client.sw version 1.0.0 git revision 30611200c2168a3ca7f9d888c11ba375b4667d07 assembled on 13.06.2023 21:33:07 UTC 13.06.2023 23:33:07 Romance Daylight Time ```OS is Windows 10 targeting Windows 10 The compiler: I had MSVC 2019 but uninstalled it to switch to MSVC 2022 community. 17.6.5, according to the installer.