Title: MSVC: Enabling /Z7 compiler flag triggers fatal Linker error LNK1248 when creatingg IfcGeom.lib · Issue #7461 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: MSVC: Enabling /Z7 compiler flag triggers fatal Linker error LNK1248 when creatingg IfcGeom.lib · Issue #7461 · IfcOpenShell/IfcOpenShell
X Title: MSVC: Enabling /Z7 compiler flag triggers fatal Linker error LNK1248 when creatingg IfcGeom.lib · Issue #7461 · IfcOpenShell/IfcOpenShell
Description: Bug Description As in the title: Seems building IfcGeom.lib with all schemas using MSVC2022 and the /Z7 debug information format switch triggers the mentioned LNK1248 error. I guess its because of the huge amount of debug info written, t...
Open Graph Description: Bug Description As in the title: Seems building IfcGeom.lib with all schemas using MSVC2022 and the /Z7 debug information format switch triggers the mentioned LNK1248 error. I guess its because of ...
X Description: Bug Description As in the title: Seems building IfcGeom.lib with all schemas using MSVC2022 and the /Z7 debug information format switch triggers the mentioned LNK1248 error. I guess its because of ...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7461
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MSVC: Enabling /Z7 compiler flag triggers fatal Linker error LNK1248 when creatingg IfcGeom.lib","articleBody":"### Bug Description\n\nAs in the title:\nSeems building IfcGeom.lib with all schemas using MSVC2022 and the /Z7 debug information format switch triggers the mentioned LNK1248 error. I guess its because of the huge amount of debug info written, this breaks the librarian when using /Z7 debug info format.\nBTW: Commit e02d6c3f4b66952f39796485b2d12e95a8972164 introduced the /Z7 switch when cccache is used.\n\nI temporary disabled the responsible line in the main CMakeLists.txt and was able to successfully build IfcGeom.lib again ( VS2022 )\n\nSee more\n[https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1248?view=msvc-170](url)\n\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\nwhen VS 2022 creates IfcGeom.lib or one of the dependent mapping.lib etc, the following error occurs\n\n\"fatal error LNK1248: image size (1002D678E)\" ","author":{"url":"https://github.com/FrogsInSpace","@type":"Person","name":"FrogsInSpace"},"datePublished":"2025-12-08T09:21:34Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7461"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed9c6914-da95-17ab-f550-11c88186c811 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A02:19B98B:A14442:E1D6AC:6B048A20 |
| html-safe-nonce | b11175edf7775545914fa2fd46ebd4a4ddc779d5eb0f10f9cb95bd364b5a23f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTAyOjE5Qjk4QjpBMTQ0NDI6RTFENkFDOjZCMDQ4QTIwIiwidmlzaXRvcl9pZCI6IjkxMDUyNjk0MzkyNDA5NTUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a500c8c6bb13c04d13c4098b53fc414801047a9fe65ea16e10454b18327108d3 |
| hovercard-subject-tag | issue:3705449202 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/7461/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7beb4436a903994bfff4a623f696ba04949abd1ed14c0ede7418339ecd80d624/IfcOpenShell/IfcOpenShell/issues/7461 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7beb4436a903994bfff4a623f696ba04949abd1ed14c0ede7418339ecd80d624/IfcOpenShell/IfcOpenShell/issues/7461 |
| og:image:alt | Bug Description As in the title: Seems building IfcGeom.lib with all schemas using MSVC2022 and the /Z7 debug information format switch triggers the mentioned LNK1248 error. I guess its because of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FrogsInSpace |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width