[MacPorts] #58616: irrlicht fails to build on Mac OSX 10.5 Leopard PPC

MacPorts noreply at macports.org
Mon Jun 17 03:51:05 UTC 2019


#58616: irrlicht fails to build on Mac OSX 10.5 Leopard PPC
-----------------------------+------------------------------
  Reporter:  linuxjunkie999  |      Owner:  kencu
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:  Leopard irrlicht
      Port:  irrlicht        |
-----------------------------+------------------------------

Comment (by kencu):

 Thanks - looks like there error is here in this file
 `MacOSX/CIrrDeviceMacOSX.mm`, which I already had to patch once to get
 this port to build on 10.6+.
 {{{
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:
 In constructor 'irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(const
 irr::SIrrlichtCreationParameters&)':
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:499:
 error: cannot find protocol declaration for 'NSApplicationDelegate'
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:
 In destructor 'virtual irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()':
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536:
 error: 'NSApplicationPresentationDefault' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536:
 warning: no '-setPresentationOptions:' method found
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536:
 warning: (Messages without a matching method signature
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536:
 warning: will be assumed to return 'id' and accept
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:536:
 warning: '...' as arguments.)
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:
 In member function 'bool irr::CIrrDeviceMacOSX::createWindow()':
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:603:
 error: 'CGDisplayModeRef' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:603:
 error: expected `;' before 'displaymode'
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:721:
 error: cannot find protocol declaration for 'NSWindowDelegate'
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:747:
 error: 'displaymode' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:747:
 error: 'CGDisplayCopyDisplayMode' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:749:
 error: 'CGDisplayCopyAllDisplayModes' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:753:
 error: expected `;' before 'CurrentMode'
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:757:
 error: 'CurrentMode' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:757:
 error: 'CGDisplayModeCopyPixelEncoding' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:769:
 error: 'CGDisplayModeGetWidth' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:769:
 error: 'CGDisplayModeGetHeight' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:782:
 error: 'olddisplaymode' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:791:
 error: 'CGDisplaySetDisplayMode' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:829:
 error: 'CGLSetFullScreenOnDisplay' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:873:
 error: 'NSApplicationPresentationAutoHideDock' was not declared in this
 scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:873:
 error: 'NSApplicationPresentationAutoHideMenuBar' was not declared in this
 scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:873:
 warning: no '-setPresentationOptions:' method found
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:
 In member function 'virtual irr::video::IVideoModeList*
 irr::CIrrDeviceMacOSX::getVideoModeList()':
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1834:
 error: 'CGDisplayCopyAllDisplayModes' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1838:
 error: 'CGDisplayModeRef' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1838:
 error: expected `;' before 'CurrentMode'
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1842:
 error: 'CurrentMode' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1842:
 error: 'CGDisplayModeCopyPixelEncoding' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1855:
 error: 'CGDisplayModeGetWidth' was not declared in this scope
 :info:destroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:1856:
 error: 'CGDisplayModeGetHeight' was not declared in this scope
 :info:destroot distcc[80905] ERROR: compile
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm
 on G4MDDWORK.local./4 failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58616#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list