Building 2.1 on MacOS

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Building 2.1 on MacOS

Post by Jay721 » Mon Jun 03, 2019 4:56 pm

Hi

I've successfully created and built a windows project using the example here: https://github.com/OGRECave/ogre/tree/v ... ptyProject

However, when moving this over to Mac, i've been getting semantic issues regarding Ogre's string... I'm not really sure how to fix this - is it a linker issue? EDIT: This has resolved itself, still not sure what was causing it.

Please view the errors below:

http://prntscr.com/nx2xuk
https://prnt.sc/nx2y2y

If anyone can help me i'd be very thankful.
Last edited by Jay721 on Mon Jun 10, 2019 5:47 pm, edited 1 time in total.
0 x

Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Re: Building 2.1 on MacOS

Post by Jay721 » Mon Jun 03, 2019 8:59 pm

I feel like it's some setting with XCode/CMake since Ogre built fine itself.
0 x

Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Re: Building 2.1 on MacOS

Post by Jay721 » Mon Jun 10, 2019 5:46 pm

That issue has spontaneously resolved itself.

But now when I try to initialise MyGUI, I'm getting some EXC_BAD_ACCESS error. I've been poking around and I'm pretty sure it's happening when MyGUI tries to create some datablocks. (This code runs fine on Windows)

In this function, I see that an IdString is created and passed over to createDatablock...
Image

However, createDatablock is getting an empty IdString, and I don't know why?
Image

I'd appreciate it if someone could throw me some ideas.
0 x

Post Reply