Skip to content

CMake: Windows: VS Community 2022 can't build or-tools anymore (cl.exe fatal error C1001) #3807

@Mizux

Description

@Mizux

When using Visual Studio Community 2022 (17.6.2) or-tools main branch fails to build...

Here trace example:

4758 "D:\a\or-tools\or-tools\build\ALL_BUILD.vcxproj" (default target) (1) ->
4759 "D:\a\or-tools\or-tools\build\ortools\glop\ortools_glop.vcxproj" (default target) (76) ->
4760 (ClCompile target) -> 
4761 D:\a\or-tools\or-tools\build\_deps\absl-src\absl\container\internal\compressed_tuple.h(88):
    fatal  error C1001: Internal compiler error. [D:\a\or-tools\or-tools\build\ortools\glop\ortools_glop.vcxproj]
4762 cl : command line  error D8040: error creating or communicating with child process
    [D:\a\or-tools\or-tools\build\ortools\glop\ortools_glop.vcxproj]
4763
4764 13 Warning(s)
4765 2 Error(s)

ref: https://github.com/google/or-tools/actions/runs/5132839527/jobs/9234655226

TLDR: Need to bump to Visual Studio Community 17.7.0 or use the Enterprise version

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions