Compiling against Ogre svn trunk (Cthuga 1.7)

Gohla

08-04-2009 10:28:07

I'm trying to compile MyGUI 2.2.2 against Ogre Cthuga 1.7 from the svn trunk (https://ogre.svn.sourceforge.net/svnroot/ogre/trunk/) using Visual Studio 2008. I used the MyGUI_v8.sln solution file and VS converted it to a 2008 file. The include directories and link library directories point to the new Ogre 1.7 files.

Compiling goes fine but linking does not, I get the following linker errors:
Linking...
Creating library lib\Debug\MyGUI_d.lib and object lib\Debug\MyGUI_d.exp
MyGUI_TextIterator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_EditText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_SimpleText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_Font.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z) referenced in function "public: class MyGUI::FontPtr & __thiscall MyGUI::FontPtr::operator=(class Ogre::SharedPtr const &)" (??4FontPtr@MyGUI@@QAEAAV01@ABV?$SharedPtr@VResource@Ogre@@@Ogre@@@Z)
MyGUI_RenderOut.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_Gui.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_SkinManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_SubWidgetManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_WidgetManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_EditFactory.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_MenuItem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_ClipboardManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_FontManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_ComboBox.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_Edit.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_Widget.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_ComboBoxFactory.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Resource::Resource(class Ogre::Resource const &)" (__imp_??0Resource@Ogre@@QAE@ABV01@@Z)
MyGUI_TextIterator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_EditText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_SimpleText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_Font.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_RenderOut.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_Gui.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_SkinManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_SubWidgetManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_WidgetManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_EditFactory.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_MenuItem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_ClipboardManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_FontManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_ComboBox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z) referenced in function "public: class MyGUI::Font & __thiscall MyGUI::Font::operator=(class MyGUI::Font const &)" (??4Font@MyGUI@@QAEAAV01@ABV01@@Z)
MyGUI_Edit.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_Widget.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_ComboBoxFactory.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Resource & __thiscall Ogre::Resource::operator=(class Ogre::Resource const &)" (__imp_??4Resource@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_RenderOut.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z)
MyGUI_FontManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z) referenced in function "public: __thiscall MyGUI::FontManager::FontManager(class MyGUI::FontManager const &)" (??0FontManager@MyGUI@@QAE@ABV01@@Z)
MyGUI_Gui.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z)
MyGUI_EditText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z)
MyGUI_SimpleText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ResourceManager::ResourceManager(class Ogre::ResourceManager const &)" (__imp_??0ResourceManager@Ogre@@QAE@ABV01@@Z)
MyGUI_RenderOut.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_FontManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z) referenced in function "public: class MyGUI::FontManager & __thiscall MyGUI::FontManager::operator=(class MyGUI::FontManager const &)" (??4FontManager@MyGUI@@QAEAAV01@ABV01@@Z)
MyGUI_Gui.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_EditText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z)
MyGUI_SimpleText.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::ResourceManager & __thiscall Ogre::ResourceManager::operator=(class Ogre::ResourceManager const &)" (__imp_??4ResourceManager@Ogre@@QAEAAV01@ABV01@@Z)
../Shared/Debug\MyGUI_d.dll : fatal error LNK1120: 4 unresolved externals


I don't really understand why these errors pop up because the copy constructor/assignment operator are not defined in Resouce and ResourceManager so it should just use a default one..?
Does anyone know how to fix these errors? I'd really like to test Ogre 1.7 but need MyGUI to be compiled with 1.7 too.

Gohla

23-05-2009 10:16:29

The linker errors are fixed in the latest SVN trunk (rev 1896), thanks!
There is another problem now though, the Layout editor works fine under OpenGL but under DirectX I get the following error: OGRE EXCEPTION(2:InvalidParametersException): Invalid blend type in D3D9RenderSystem::_setTextureBlendMode at ..\..\..\RenderSystems\Direct3D9\src\OgreD3D9RenderSystem.cpp (line 2136)

Here's the full ogre log:

11:24:05: Creating resource group General
11:24:05: Creating resource group Internal
11:24:05: Creating resource group Autodetect
11:24:05: SceneManagerFactory for type 'DefaultSceneManager' registered.
11:24:05: Registering ResourceManager for type Material
11:24:05: Registering ResourceManager for type Mesh
11:24:05: Registering ResourceManager for type Skeleton
11:24:05: MovableObjectFactory for type 'ParticleSystem' registered.
11:24:05: OverlayElementFactory for type Panel registered.
11:24:05: OverlayElementFactory for type BorderPanel registered.
11:24:05: OverlayElementFactory for type TextArea registered.
11:24:05: Registering ResourceManager for type Font
11:24:05: ArchiveFactory for archive type FileSystem registered.
11:24:05: ArchiveFactory for archive type Zip registered.
11:24:05: FreeImage version: 3.10.0
11:24:05: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
11:24:05: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
11:24:05: DDS codec registering
11:24:05: Registering ResourceManager for type HighLevelGpuProgram
11:24:05: Registering ResourceManager for type Compositor
11:24:05: MovableObjectFactory for type 'Entity' registered.
11:24:05: MovableObjectFactory for type 'Light' registered.
11:24:05: MovableObjectFactory for type 'BillboardSet' registered.
11:24:05: MovableObjectFactory for type 'ManualObject' registered.
11:24:05: MovableObjectFactory for type 'BillboardChain' registered.
11:24:05: MovableObjectFactory for type 'RibbonTrail' registered.
11:24:05: Loading library .\RenderSystem_GL
11:24:05: Installing plugin: GL RenderSystem
11:24:05: OpenGL Rendering Subsystem created.
11:24:05: Plugin successfully installed
11:24:05: Loading library .\RenderSystem_Direct3D9
11:24:05: Installing plugin: D3D9 RenderSystem
11:24:05: D3D9 : Direct3D9 Rendering Subsystem created.
11:24:05: D3D9: Driver Detection Starts
11:24:05: D3D9: Driver Detection Ends
11:24:05: Plugin successfully installed
11:24:05: *-*-* OGRE Initialising
11:24:05: *-*-* Version 1.7.0dev-unstable (Cthugha)
11:24:05: Creating resource group Bootstrap
11:24:05: Added resource location '../../Media/Common/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
11:24:05: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
11:24:05: Added resource location '../../Media/MyGUI_Media' of type 'FileSystem' to resource group 'General'
11:24:05: Added resource location '../../Media/Tools/LayoutEditor' of type 'FileSystem' to resource group 'General'
11:24:05: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 84)
11:24:05: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 84)
11:24:11: D3D9 : RenderSystem Option: Full Screen = No
11:24:13: D3D9 : RenderSystem Option: VSync = No
11:24:13: D3D9 : RenderSystem Option: VSync = Yes
11:24:19: D3D9 : RenderSystem Option: Video Mode = 1600 x 900 @ 32-bit colour
11:24:19: CPU Identifier & Features
11:24:19: -------------------------
11:24:19: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
11:24:19: * SSE: yes
11:24:19: * SSE2: yes
11:24:19: * SSE3: yes
11:24:19: * MMX: yes
11:24:19: * MMXEXT: yes
11:24:19: * 3DNOW: no
11:24:19: * 3DNOWEXT: no
11:24:19: * CMOV: yes
11:24:19: * TSC: yes
11:24:19: * FPU: yes
11:24:19: * PRO: yes
11:24:19: * HT: no
11:24:19: -------------------------
11:24:19: D3D9 : Subsystem Initialising
11:24:19: Registering ResourceManager for type Texture
11:24:19: Registering ResourceManager for type GpuProgram
11:24:19: D3D9RenderSystem::_createRenderWindow "MyGUI Layout Editor", 1600x900 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=true vsyncInterval=1
11:24:19: D3D9 : Created D3D9 Rendering Window 'MyGUI Layout Editor' : 1600x900, 32bpp
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT16_R
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT32_R
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT16_GR
11:24:19: D3D9: Vertex texture format supported - PF_FLOAT32_GR
11:24:19: RenderSystem capabilities
11:24:19: -------------------------
11:24:19: RenderSystem Name: Direct3D9 Rendering Subsystem
11:24:19: GPU Vendor: nvidia
11:24:19: Device Name: Monitor-1-NVIDIA GeForce 8800 GTX
11:24:19: Driver Version: 6.14.11.8060
11:24:19: * Fixed function pipeline: yes
11:24:19: * Hardware generation of mipmaps: yes
11:24:19: * Texture blending: yes
11:24:19: * Anisotropic texture filtering: yes
11:24:19: * Dot product texture operation: yes
11:24:19: * Cube mapping: yes
11:24:19: * Hardware stencil buffer: yes
11:24:19: - Stencil depth: 8
11:24:19: - Two sided stencil support: yes
11:24:19: - Wrap stencil values: yes
11:24:19: * Hardware vertex / index buffers: yes
11:24:19: * Vertex programs: yes
11:24:19: * Fragment programs: yes
11:24:19: * Geometry programs: no
11:24:19: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
11:24:19: * Texture Compression: yes
11:24:19: - DXT: yes
11:24:19: - VTC: no
11:24:19: * Scissor Rectangle: yes
11:24:19: * Hardware Occlusion Query: yes
11:24:19: * User clip planes: yes
11:24:19: * VET_UBYTE4 vertex element type: yes
11:24:19: * Infinite far plane projection: yes
11:24:19: * Hardware render-to-texture: yes
11:24:19: * Floating point textures: yes
11:24:19: * Non-power-of-two textures: yes
11:24:19: * Volume textures: yes
11:24:19: * Multiple Render Targets: 4
11:24:19: - With different bit depths: yes
11:24:19: * Point Sprites: yes
11:24:19: * Extended point parameters: yes
11:24:19: * Max Point Size: 10
11:24:19: * Vertex texture fetch: yes
11:24:19: - Max vertex textures: 4
11:24:19: - Vertex textures shared: no
11:24:19: * Render to Vertex Buffer : no
11:24:19: * DirectX per stage constants: yes
11:24:19: ***************************************
11:24:19: *** D3D9 : Subsystem Initialised OK ***
11:24:19: ***************************************
11:24:19: ResourceBackgroundQueue - threading enabled, starting own thread
11:24:19: ResourceBackgroundQueue - thread starting.
11:24:19: Particle Renderer Type 'billboard' registered
11:24:19: Parsing scripts for resource group Autodetect
11:24:19: Finished parsing scripts for resource group Autodetect
11:24:19: Parsing scripts for resource group Bootstrap
11:24:19: Parsing script OgreCore.material
11:24:19: Parsing script OgreProfiler.material
11:24:19: Parsing script Ogre.fontdef
11:24:19: Parsing script OgreDebugPanel.overlay
11:24:19: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
11:24:19: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
11:24:19: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
11:24:19: Font BlueHighwayusing texture size 512x512
11:24:19: Info: Freetype returned null for character 127 in font BlueHighway
11:24:19: Info: Freetype returned null for character 128 in font BlueHighway
11:24:19: Info: Freetype returned null for character 129 in font BlueHighway
11:24:19: Info: Freetype returned null for character 130 in font BlueHighway
11:24:19: Info: Freetype returned null for character 131 in font BlueHighway
11:24:19: Info: Freetype returned null for character 132 in font BlueHighway
11:24:19: Info: Freetype returned null for character 133 in font BlueHighway
11:24:19: Info: Freetype returned null for character 134 in font BlueHighway
11:24:19: Info: Freetype returned null for character 135 in font BlueHighway
11:24:19: Info: Freetype returned null for character 136 in font BlueHighway
11:24:19: Info: Freetype returned null for character 137 in font BlueHighway
11:24:19: Info: Freetype returned null for character 138 in font BlueHighway
11:24:19: Info: Freetype returned null for character 139 in font BlueHighway
11:24:19: Info: Freetype returned null for character 140 in font BlueHighway
11:24:19: Info: Freetype returned null for character 141 in font BlueHighway
11:24:19: Info: Freetype returned null for character 142 in font BlueHighway
11:24:19: Info: Freetype returned null for character 143 in font BlueHighway
11:24:19: Info: Freetype returned null for character 144 in font BlueHighway
11:24:19: Info: Freetype returned null for character 145 in font BlueHighway
11:24:19: Info: Freetype returned null for character 146 in font BlueHighway
11:24:19: Info: Freetype returned null for character 147 in font BlueHighway
11:24:19: Info: Freetype returned null for character 148 in font BlueHighway
11:24:19: Info: Freetype returned null for character 149 in font BlueHighway
11:24:19: Info: Freetype returned null for character 150 in font BlueHighway
11:24:19: Info: Freetype returned null for character 151 in font BlueHighway
11:24:19: Info: Freetype returned null for character 152 in font BlueHighway
11:24:19: Info: Freetype returned null for character 153 in font BlueHighway
11:24:19: Info: Freetype returned null for character 154 in font BlueHighway
11:24:19: Info: Freetype returned null for character 155 in font BlueHighway
11:24:19: Info: Freetype returned null for character 156 in font BlueHighway
11:24:19: Info: Freetype returned null for character 157 in font BlueHighway
11:24:19: Info: Freetype returned null for character 158 in font BlueHighway
11:24:19: Info: Freetype returned null for character 159 in font BlueHighway
11:24:19: Info: Freetype returned null for character 160 in font BlueHighway
11:24:19: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
11:24:19: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
11:24:19: Parsing script OgreLoadingPanel.overlay
11:24:19: Finished parsing scripts for resource group Bootstrap
11:24:19: Parsing scripts for resource group General
11:24:19: Finished parsing scripts for resource group General
11:24:19: Parsing scripts for resource group Internal
11:24:19: Finished parsing scripts for resource group Internal
11:24:19: Texture: Default_ForFont: Loading 1 faces(PF_BYTE_LA,1024x128x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,1024x128x1.
11:24:19: Texture: DejaVuSans.17_ForFont: Loading 1 faces(PF_BYTE_LA,1024x128x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,1024x128x1.
11:24:19: Texture: DejaVuSans.14_ForFont: Loading 1 faces(PF_BYTE_LA,1024x128x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,1024x128x1.
11:24:19: Texture: core.png: Loading 1 faces(PF_A8R8G8B8,1024x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x256x1.
11:24:19: Added resource location '../../Media/Tools/LayoutEditor/Panels' of type 'FileSystem' to resource group 'General'
11:24:19: Added resource location '../../Media/Tools/LayoutEditor/Themes' of type 'FileSystem' to resource group 'General'
11:24:19: Texture: core_black_orange.png: Loading 1 faces(PF_A8R8G8B8,1024x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x256x1.
11:24:19: Texture: core_pointer.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
11:24:19: Texture: progresstrack.png: Loading 1 faces(PF_A8R8G8B8,256x64x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x64x1.
11:24:19: Texture: wallpaper_editor.jpg: Loading 1 faces(PF_R8G8B8,1280x1024x1) with 0 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1280x1024x1.
11:24:19: D3D9 device: 0x[001745C0] was reset
11:24:19: OGRE EXCEPTION(2:InvalidParametersException): Invalid blend type in D3D9RenderSystem::_setTextureBlendMode at ..\..\..\RenderSystems\Direct3D9\src\OgreD3D9RenderSystem.cpp (line 2136)


Does anyone know what is causing this and how it can be fixed?

Five_stars

23-05-2009 10:22:13

I'm not sure, but, please, check your ogre.cfg file. I don't like this lines:
11:24:05: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 84)
11:24:05: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 84)

Gohla

23-05-2009 10:32:48

It gives the 11:24:05: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 84) errors because it's trying to find the ogre.cfg file but did not find it so it pop ups the config dialog and creates the ogre.cfg file. After running it a second time I do not get those errors.

About these errors:
11:24:05: D3D9: Driver Detection Starts
11:24:05: D3D9: Driver Detection Ends

I get the same messages in another project I compiled against Ogre 1.7 but that program works just fine.

Five_stars

23-05-2009 10:50:25

Sorry, I've made stupid suggestions about config and directx drivers. Because I was crazy with directx, which didn't work.
Now, I can suggest only try to set breakepoint at _setTextureBlendMode in OgreD3D9RenderSystem.cpp and look what parameter MyGUI sends to Ogre. I hope error will be at first calls of _setTextureBlendMode.
I think it's not good advice, but.. may be...