[MacPorts] #30737: octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope (was: Build failure of octave-devel on OSX 10.7 (Lion) Machine)

MacPorts noreply at macports.org
Sat Aug 13 00:33:19 PDT 2011


#30737: octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope
--------------------------+-------------------------------------------------
 Reporter:  liamg@…       |       Owner:  michaelld@…           
     Type:  defect        |      Status:  new                   
 Priority:  Normal        |   Milestone:                        
Component:  ports         |     Version:  2.0.1                 
 Keywords:  lion          |        Port:  octave-devel          
--------------------------+-------------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => michaelld@…
 * cc: michaelld@… (removed)
  * keywords:  => lion


Old description:

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

New description:

 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.

--

Comment:

 Correct,
 [http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/Quartz_Services_Ref/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/c/func/CGDisplayBitsPerPixel
 CGDisplayBitsPerPixel] does not exist anymore. It was deprecated in Snow
 Leopard and removed in Lion.

-- 
Ticket URL: <https://trac.macports.org/ticket/30737#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list