-
Notifications
You must be signed in to change notification settings - Fork 52
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
Fixed build on MSVC #897
Fixed build on MSVC #897
Conversation
Signed-off-by: Martin Pecka <[email protected]>
Please note the buildfarm uses vcpkg for fingind Ogre2 and doesn't find it, so the buildfarm actually won't test the proposed changes on Windows. |
Codecov Report
@@ Coverage Diff @@
## gz-rendering8 #897 +/- ##
=================================================
- Coverage 75.21% 75.18% -0.04%
=================================================
Files 176 177 +1
Lines 16839 16846 +7
=================================================
Hits 12665 12665
- Misses 4174 4181 +7
|
changes look good to me, will wait for CI results from #899 |
@peci1 I'm now getting around to looking at this locally, I seem to have some issues with gtest |
Specifically:
|
Oh very strange, this is exactly the same as other packages, but not building here. |
I thought tests were disabled on Win. I did not encounter this error. |
Not if you are brave :) I'll poke at it some more. The gz-cmake fix looked good, so I merged it. |
I determined it was some CMake path priority silliness, unrelated to this PR. |
this has broken the macOS build:
|
🦟 Bug fix
Summary
This was needed for the MSVC build to succeed. @darksylinc got obviously hit again by the poor MSVC linker that is not able to figure out it doesn't need to lookup defaulted constructors/destructors.
The CMake flag was needed to support building with VS2022. VS2019 shouldn't require it.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.