#30340: wxWidgets 2.9.2 fail to compile --------------------------------------------+------------------------------- Reporter: mojca.miklavec.lists@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: lion | Port: wxWidgets-devel --------------------------------------------+------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => jwa@… Old description:
I cannot compile wxWidgets 2.9.2 on Lion. It reports:
:info:build ../src/osx/utils_osx.cpp: In function ‘int wxDisplayDepth()’: :info:build ../src/osx/utils_osx.cpp:72: error: ‘CGDisplayBitsPerPixel’ was not declared in this scope :info:build make: *** [coredll_utils_osx.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build ../src/osx/window_osx.cpp: In member function ‘virtual void wxWindow::MacPaintBorders(int, int)’: :info:build ../src/osx/window_osx.cpp:1605: error: ‘InsetRect’ was not declared in this scope :info:build make: *** [coredll_window_osx.o] Error 1
Full log attached.
New description: I cannot compile wxWidgets 2.9.2 on Lion. It reports: {{{ :info:build ../src/osx/utils_osx.cpp: In function ‘int wxDisplayDepth()’: :info:build ../src/osx/utils_osx.cpp:72: error: ‘CGDisplayBitsPerPixel’ was not declared in this scope :info:build make: *** [coredll_utils_osx.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build ../src/osx/window_osx.cpp: In member function ‘virtual void wxWindow::MacPaintBorders(int, int)’: :info:build ../src/osx/window_osx.cpp:1605: error: ‘InsetRect’ was not declared in this scope :info:build make: *** [coredll_window_osx.o] Error 1 }}} Full log attached. -- Comment: Please remember to cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/30340#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS