I am unable to build without errors in Windows 11 using VS2022 #5
-
I am working in Windows 11 with VS2022. I am using the build --vs2022 command and the build fails. All of the standard MethaneKit examples work fine. I have attached the logs. Where did I go wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hello @RallyTronics , sorry for late response (I did not notice your question in time). Please try to build the latest version again with script |
Beta Was this translation helpful? Give feedback.
-
Build.log |
Beta Was this translation helpful? Give feedback.
-
The attached |
Beta Was this translation helpful? Give feedback.
-
Build.log |
Beta Was this translation helpful? Give feedback.
-
As I see in Build.log, CMake configure fails with error “download path exceeds the OS max path limit. The fully qualified file name must be less than 260 characters”. So I suggest you trying to switch off Windows path limit, it can be done with the following command run from Administrator PowerShell: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force |
Beta Was this translation helpful? Give feedback.
-
Getting further looks like I am missing the
|
Beta Was this translation helpful? Give feedback.
As I see in Build.log, CMake configure fails with error “download path exceeds the OS max path limit. The fully qualified file name must be less than 260 characters”. So I suggest you trying to switch off Windows path limit, it can be done with the following command run from Administrator PowerShell: