Opened 13 years ago

Last modified 12 years ago

#30737 closed defect

octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope — at Version 1

Reported by: liamg@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc:
Port: octave-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I tried installing octave-devel on an OSX 10.7 machine both before and after the Portfile mods of 8/12/2011. It failed with the same error both times:

:info:build display.cc:73:46: error: 'CGDisplayBitsPerPixel' was not declared in this scope

The log file is over 10 MB long so I just attached the last partl I wasn't sure how much to include so I'll send more if necessary. I'm using Macports 2.01 on a MacBook Air. I installed octave-devel on my iMac under Snow Leopard and it still works under Lion.

Change History (2)

Changed 13 years ago by liamg@…

Attachment: main.log added

log file excerpt

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… removed
Description: modified (diff)
Keywords: lion added
Owner: changed from macports-tickets@… to michaelld@…
Summary: Build failure of octave-devel on OSX 10.7 (Lion) Machineoctave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope

Correct, CGDisplayBitsPerPixel does not exist anymore. It was deprecated in Snow Leopard and removed in Lion.

Note: See TracTickets for help on using tickets.