Opened 12 years ago

Closed 6 years ago

#31845 closed submission (fixed)

Port for Irrlicht

Reported by: rudloff@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kencu (Ken)
Port: irrlicht

Description

Here is a port for the Irrlicht engine (http://irrlicht.sourceforge.net/)

Attachments (5)

Portfile (1.2 KB) - added by rudloff@… 12 years ago.
patch-Makefile.diff (423 bytes) - added by rudloff@… 12 years ago.
patch-MacOSX-CIrrDeviceMacOSX.h.diff (423 bytes) - added by rudloff@… 12 years ago.
Portfile.2 (1.2 KB) - added by nigels.com@… 10 years ago.
Updated Portfile for current Irrlicht release
patch-Makefile.2.diff (24.7 KB) - added by nigels.com@… 10 years ago.
Updated Makefile patch for current Irrlicht release

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by rudloff@…

Attachment: Portfile added

Changed 12 years ago by rudloff@…

Attachment: patch-Makefile.diff added

Changed 12 years ago by rudloff@…

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks. As is, it doesn't build for me:

COpenGLSLMaterialRenderer.cpp: In member function ‘void irr::video::COpenGLSLMaterialRenderer::init(irr::s32&, const irr::c8*, const irr::c8*, const irr::c8*, irr::scene::E_PRIMITIVE_TYPE, irr::scene::E_PRIMITIVE_TYPE, irr::u32)’:
COpenGLSLMaterialRenderer.cpp:138: error: cast from ‘void*’ to ‘GLuint’ loses precision
COpenGLSLMaterialRenderer.cpp:139: error: cast from ‘void*’ to ‘GLuint’ loses precision
COpenGLSLMaterialRenderer.cpp:141: error: cast from ‘void*’ to ‘GLuint’ loses precision
COpenGLSLMaterialRenderer.cpp:143: error: cast from ‘void*’ to ‘GLuint’ loses precision

There are many things I would change about the Portfile. I'll see if in the process of making those changes I get it to work.

Changed 10 years ago by nigels.com@…

Attachment: Portfile.2 added

Updated Portfile for current Irrlicht release

Changed 10 years ago by nigels.com@…

Attachment: patch-Makefile.2.diff added

Updated Makefile patch for current Irrlicht release

comment:2 Changed 10 years ago by nigels.com@…

I made some progress towards building the current Irrlicht by updating the Portfile here and patching the Makefile. However, the build gets as far as:

:info:build c++ -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -g -D_DEBUG -I../../include -Izlib -Ijpeglib -Ilibpng -IMacOSX -I. -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1 -c -o COpenGLDriver.o COpenGLDriver.c pp :info:build In file included from COpenGLDriver.cpp:5: :info:build ./COpenGLDriver.h:182:16: warning: 'irr::video::COpenGLDriver::draw2DImage' hides overloaded virtual function [-Woverloaded-virtual] :info:build virtual void draw2DImage(const video::ITexture* texture, :info:build :info:build ./CNullDriver.h:144:16: note: hidden overloaded virtual function 'irr::video::CNullDriver::draw2DImage' declared here :info:build virtual void draw2DImage(const video::ITexture* texture, const core::position2d<s32>& destPos); :info:build :info:build In file included from COpenGLDriver.cpp:21: :info:build In file included from ./MacOSX/CIrrDeviceMacOSX.h:13: :info:build In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:8: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:6: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:5: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5: :info:build /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:319:1: error: expected unqualified-id :info:build @class NSString, Protocol;

comment:3 Changed 6 years ago by jmroot (Joshua Root)

Cc: kencu added
Resolution: fixed
Status: assignedclosed
Version: 2.0.3
Note: See TracTickets for help on using tickets.