Build issues with CMake on Windows #4569
Replies: 2 comments 2 replies
-
yes, This is a new issue since we migrate to shared library to avoid ODR violation inside protobuf. |
Beta Was this translation helpful? Give feedback.
-
One possible solution is to split the full lib into multiple smaller libraries then link those into the final executable (full_lib1.lib, full_lib2.lib, etc.). I don't know how inconvenient that would be for consumers of that library. But it kind of misses the point of combining In the end, consumers might as well use the libs above instead of the full_lib. |
Beta Was this translation helpful? Give feedback.
-
Hello,
We are having build issues for v9.12 on Windows (Release config). During the install step (copied from here), we receive the following error:
LINK : fatal error LNK1189: library limit of 65535 objects exceeded
Would you have an idea of what's wrong?
(FYI, there is no issue with v9.11)
Thank you for your help,
Peter
PS : when in Debug config, the same error happens during the build step
PS2 : here is an example action : https://github.com/rte-france/or-tools-rte/actions/runs/13544721374/job/37853478668
Beta Was this translation helpful? Give feedback.
All reactions