"fatal error C1060: compiler is out of heap space" for lib/edgepaint/lab_gamut.c

I have to call it a day here now, but I just wanted to mention that I’ve managed to compile it using HostX86 (32-bit) (but not using HostX64 (64-bit mode)) here: Pipeline · Magnus Jacobsson / graphviz · GitLab.

In these jobs I’m not using msbuild, but the MSVC compiler (cl) directly.

Exactly what I did to get there, I’m going to backtrack tomorrow, since unfortunately, in the latest series of commits leading up to this working one, I used only HostX64 so it’s going to take some bisecting. I’m not even sure that I’m compiling it in a way that is usable in the appropriate context. I also have to find out how to make msbuild set the cl options to what I’ve manually set them here.

Worth noting is also that this version is using a plain array with 1000 data points per row, not an array of structs with one struct per row, but I don’t know if this is necessary or not. In solitude, that didn’t help anyway.

1 Like