Ogre exception 7 internalerrorexception ошибка

Dear HexiDave,

First of all, thank you very much for trying to help! Please don’t give up, and keep with me!

I checked plugins.cfg and the other .cfg files. They are ok, i think. Let me show you their contents:

plugins.cfg

# Defines plugins to load

# Define plugin folder
PluginFolder=.

# Define plugins
Plugin=RenderSystem_Direct3D9_d
Plugin=RenderSystem_GL_d
Plugin=Plugin_ParticleFX_d
Plugin=Plugin_BSPSceneManager_d
Plugin=Plugin_OctreeSceneManager_d
Plugin=Plugin_CgProgramManager_d

media.cfg

Mesh=ogrehead.mesh
Mesh=geosphere4500.mesh
Mesh=razor.mesh
Mesh=knot.mesh
Mesh=RZR-002.mesh
Mesh=geosphere8000.mesh
Mesh=sphere.mesh

CubeMap=cubescene.jpg
CubeMap=early_morning.jpg
CubeMap=cubemap.jpg
CubeMap=morning.jpg
CubeMap=cloudy_noon.jpg
CubeMap=evening.jpg
CubeMap=stormy.jpg
CubeMap=stevecube.jpg

resources.cfg

# Resource locations to be added to the ‘boostrap’ path
# This also contains the minimum you need to use the Ogre example framework
[Bootstrap]
Zip=../../Media/packs/OgreCore.zip

# Resource locations to be added to the default path
[General]
FileSystem=../../Media
FileSystem=../../Media/fonts
FileSystem=../../Media/materials/programs
FileSystem=../../Media/materials/scripts
FileSystem=../../Media/materials/textures
FileSystem=../../Media/models
FileSystem=../../Media/overlays
FileSystem=../../Media/particle
FileSystem=../../Media/gui
FileSystem=../../Media/DeferredShadingMedia
Zip=../../Media/packs/cubemap.zip
Zip=../../Media/packs/cubemapsJS.zip
Zip=../../Media/packs/dragon.zip
Zip=../../Media/packs/fresneldemo.zip
Zip=../../Media/packs/ogretestmap.zip
Zip=../../Media/packs/skybox.zip

quake3settings.cfg (i don’t really understand what this file is for… i don’t find chiropteraDM.pk3 anywhere… so i left this file like the others with their default contents)

<<<<<<< quake3settings.cfg
Pak0Location: ……MediapackschiropteraDM.pk3
Map: maps/chiropteradm.bsp

=======
Pak0Location: ……MediapackschiropteraDM.pk3
Map: maps/chiropteradm.bsp
>>>>>>> 1.2.32.1

By the way, these files are in the C:OgreSDKbindebug folder. And in this folder there are the samples applications that i built from the project that comes in the C:OgreSDKMogre-Samples folder.

In the C:OgreSDKbindebug folder I also have these dlls:
CEGUIBase_d.dll
CeguiBindings.dll
CeguiDotNet.dll
CEGUIExpatParser_d.dll
CEGUIFalagardWRBase_d.dll
cg.dll
Mogre.Cegui.dll
Mogre.Demo.ExampleApplication.dll
Mogre.dll
MogreFramework.dll
MogreNewt.dll
MOIS.dll
OgreBindings_Cegui.dll
OgreGUIRenderer_d.dll
OgreMain_d.dll
OIS_d.dll
Plugin_BSPSceneManager_d.dll
Plugin_CgProgramManager_d.dll
Plugin_OctreeSceneManager_d.dll
Plugin_ParticleFX_d.dll
RenderSystem_Direct3D9_d.dll
RenderSystem_GL_d.dll

Yes, I think that all Ogre DLLs have _d. I think CeguiBindings.dll, CeguiDotNet.dll, cg.dll Mogre.Cegui.dll, Mogre.Demo.ExampleApplication.dll, Mogre.dll, MogreFramework.dll, MogreNewt.dll, MOIS.dll and OgreBindings_Cegui.dll don’t need ‘_d’, is it correct?

PS- please, don’t go away :)

This is the first exception in my RoR.log. All I am trying to do is regen my cache and keep getting the Bad UTF-8 Continuation type.

If you need more info please dont hesitate to ask. I’ll keep trying to figure something out

OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library .RenderSystem_Direct3D10. System Error: The specified module could not be found.

in DynLib::load at C:datacodehgdependenciessrcOgreogre_src_v1-8-1OgreMainsrcOgreDynLib.cpp (line 93)
18:42:55: failed to load plugin: .RenderSystem_Direct3D10: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library .RenderSystem_Direct3D10. System Error: The specified module could not be found.

in DynLib::load at C:datacodehgdependenciessrcOgreogre_src_v1-8-1OgreMainsrcOgreDynLib.cpp (line 93)

I’m using Ogre 3D 1.9, and I’m trying to load a mesh contained in a folder pointed by the resource.cfg file. The folder contains sub-folders, that separate the .mesh files, .material files and textures. Here’s the content of the resource.cfg file:

# Resources required by the sample browser and most samples.
[Essential]


# Resource locations to be added to the default path
[General]
FileSystem=media
FileSystem=media/materials/scripts
FileSystem=media/materials/textures
FileSystem=media/models

After this i declare and initialize the mesh, materials and textures with the following:

Ogre::ResourceGroupManager::getSingleton().declareResource("ram.mesh", "Mesh", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());
Ogre::ResourceGroupManager::getSingleton().declareResource("char_ram_col.png", "Font", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());
Ogre::ResourceGroupManager::getSingleton().declareResource("char_ram_nor.png", "Font", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());
Ogre::ResourceGroupManager::getSingleton().declareResource("ram_skin.material", "Material", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());
Ogre::ResourceGroupManager::getSingleton().declareResource("ram_skin_eyelids.material", "Material", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());
Ogre::ResourceGroupManager::getSingleton().declareResource("ram_skin_eyes.material", "Material", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());
Ogre::ResourceGroupManager::getSingleton().declareResource("ram_skin_horns.material", "Material", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::NameValuePairList());

Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();

Then i attach the mesh to a node:

Ogre::Entity *entity = scene->createEntity("LocalMesh_Ent", "ram.mesh");
Ogre::SceneNode *cube = node->createChildSceneNode("ram.mesh", Ogre::Vector3(x, y, z));
cube->attachObject(entity);

where cube is a SceneNode previously created.

I have problem loading the texture. The code is build without any problem, but when i run it i have the following error (in the log file):

OGRE EXCEPTION(7:InternalErrorException): Error decoding image in FreeImageCodec::decode at ........OgreMainsrcOgreFreeImageCodec.cpp (line 419)

The mesh and the materials are created correctly, if for example i comment the part regarding the texture.

Does anybody know which could be the problem ?

Second question: i read that the .png file has to be declared as Font, but there’s also the Texture option (which doesn’t work as well). Is that correct ?

Nikolay Semenov

Сообщения: 90
Зарегистрирован: 28 окт 2014, 21:00
Operating system: ROSA Desktop Fresh R4

OGRE Samples не запускаются

После свежего обновления, OGRE Samples (/usr/bin/SampleBrowser) выдает следующую ошибку:

Код: Выделить всё

An exception has occurred: OGRE EXCEPTION(7:InternalErrorException): /usr/share/OGRE/Media/packs/SdkTrays.zip - error whilst opening archive: Unable to read zip file. in ZipArchive::checkZzipError at /builddir/build/BUILD/ogre_src_v1-9-0/OgreMain/src/OgreZip.cpp (line 310)


keleg

Сообщения: 5490
Зарегистрирован: 15 сен 2011, 01:58

Re: OGRE Samples не запускаются

Сообщение

keleg » 07 ноя 2014, 10:41

Лучше в багзиллу сразу с таким.
bugs.rosalinux.ru


Аватара пользователя

Pulfer

Сообщения: 3358
Зарегистрирован: 15 фев 2012, 01:57
Operating system: ROSA Desktop Fresh 2016.1 i586
Откуда: Vladivostok, Russia

Re: OGRE Samples не запускаются

Сообщение

Pulfer » 07 ноя 2014, 13:58

Починил :)

Intel Core i7-6700 / 8 Gb RAM / GeForce GTX 750 Ti / Rosa 2016.1 i586


Nikolay Semenov

Сообщения: 90
Зарегистрирован: 28 окт 2014, 21:00
Operating system: ROSA Desktop Fresh R4

Re: OGRE Samples не запускаются

Сообщение

Nikolay Semenov » 08 ноя 2014, 02:03

Pulfer писал(а):Починил :)

Спасибо, буду ждать, когда придут обновления


Problem

I had an binary compiled on Ubuntu 14.04. I tried to run it on Ubuntu 16.04 and got this error:

OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/RenderSystem_GL

Solution

From the error, I could see that it was looking for an OGRE library file. I installed the OGRE library available on Ubuntu 16.04:

$ sudo apt install libogre-1.9-dev

The error still persisted, because Ubuntu 16.04 only has OGRE 1.9, while this binary was looking for OGRE 1.8 library files.

I tried to create a symbolic link of an OGRE 1.8 directory to the existing OGRE 1.9 directory:

$ cd /usr/lib/x86_64-linux-gnu/
$ ln -s OGRE-1.9.0 OGRE-1.8.0

This worked! The executable ran without problems. This saved me from having to build OGRE 1.8 from source on this computer.

Понравилась статья? Поделить с друзьями:
  • Officeclassicsetup ошибка 1603
  • Oct 7 ошибка старлайн а93
  • Officec2rclient exe системная ошибка apiclient dll
  • Ocs inventory service код ошибки 20
  • Office ошибка при перенаправлении команды приложению