Textures Not Found

jobbernowled

17-06-2010 04:29:23

I have been trying to figure out why the gui/mouse were not appearing despite no errors (and countless failed solutions) when I looked at the MyGui log. It seems the MyGui files can not find the textures.

The textures are located at:


C:\dev\MyGUI3.0\Media\MyGUI_Media


and the files that can't find them are at


C:\dev\MyGUI3.0\MyGUIEngine\src


This is a fresh cmake of MyGui so I assume everything is where it should be. Are my files somehow in the wrong place?


----------------------------------------------------------------------------------------------------------------------------------
loging report for : 06/16/2010 23:14:22
----------------------------------------------------------------------------------------------------------------------------------

...

23:14:22 | Core | Error | Texture 'core_micro_font.PNG' not found | .\src\MyGUI_TextureUtility.cpp | 55
23:14:22 | Platform | Error | Texture 'core_micro_font.PNG' not found, set default texture | .\src\MyGUI_OgreTexture.cpp |

...

23:14:22 | Core | Error | Texture 'core.png' not found | .\src\MyGUI_TextureUtility.cpp | 55

...

23:14:22 | Core | Error | Texture 'core_pointer.png' not found | .\src\MyGUI_TextureUtility.cpp | 55
23:14:22 | Core | Info | Gui successfully initialized | .\src\MyGUI_Gui.cpp | 129

Altren

17-06-2010 05:08:29

http://www.ogre3d.org/tikiwiki/MyGUI+FAQ

CmonGirl

30-09-2010 08:57:04

I have same problem.
I copy MyGUI_Media folder inside C:\OgreSDK\media. And add this line in resoruce_d.cfg. FileSystem=../../media/MyGUI_Media
But cant find core.png Pls help me.
My codes:
class Menu : public ExampleFrameListener
{
public:
Menu(RenderWindow *win, Camera *cam,SceneManager* cscn) : ExampleFrameListener(win, cam),scene_mgr(cscn),mWindow(win)
{
MyGUI::OgrePlatform* mPlatform = new MyGUI::OgrePlatform();
mPlatform->initialise(mWindow, scene_mgr);
mGUI = new MyGUI::Gui();
mGUI->initialise();

MyGUI::ButtonPtr button = mGUI->createWidget<MyGUI::Button>("Button", 10, 10, 300, 26, MyGUI::Align::Default, "Main");
button->setCaption("exit");

}

~Menu()
{
}


bool frameStarted(const FrameEvent& evt)
{
mGUI->injectFrameEntered(evt.timeSinceLastFrame);
return ExampleFrameListener::frameStarted(evt);
}
private:
SceneManager* scene_mgr;
MyGUI::Gui * mGUI;
RenderWindow* mWindow;
};

Altren

30-09-2010 13:56:44

Show your resources.cfg