Opened 2 years ago

Closed 2 years ago

#65506 closed defect (fixed)

glfw @3.3.7 fails to build on 10.7 and 10.8

Reported by: jmroot (Joshua Root) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: lion mountainlion Cc:
Port: glfw

Description

The error on 10.8 is

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_glfw/glfw/work/glfw-3.3.7/src/cocoa_window.m:328:46: error: use of undeclared identifier 'NSWindowOcclusionStateVisible'
    if ([window->ns.object occlusionState] & NSWindowOcclusionStateVisible)
                                             ^

on 10.7:

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_glfw/glfw/work/glfw-3.3.7/src/cocoa_init.m:92:19: error: expected method to read dictionary element not found on object of type 'NSDictionary *'
        id name = bundleInfo[nameKeys[i]];
                  ^

These platforms might need to use an older version similar to what is done for 10.6.

Change History (2)

comment:1 Changed 2 years ago by michaelld (Michael Dickens)

Yup looks like it ... will see about fixing those ... thx!

comment:2 Changed 2 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In 442835bec0c8c287c55719c7fae605f58a1ec86c/macports-ports (master):

glfw: add v3.2.1 as fallback for 10.7-10.8

closes: #65506

Note: See TracTickets for help on using tickets.