MyGUI EXCEPTION : root widget name '_Main'

Everything about development and the OpenMW source code.
Post Reply
User avatar
Jyby
Posts: 406
Joined: 10 Dec 2013, 04:16

MyGUI EXCEPTION : root widget name '_Main'

Post by Jyby » 18 Oct 2015, 17:23

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
Macbook Air 2013 - 1.7GHz Intel i7 - 8 GB - 512 GB SSD - Intel HD 5000
Windows 10 PC - 4GHz Intel i7 - 16 GB - 512 GB SSD - EVGA GTX 1060 SSC

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests