[MacPorts] #41059: octave-devel: error: use of undeclared identifier 'CGDisplayBitsPerPixel' (was: octave-devel fails to build in Mavericks on MBP-R 15")

MacPorts noreply at macports.org
Tue Oct 29 10:13:53 PDT 2013


#41059: octave-devel: error: use of undeclared identifier 'CGDisplayBitsPerPixel'
---------------------------+-------------------------
  Reporter:  jendrek@…     |      Owner:  michaelld@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:  mavericks
      Port:  octave-devel  |
---------------------------+-------------------------
Changes (by ryandesign@…):

 * cc: jendrek@… (removed)
 * priority:  High => Normal
 * keywords:  octave-devel display CGDisplayBitsPerPixel => mavericks
 * owner:  macports-tickets@… => michaelld@…
 * port:   => octave-devel


Old description:

> MacPorts 2.2.1 installed from scratch after complete cleanup of 2.2.0.
>
> All dependence installed fine, but the last part, building octave-devel,
> fails.
>
> arpack installed with +atlas (as suggested during building dependencies
> for octave-devel).
>
> Here is the critical part from the log (I believe):
>
> ----
> ...
> :info:build display.cc:75:16: error: use of undeclared identifier
> 'CGDisplayBitsPerPixel'
> :info:build           dp = CGDisplayBitsPerPixel (display);
> :info:build                ^
> :info:build 1 error generated.
> :info:build make[3]: *** [liboctinterp_la-display.lo] Error 1
> :info:build make[3]: *** Waiting for unfinished jobs....
> :info:build In file included from bitfcns.cc:33:
> :info:build In file included from ./ov-uint64.h:40:
> :info:build In file included from ./ov-intx.h:36:
> :info:build In file included from ./ov-base-int.h:37:
> ...
> ----

New description:

 MacPorts 2.2.1 installed from scratch after complete cleanup of 2.2.0.

 All dependence installed fine, but the last part, building octave-devel,
 fails.

 arpack installed with +atlas (as suggested during building dependencies
 for octave-devel).

 Here is the critical part from the log (I believe):

 {{{
 ...
 :info:build display.cc:75:16: error: use of undeclared identifier
 'CGDisplayBitsPerPixel'
 :info:build           dp = CGDisplayBitsPerPixel (display);
 :info:build                ^
 :info:build 1 error generated.
 :info:build make[3]: *** [liboctinterp_la-display.lo] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build In file included from bitfcns.cc:33:
 :info:build In file included from ./ov-uint64.h:40:
 :info:build In file included from ./ov-intx.h:36:
 :info:build In file included from ./ov-base-int.h:37:
 ...
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/41059#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list