Ogre 2-1-pso osx build

Problems building or running the engine, queries about how to use features etc.
Post Reply
Fedakl
Gnoblar
Posts: 12
Joined: Mon Aug 31, 2015 7:26 pm
x 1

Ogre 2-1-pso osx build

Post by Fedakl »

Hello,

Please help me :)

I try build ogre 2-1-pso on osx for metal rendersystem and i have some build problem:
-many pixelformat not upported on osx error list see bellow
-throw this error:
#if !__has_feature( objc_arc )
#error "ARC is off!!!"
#endif
and this header #import <UIKit/UIKit.h> not found, i try add UIKit framework..., i read the UIkit only need for ios project. This is true?

my mac is old?
2011 early
Yosemite 10.10.5
intel hd 3000

Thank you.
L

not supported pixelformat:
MTLPixelFormatB5G6R5Unorm' is unavailable: not available
MTLPixelFormatB5G6R5Unorm' is unavailable: not available
MTLPixelFormatABGR4Unorm' is unavailable: not available on
MTLPixelFormatBGR5A1Unorm' is unavailable: not available
MTLPixelFormatPVRTC_RGB_2BPP' is unavailable: not
MTLPixelFormatPVRTC_RGB_2BPP_sRGB' is unavailable: not
MTLPixelFormatPVRTC_RGBA_2BPP' is unavailable: not
MTLPixelFormatPVRTC_RGBA_2BPP_sRGB' is unavailable: not
MTLPixelFormatPVRTC_RGB_4BPP' is unavailable: not
MTLPixelFormatPVRTC_RGB_4BPP_sRGB' is unavailable: not
MTLPixelFormatPVRTC_RGBA_4BPP' is unavailable: not
MTLPixelFormatPVRTC_RGBA_4BPP_sRGB' is unavailable: not
'MTLPixelFormatR8Unorm_sRGB' is unavailable: not available
'MTLPixelFormatRG8Unorm_sRGB' is unavailable: not
'MTLPixelFormatETC2_RGB8' is unavailable: not available on
'MTLPixelFormatETC2_RGB8_sRGB' is unavailable: not
'MTLPixelFormatETC2_RGB8' is unavailable: not available on
'MTLPixelFormatETC2_RGB8_sRGB' is unavailable: not
'MTLPixelFormatEAC_RGBA8' is unavailable: not available on OS X
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1280
Contact:

Re: Ogre 2-1-pso osx build

Post by dark_sylinc »

Hi!

Metal for iOS is ready for use, but for Metal for OS X is still being worked on. Additionally, your problem is because you must have El Capitan and XCode 7 in order to compile Metal for OS X.
Furthermore, as far as I know Intel HD 3000 does not support Metal.
Fedakl
Gnoblar
Posts: 12
Joined: Mon Aug 31, 2015 7:26 pm
x 1

Re: Ogre 2-1-pso osx build

Post by Fedakl »

Thank you!

L
Post Reply