Repository: OGRECave/ogre

Issue #1064: ConfigDialog resources not properly referenced
Created: 2019-01-24T13:08:22Z
System Information

Ogre Version: 1.12.0 / master
Operating System / Platform: Windows 7 Ultimate / MinGW64 Latest
RenderSystem: DirectX9 (i think it does not matter)

Detailled description
I tried to run tutorial application (https://ogrecave.github.io/ogre/api/1.11/setup.html) that I have compiled with MinGW64 (Ogre has compiled with MinGW too) and it didn't work. After that I added try-catch block to catch exceptions and get this exception:
4. Указанный файл образа не содержит секции ресурсов.
in ConfigDialog::display

Translated English version of this exception:
4. The specified image file does not contain a resource section.
in ConfigDialog::display

And then, when I tried to debug the application, the exception has occured on command:
initApp();

I thought the problem was that MinGW did not add dialog resources to the OgreBites.dll file, but I opened this file in Resource Hacker and made sure that ConfigDialog is in place.
My project has linked with libOgreMain.dll.a, libOgreBites.dll.a, and libOgreRTShaderSystem.dll.a, all include and lib paths has set correctly.

Duplicate issue #839: Using mingw to build ogreV1.11.2. after building sdk, running python sample, Exception occurs
Created: 2018-08-14T04:56:00Z
Using mingw to build ogreV1.11.2. after building sdk, running python sample, Exception occurs
Building ogreV1.10.12, python sample runs all right.
Using vs14 building ogreV1.11.2 without python binding, all samples run all right
Using vs14 building ogreV1.11.2 with python binding, vs14 report compiling errors when building python binding. I do not know how to solve the python binding problems, so I have to choose mingw.
System Information

Ogre Version: :  1_11_2
Operating System / Platform:  windows10 64bit (win7 64bit has same problem)
RenderSystem: :  openGL
building tool::  x86_64-8.1.0-release-posix-seh-rt_v6-rev0

Detailled description
F:\ogre_build\br_mingw2\sdk\bin>python bites_sample.py
Creating resource group General
Creating resource group OgreInternal
Creating resource group OgreAutodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
ETC codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library .\RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library .\RenderSystem_GL3Plus
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library .\Plugin_ParticleFX
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library .\Plugin_BSPSceneManager
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library .\Codec_STBI
stb_image - v2.19 - public domain JPEG/PNG reader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Loading library .\Plugin_PCZSceneManager
Installing plugin: Portal Connected Zone Scene Manager
PCZone Factory Type 'ZoneType_Default' registered
Plugin successfully installed
Loading library .\Plugin_OctreeZone
Installing plugin: Octree Zone Factory
Plugin successfully installed
Loading library .\Plugin_OctreeSceneManager
Installing plugin: Octree Scene Manager
Plugin successfully installed
--* OGRE Initialising
--* Version 1.11.2 (Rhagorthua)
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
Traceback (most recent call last):
File "bites_sample.py", line 90, in 
app.initApp()
RuntimeError: FileNotFoundException: 指定的映像文件不包含资源区域。
in ConfigDialog::display

Closing comment (2019-01-25T13:15:22Z): duplicate of #1064