Page 1 of 1

MyGUI EXCEPTION : root widget name '_Main'

Posted: 18 Oct 2015, 17:23
by Jyby
I'm doing some exploratory learning and trying to create a new window that is displayed when the player right clicks (goes into gui mode for inventory, just like stats window or spell window). In fact I took those as examples and created a new window thats bare bones.

I'm receiving this exception:

Code: Select all

ERROR: MyGUI EXCEPTION : root widget name '_Main' in layout 'openmw_loading_screen.layout' not found.
I've added the components on the C++ side and its pretty barebones just to get the window up.

The layout I created is named: openmw_my_window.layout

I'm using MyGui 3.2.1 from the brew repos on Mac OS X Yosemite

I was able to get it past that error once by clearing my build folder and all of the config files in my config path.

I got this error:

Code: Select all

ERROR: MyGUI EXCEPTION : root widget name '_Main' in layout 'openmw_my_window.layout' not found.
Any idea?

EDIT: CMake output
Spoiler: Show