-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[osg] Build failure on x64-windows #38688
Comments
I want use GL3 build osg, added a line of set(osg_OPENGL_PROFILE "GL3") to the x64-windows.cmake file. And then there's this problem |
Duplicate of #33008 |
I reinstalled VS2022 and installed the latest MSVC 14.39.33519, but I still got an error,It seems that min\max and std:: min () and std:: max () are conflicts defined by Visual C ++. I don't know how to solve them |
Some configuration seem to include |
I added |
|
In fact, I changed the portfile.cmake configuration to run vcpkg install osg,then add 'add_definitions(-DNOMINMAX)' to vcpkg\buildtrees\osg\src\raph-3.6.5-c3f8c61ada.clean\CMakeLists.txt . |
@gfyrtuwcv I created a patch to enable macro |
Yes, successfully solved! Thank you |
Fixes #38688 - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~~SHA512s are updated for each updated download.~~ - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --------- Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
Package: osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:x64-windows@3.6.5#23
Host Environment
vcpkg-scripts version: a1212c9 2024-05-10 (6 hours ago)
To Reproduce
vcpkg install osg
Failure logs
E:\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log
The text was updated successfully, but these errors were encountered: