Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install debug vcpkg libraries from debug/lib #962

Merged
merged 3 commits into from
Nov 12, 2024
Merged

Conversation

lilleyse
Copy link
Contributor

@lilleyse lilleyse commented Oct 7, 2024

Debug vcpkg libraries should be installed from the debug/lib directory, not the lib directory.

image

@kring
Copy link
Member

kring commented Oct 31, 2024

@lilleyse I'm going to move this out of this week's release just to avoid adding any more risk to the Cesium for Unreal release, which is already a pretty risky one. Let me know if there's any reason I'm not aware of that it does need to ship this month.

@lilleyse
Copy link
Contributor Author

@kring that's fine

kring added a commit to CesiumGS/cesium-unreal that referenced this pull request Nov 10, 2024
@kring
Copy link
Member

kring commented Nov 10, 2024

I just tried this out in cesium-unreal, and (perhaps unsurprisingly) it causes linker errors due to mismatched debug / release CRT. This is frustrating because our overlay triplet specifies:

set(VCPKG_CXX_FLAGS "/MD /Zp8")
set(VCPKG_C_FLAGS "${VCPKG_CXX_FLAGS}")

But it seems that something - perhaps individual libraries - are ignoring or overriding this.

@kring
Copy link
Member

kring commented Nov 11, 2024

I believe I have the Unreal issues fixed in CesiumGS/cesium-unreal#1543. Once CI confirms that, I'll merge this. Thanks @lilleyse!

@kring kring merged commit 9f33f79 into main Nov 12, 2024
24 checks passed
@kring kring deleted the install-debug-libs branch November 12, 2024 00:03
kring added a commit to CesiumGS/cesium-unreal that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants