René's URL Explorer Experiment


Title: HDF5 linker issues with Visual Studio Debug configuration · Issue #4584 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: HDF5 linker issues with Visual Studio Debug configuration · Issue #4584 · IfcOpenShell/IfcOpenShell

X Title: HDF5 linker issues with Visual Studio Debug configuration · Issue #4584 · IfcOpenShell/IfcOpenShell

Description: For a while now I've had problems with building the v0.8.0 branch. I have managed to work around the issues, but since momentum is building for the v0.8.0 branch, I thought I'd share the issues and my workarounds in hopes that it will he...

Open Graph Description: For a while now I've had problems with building the v0.8.0 branch. I have managed to work around the issues, but since momentum is building for the v0.8.0 branch, I thought I'd share the issues and...

X Description: For a while now I've had problems with building the v0.8.0 branch. I have managed to work around the issues, but since momentum is building for the v0.8.0 branch, I thought I'd share the is...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/4584

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HDF5 linker issues with Visual Studio Debug configuration","articleBody":"For a while now I've had problems with building the v0.8.0 branch. I have managed to work around the issues, but since momentum is building for the v0.8.0 branch, I thought I'd share the issues and my workarounds in hopes that it will help others and maybe lead to permanent solutions.\r\n\r\nHere is my process using the `x64 Native Tools Command Prompt for VS 2022` environment:\r\n\r\n```\r\ngit clone --recursive https://github.com/IfcOpenShell/IfcOpenshell.git\r\ncd IfcOpenShell\r\ngit checkout v0.8.0\r\ngit submodule update --init --recursive\r\ncd .\\win\r\nset IFCOS_INSTALL_PYTHON=FALSE\r\nbuild-deps.cmd vs2022-x64 Debug\r\nbuild-deps.cmd vs2022-x64 Release\r\necho PY_VER_MAJOR_MINOR=312>> BuildDepsCache-x64.txt\r\necho PYTHONHOME=F:\\Python\\Python312>> BuildDepsCache-x64.txt\r\nrun-cmake.bat vs2022-x64\r\n```\r\n\r\nI'm not sure if `git submodule update --init --recursive` is still necessary. It was a workaround because of CityJSON early on. It would be nice if this step was automatic.\r\n\r\nAnyway, back to my process. I next open the IfcOpenShell.sln file with Visual Studio and use the `Build > Solution` command on the Debug and Release configurations.\r\n\r\nMultiple projects for both the Debug and Release configurations do not link with the following error:\r\n\r\n> LINK : fatal error LNK1181: cannot open input file 'F:\\IfcOpenshell\\_deps-vs2022-x64-installed\\HDF5-1.8.22-win64\\lib\\libhdf5_cpp.lib'\r\n\r\nActually, there are linker errors for all of the HDF5 libraries. I'm just showing one for simplicity.\r\n\r\nThe root cause is `build-deps.cmd vs2022-x64 Debug` builds (or maybe installs, I don't know) debug versions of the lib files and their names all end with \"..._D.lib\".\r\n\r\nMy workaround is to copy the contents of `F:\\IfcOpenshell\\_deps-vs2022-x64-installed\\HDF5-1.8.22-win64\\lib` away for safe keeping, delete the IfcOpenShell folder and start over.\r\n\r\nUsing the exact steps as before but reversing the order of running `build-deps.cmd` with Debug and Release options (use Release first).\r\n\r\nRelease builds are successful. Debug builds still fail, but for different reasons.\r\n\r\nRunning `build-deps.cmd vs2022-x64 Release` first builds or installs the HDF5 libraries without the \"..._D.lib\". You get the files with just \".lib\".\r\n\r\nDebug builds fail with the following errors (this is just a sample... you get lots of these):\r\n\r\n> libhdf5_cpp.lib(H5FcreatProp.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in IfcConvert.obj\r\n> libhdf5_cpp.lib(H5FcreatProp.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in IfcConvert.obj\r\n\r\nMy workaround is to copy all the HDF5 libraries with \"_D.lib\" that I saved away earlier into `F:\\IfcOpenshell\\_deps-vs2022-x64-installed\\HDF5-1.8.22-win64\\lib` and change the linker settings to use the \"_D.lib\" files. This fixes the problem but there are a lot of warnings about not having debugging information.\r\n\r\nDebug builds still fail, but now it's a linking issue with the boost libraries. The errors are similar to before:\r\n\r\n> libboost_program_options-vc143-mt-x64-1_79.lib(value_semantic.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in IfcConvert.obj\r\n> libboost_program_options-vc143-mt-x64-1_79.lib(value_semantic.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in IfcConvert.obj\r\n\r\nThis is a new issue that has crept in over the last couple of weeks. \r\n\r\nMy workaround is to change the linker settings to use the debug versions of the boost libraries by adding \"-gd\" after \"mt\" in the library name. For example, change `libboost_system-vc143-mt-x64-1_79.lib` to `libboost_system-vc143-mt-gd-x64-1_79.lib`.\r\n\r\nNow debug and release builds work.\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/RickBrice","@type":"Person","name":"RickBrice"},"datePublished":"2024-04-24T18:48:35Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/4584"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:905a0fbf-b33c-ef12-4e82-985b4b5b5aac
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE688:292BF3:D9B4D:122E46:6B04B064
html-safe-noncee8cbfd2fc64d44dd001545e293ba5ae2e8dfb9f9a1d7948bd88a84893d9f814e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjg4OjI5MkJGMzpEOUI0RDoxMjJFNDY6NkIwNEIwNjQiLCJ2aXNpdG9yX2lkIjoiNTI0NDA2NDQ3NjQ2NjI5NDg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8eace9d764ae29a43353ad306a0bf5b905c88a289b1373908dd3a4ea4b1717bb
hovercard-subject-tagissue:2261956992
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/4584/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2e314526d51d2db3638c3319712074a3d7d97a6a29240d62f4ff1c6a7de3cda9/IfcOpenShell/IfcOpenShell/issues/4584
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e314526d51d2db3638c3319712074a3d7d97a6a29240d62f4ff1c6a7de3cda9/IfcOpenShell/IfcOpenShell/issues/4584
og:image:altFor a while now I've had problems with building the v0.8.0 branch. I have managed to work around the issues, but since momentum is building for the v0.8.0 branch, I thought I'd share the issues and...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRickBrice
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/4584#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F4584
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F4584
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4584
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4584
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4584
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests941 (941)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4584
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4584
HDF5 linker issues with Visual Studio Debug configurationhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4584#top
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
https://github.com/RickBrice
RickBricehttps://github.com/RickBrice
on Apr 24, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4584#issue-2261956992
https://github.com/RickBrice
RickBricehttps://github.com/RickBrice
on Apr 27, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4584#issuecomment-2080602731
https://github.com/RickBrice
RickBricehttps://github.com/RickBrice
on Apr 27, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4584#issuecomment-2080694752
@aothmshttps://github.com/aothms
Moulthttps://github.com/Moult
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
on May 8, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4584#event-12737567313
RickBricehttps://github.com/RickBrice
on Sep 6, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4584#event-14156107593
RickBricehttps://github.com/RickBrice
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 26, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/4584#event-23088846963
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4584
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4584
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.