I've checkout the code from subversion and I'm trying to build the code on MacOSX via xcode. When I build the code, I get a compiler error:
/Users/mmasters/Projects/irrlicht/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:700: error: cannot allocate an object of abstract type 'irr::CIrrDeviceMacOSX'
Are any of the committers looking at this?
[fixed] subversion CIrrDeviceMacOSX.mm
[fixed] subversion CIrrDeviceMacOSX.mm
Michael Masters
Sorry I didn't realize there was more to the error. I'm also getting the following:
CIrrDeviceMacOSX.h:24: note: because the following virtual functions are pure within 'irr::CIrrDeviceMacOSX':
IrrlichtDevice.h:156: note: virtual bool irr::IrrlichtDevice::isWindowFocused() const
IrrlichtDevice.h:160: note: virtual bool irr::IrrlichtDevice::isWindowMinimized() const
CIrrDeviceMacOSX.h:24: note: because the following virtual functions are pure within 'irr::CIrrDeviceMacOSX':
IrrlichtDevice.h:156: note: virtual bool irr::IrrlichtDevice::isWindowFocused() const
IrrlichtDevice.h:160: note: virtual bool irr::IrrlichtDevice::isWindowMinimized() const
Michael Masters
Thanks! I've run into another problem though. I had to make the following changes:
+++ source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm (working copy)
@@ -483,14 +483,14 @@
}
-bool isWindowFocused() const
+bool CIrrDeviceMacOSX::isWindowFocused() const
{
// TODO: return proper value
return true;
}
-bool isWindowMinimized() const
+bool CIrrDeviceMacOSX::isWindowMinimized() const
{
Thanks for the help!!!
+++ source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm (working copy)
@@ -483,14 +483,14 @@
}
-bool isWindowFocused() const
+bool CIrrDeviceMacOSX::isWindowFocused() const
{
// TODO: return proper value
return true;
}
-bool isWindowMinimized() const
+bool CIrrDeviceMacOSX::isWindowMinimized() const
{
Thanks for the help!!!
Michael Masters