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 |
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: