Skip to content

OpenSceneGraph3.7.0 "max" is not a member of "std" #1345

@djxc

Description

@djxc

When I try build osg on windows(cmake + vs2017), this error occured which leaded to build failed. This error only appear in Texture.cpp. I added#include <algorithm> //std::max to fixed it.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions