I believe I’ve identified the root cause of the issue. Some attributes appear to be file offsets, and when the file size exceeds 4 GB, these offsets may also exceed 4 GB. In the OAS parsing process, using unsigned long to parse variable-length numbe…
I found that this OAS file can be loaded successfully on Linux, but the same file causes an overflow error on Windows. Considering that the Linux version of KLayout was not built with --with-64bit-coord, could it mean that the issue is unrelated to …
I tried building pymod from source on Windows and added ("HAVE_64BIT_COORD", 1) to the macros section in setup.py, but it seems MSVC does not support __int128. Should i use msys2 instread ? or setup.py is used only for msvc2017? Thanks!
Thank you for your reply. I'm using a 64-bit binary with 32-bit coordinates. In the source code, I found this line:
ReaderException(tl::sprintf(tl::to_string(tr("%s (position=%ld, cell=%s), in file: %s")), msg, p, cell, source));
Here, p…