Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56684 closed defect (fixed)

OpenSceneGraph fails to upgrade

Reported by: dershow Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: OpenSceneGraph

Description

The OpenSceneGraph port was just upgraded from 3.6.0.0 to 3.6.0.1 and the upgrade is failing for me. I've attached my build log.

Attachments (1)

main.log (1.0 MB) - added by dershow 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by dershow

Attachment: main.log added

comment:1 Changed 6 years ago by jmroot (Joshua Root)

:info:build /opt/local/include/cpl_port.h:187:6: error: Must have C++11 or newer.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Apparently that header is from gdal.

comment:3 Changed 6 years ago by dershow

OpenSceneGraph depends on gdal, so I can't just disable it, even temporarily. Any suggestions for what the problem might be, or what could fix it?

comment:4 Changed 6 years ago by dbevans (David B. Evans)

Owner: set to dbevans
Resolution: fixed
Status: newclosed

In f4b0c9886f18daa7e4aec53953a0f90d55434834/macports-ports (master):

OpenSceneGraph: update to version 3.6.2

GDAL support requires C++11 minimum. Use cxx11 1.1 PortGroup and set -std=c++11.

Fixes #56684.

comment:5 Changed 6 years ago by dbevans (David B. Evans)

In 322df201ee5fb0bf4f7678c16f4b58edc8149bad/macports-ports (master):

OpenSceneGraph-devel: update to version 3.7.0 git master as of 20180829

GDAL support requires C++11 minimum. Use cxx11 1.1 PortGroup
and set -std=c++11.

See: #56684.

Note: See TracTickets for help on using tickets.