[Solved] No Sound

Dude_Person

09-12-2008 23:02:39

I can't get the sound working. My program compiles and runs without errors, but no sound comes out of my speakers.

This is my code (it's in a setup function that is right before my frame listener loop).


mSoundManager = new OgreOggSound::OgreOggSoundManager();

if (mSoundManager->init(""))
{
OgreOggISound* newSound = 0;
newSound = mSoundManager->createSound("Sound1", "./6chan.ogg");
newSound->play();
}


Any ideas? Did I miss something, or could it be a compatibility issue. I'm using Vista Home Premium, I have an Auzentech Prelude which is an X-Fi based card, and I'm using a 6 channel speaker set.

Also whenever I call mSoundManager->getDeviceList(), the program immediately crashes, which makes me wonder if its not finding the audio device.

Thanks,
Johannes M

stickymango

10-12-2008 15:07:23

change: "./6chan.ogg"to"6chan.ogg"

Dude_Person

10-12-2008 20:07:12

I've tried that as well as using several different audio files. I've also tried putting them in a folder I defined in the Ogre resource manager, and just putting them in my bin folder. Nothing works.

stickymango

10-12-2008 21:27:56

nothing in the log file?

Dude_Person

11-12-2008 03:39:45

Nope. Not that I can see.

Also, I'm not using the Boost Threads. Could that be the problem?

[Edit] I think I'll try using Boost Threading. There were 8 different options or so in the installer. Which do I use?

stickymango

11-12-2008 11:25:53

Can you post the log, its almost certainly a hardware issue... :?

I don't think BOOST will be having any effect, you only need to choose BOOST Threads..

Dude_Person

12-12-2008 02:54:57

I'm assuming your talking about the Ogre Log.

Here it is:


02:16:15: Creating resource group General
02:16:15: Creating resource group Internal
02:16:15: Creating resource group Autodetect
02:16:15: SceneManagerFactory for type 'DefaultSceneManager' registered.
02:16:15: Registering ResourceManager for type Material
02:16:15: Registering ResourceManager for type Mesh
02:16:15: Registering ResourceManager for type Skeleton
02:16:15: MovableObjectFactory for type 'ParticleSystem' registered.
02:16:15: OverlayElementFactory for type Panel registered.
02:16:15: OverlayElementFactory for type BorderPanel registered.
02:16:15: OverlayElementFactory for type TextArea registered.
02:16:15: Registering ResourceManager for type Font
02:16:15: ArchiveFactory for archive type FileSystem registered.
02:16:15: ArchiveFactory for archive type Zip registered.
02:16:15: FreeImage version: 3.10.0
02:16:15: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
02:16:15: 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
02:16:15: DDS codec registering
02:16:15: Registering ResourceManager for type HighLevelGpuProgram
02:16:15: Registering ResourceManager for type Compositor
02:16:15: MovableObjectFactory for type 'Entity' registered.
02:16:15: MovableObjectFactory for type 'Light' registered.
02:16:15: MovableObjectFactory for type 'BillboardSet' registered.
02:16:15: MovableObjectFactory for type 'ManualObject' registered.
02:16:15: MovableObjectFactory for type 'BillboardChain' registered.
02:16:15: MovableObjectFactory for type 'RibbonTrail' registered.
02:16:15: Loading library .\RenderSystem_Direct3D9
02:16:15: Installing plugin: D3D9 RenderSystem
02:16:15: D3D9 : Direct3D9 Rendering Subsystem created.
02:16:15: D3D9: Driver Detection Starts
02:16:15: D3D9: Driver Detection Ends
02:16:15: Plugin successfully installed
02:16:15: Loading library .\RenderSystem_GL
02:16:15: Installing plugin: GL RenderSystem
02:16:15: OpenGL Rendering Subsystem created.
02:16:15: Plugin successfully installed
02:16:15: Loading library .\Plugin_ParticleFX
02:16:15: Installing plugin: ParticleFX
02:16:15: Particle Emitter Type 'Point' registered
02:16:15: Particle Emitter Type 'Box' registered
02:16:15: Particle Emitter Type 'Ellipsoid' registered
02:16:15: Particle Emitter Type 'Cylinder' registered
02:16:15: Particle Emitter Type 'Ring' registered
02:16:15: Particle Emitter Type 'HollowEllipsoid' registered
02:16:15: Particle Affector Type 'LinearForce' registered
02:16:15: Particle Affector Type 'ColourFader' registered
02:16:15: Particle Affector Type 'ColourFader2' registered
02:16:15: Particle Affector Type 'ColourImage' registered
02:16:15: Particle Affector Type 'ColourInterpolator' registered
02:16:15: Particle Affector Type 'Scaler' registered
02:16:15: Particle Affector Type 'Rotator' registered
02:16:15: Particle Affector Type 'DirectionRandomiser' registered
02:16:15: Particle Affector Type 'DeflectorPlane' registered
02:16:15: Plugin successfully installed
02:16:15: Loading library .\Plugin_BSPSceneManager
02:16:15: Installing plugin: BSP Scene Manager
02:16:15: Plugin successfully installed
02:16:15: Loading library .\Plugin_CgProgramManager
02:16:15: Installing plugin: Cg Program Manager
02:16:15: Plugin successfully installed
02:16:15: Loading library .\Plugin_PCZSceneManager.dll
02:16:15: Installing plugin: Portal Connected Zone Scene Manager
02:16:15: PCZone Factory Type 'ZoneType_Default' registered
02:16:15: Plugin successfully installed
02:16:15: Loading library .\Plugin_OctreeZone.dll
02:16:15: Installing plugin: Octree Zone Factory
02:16:15: Plugin successfully installed
02:16:15: Loading library .\Plugin_OctreeSceneManager
02:16:15: Installing plugin: Octree & Terrain Scene Manager
02:16:15: Plugin successfully installed
02:16:15: *-*-* OGRE Initialising
02:16:15: *-*-* Version 1.6.0 (Shoggoth)
02:16:15: Creating resource group Bootstrap
02:16:15: Added resource location '../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
02:16:15: Added resource location '../media' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/fonts' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/materials/programs' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/materials/scripts' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/materials/textures' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/models' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/overlays' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/particle' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/gui' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/QuickGUI' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/Sound' of type 'FileSystem' to resource group 'General'
02:16:15: Added resource location '../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
02:16:15: Added resource location '../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
02:16:15: Added resource location '../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
02:16:15: Added resource location '../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
02:16:15: Added resource location '../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
02:16:15: Added resource location '../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
02:16:15: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
02:16:15: D3D9 : RenderSystem Option: Anti aliasing = None
02:16:15: D3D9 : RenderSystem Option: Floating-point mode = Consistent
02:16:15: D3D9 : RenderSystem Option: Full Screen = Yes
02:16:15: D3D9 : RenderSystem Option: Rendering Device = ATI Radeon HD 2900 XT
02:16:15: D3D9 : RenderSystem Option: VSync = No
02:16:15: D3D9 : RenderSystem Option: Video Mode = 1920 x 1200 @ 32-bit colour
02:16:15: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
02:16:16: CPU Identifier & Features
02:16:16: -------------------------
02:16:16: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
02:16:16: * SSE: yes
02:16:16: * SSE2: yes
02:16:16: * SSE3: yes
02:16:16: * MMX: yes
02:16:16: * MMXEXT: yes
02:16:16: * 3DNOW: no
02:16:16: * 3DNOWEXT: no
02:16:16: * CMOV: yes
02:16:16: * TSC: yes
02:16:16: * FPU: yes
02:16:16: * PRO: yes
02:16:16: * HT: no
02:16:16: -------------------------
02:16:16: D3D9 : Subsystem Initialising
02:16:16: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 1920x1200 fullscreen miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false
02:16:16: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 1920x1200, 32bpp
02:16:16: Registering ResourceManager for type Texture
02:16:16: Registering ResourceManager for type GpuProgram
02:16:16: D3D9: Vertex texture format supported - PF_L8
02:16:16: D3D9: Vertex texture format supported - PF_L16
02:16:16: D3D9: Vertex texture format supported - PF_A8
02:16:16: D3D9: Vertex texture format supported - PF_A4L4
02:16:16: D3D9: Vertex texture format supported - PF_BYTE_LA
02:16:16: D3D9: Vertex texture format supported - PF_R5G6B5
02:16:16: D3D9: Vertex texture format supported - PF_B5G6R5
02:16:16: D3D9: Vertex texture format supported - PF_A4R4G4B4
02:16:16: D3D9: Vertex texture format supported - PF_A1R5G5B5
02:16:16: D3D9: Vertex texture format supported - PF_A8R8G8B8
02:16:16: D3D9: Vertex texture format supported - PF_B8G8R8A8
02:16:16: D3D9: Vertex texture format supported - PF_A2R10G10B10
02:16:16: D3D9: Vertex texture format supported - PF_A2B10G10R10
02:16:16: D3D9: Vertex texture format supported - PF_DXT1
02:16:16: D3D9: Vertex texture format supported - PF_DXT2
02:16:16: D3D9: Vertex texture format supported - PF_DXT3
02:16:16: D3D9: Vertex texture format supported - PF_DXT4
02:16:16: D3D9: Vertex texture format supported - PF_DXT5
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
02:16:16: D3D9: Vertex texture format supported - PF_X8R8G8B8
02:16:16: D3D9: Vertex texture format supported - PF_X8B8G8R8
02:16:16: D3D9: Vertex texture format supported - PF_R8G8B8A8
02:16:16: D3D9: Vertex texture format supported - PF_DEPTH
02:16:16: D3D9: Vertex texture format supported - PF_SHORT_RGBA
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT16_R
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT32_R
02:16:16: D3D9: Vertex texture format supported - PF_SHORT_GR
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT16_GR
02:16:16: D3D9: Vertex texture format supported - PF_FLOAT32_GR
02:16:16: D3D9: Vertex texture format supported - PF_SHORT_RGB
02:16:16: RenderSystem capabilities
02:16:16: -------------------------
02:16:16: RenderSystem Name: Direct3D9 Rendering Subsystem
02:16:16: GPU Vendor: ati
02:16:16: Device Name: ATI Radeon HD 2900 XT
02:16:16: Driver Version: 7.14.10.618
02:16:16: * Fixed function pipeline: yes
02:16:16: * Hardware generation of mipmaps: yes
02:16:16: * Texture blending: yes
02:16:16: * Anisotropic texture filtering: yes
02:16:16: * Dot product texture operation: yes
02:16:16: * Cube mapping: yes
02:16:16: * Hardware stencil buffer: yes
02:16:16: - Stencil depth: 8
02:16:16: - Two sided stencil support: yes
02:16:16: - Wrap stencil values: yes
02:16:16: * Hardware vertex / index buffers: yes
02:16:16: * Vertex programs: yes
02:16:16: * Fragment programs: yes
02:16:16: * Geometry programs: no
02:16:16: * 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
02:16:16: * Texture Compression: yes
02:16:16: - DXT: yes
02:16:16: - VTC: no
02:16:16: * Scissor Rectangle: yes
02:16:16: * Hardware Occlusion Query: yes
02:16:16: * User clip planes: yes
02:16:16: * VET_UBYTE4 vertex element type: yes
02:16:16: * Infinite far plane projection: yes
02:16:16: * Hardware render-to-texture: yes
02:16:16: * Floating point textures: yes
02:16:16: * Non-power-of-two textures: yes
02:16:16: * Volume textures: yes
02:16:16: * Multiple Render Targets: 4
02:16:16: - With different bit depths: yes
02:16:16: * Point Sprites: yes
02:16:16: * Extended point parameters: yes
02:16:16: * Max Point Size: 256
02:16:16: * Vertex texture fetch: yes
02:16:16: - Max vertex textures: 4
02:16:16: - Vertex textures shared: no
02:16:16: * Render to Vertex Buffer : no
02:16:16: * DirectX per stage constants: yes
02:16:16: ***************************************
02:16:16: *** D3D9 : Subsystem Initialised OK ***
02:16:16: ***************************************
02:16:16: ResourceBackgroundQueue - threading disabled
02:16:16: Particle Renderer Type 'billboard' registered
02:16:16: SceneManagerFactory for type 'BspSceneManager' registered.
02:16:16: Registering ResourceManager for type BspLevel
02:16:16: SceneManagerFactory for type 'PCZSceneManager' registered.
02:16:16: MovableObjectFactory for type 'PCZLight' registered.
02:16:16: PCZone Factory Type 'ZoneType_Octree' registered
02:16:16: PCZone Factory Type 'ZoneType_Terrain' registered
02:16:16: SceneManagerFactory for type 'OctreeSceneManager' registered.
02:16:16: SceneManagerFactory for type 'TerrainSceneManager' registered.
02:16:16: Parsing scripts for resource group Autodetect
02:16:16: Finished parsing scripts for resource group Autodetect
02:16:16: Parsing scripts for resource group Bootstrap
02:16:16: Parsing script OgreCore.material
02:16:16: Parsing script OgreProfiler.material
02:16:16: Parsing script Ogre.fontdef
02:16:16: Parsing script OgreDebugPanel.overlay
02:16:16: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
02:16:16: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
02:16:16: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
02:16:16: Font BlueHighwayusing texture size 512x512
02:16:16: Info: Freetype returned null for character 127 in font BlueHighway
02:16:16: Info: Freetype returned null for character 128 in font BlueHighway
02:16:16: Info: Freetype returned null for character 129 in font BlueHighway
02:16:16: Info: Freetype returned null for character 130 in font BlueHighway
02:16:16: Info: Freetype returned null for character 131 in font BlueHighway
02:16:16: Info: Freetype returned null for character 132 in font BlueHighway
02:16:16: Info: Freetype returned null for character 133 in font BlueHighway
02:16:16: Info: Freetype returned null for character 134 in font BlueHighway
02:16:16: Info: Freetype returned null for character 135 in font BlueHighway
02:16:16: Info: Freetype returned null for character 136 in font BlueHighway
02:16:16: Info: Freetype returned null for character 137 in font BlueHighway
02:16:16: Info: Freetype returned null for character 138 in font BlueHighway
02:16:16: Info: Freetype returned null for character 139 in font BlueHighway
02:16:16: Info: Freetype returned null for character 140 in font BlueHighway
02:16:16: Info: Freetype returned null for character 141 in font BlueHighway
02:16:16: Info: Freetype returned null for character 142 in font BlueHighway
02:16:16: Info: Freetype returned null for character 143 in font BlueHighway
02:16:16: Info: Freetype returned null for character 144 in font BlueHighway
02:16:16: Info: Freetype returned null for character 145 in font BlueHighway
02:16:16: Info: Freetype returned null for character 146 in font BlueHighway
02:16:16: Info: Freetype returned null for character 147 in font BlueHighway
02:16:16: Info: Freetype returned null for character 148 in font BlueHighway
02:16:16: Info: Freetype returned null for character 149 in font BlueHighway
02:16:16: Info: Freetype returned null for character 150 in font BlueHighway
02:16:16: Info: Freetype returned null for character 151 in font BlueHighway
02:16:16: Info: Freetype returned null for character 152 in font BlueHighway
02:16:16: Info: Freetype returned null for character 153 in font BlueHighway
02:16:16: Info: Freetype returned null for character 154 in font BlueHighway
02:16:16: Info: Freetype returned null for character 155 in font BlueHighway
02:16:16: Info: Freetype returned null for character 156 in font BlueHighway
02:16:16: Info: Freetype returned null for character 157 in font BlueHighway
02:16:16: Info: Freetype returned null for character 158 in font BlueHighway
02:16:16: Info: Freetype returned null for character 159 in font BlueHighway
02:16:16: Info: Freetype returned null for character 160 in font BlueHighway
02:16:16: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
02:16:16: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
02:16:16: Parsing script OgreLoadingPanel.overlay
02:16:16: Finished parsing scripts for resource group Bootstrap
02:16:16: Parsing scripts for resource group General
02:16:16: Parsing script Examples.program
02:16:16: Parsing script StdQuad_vp.program
02:16:16: Parsing script deferred.glsl.program
02:16:16: Parsing script deferred.hlsl.program
02:16:16: Parsing script deferred.program
02:16:16: Parsing script deferred_post_ambient.program
02:16:16: Parsing script deferred_post_debug.glsl.program
02:16:16: Parsing script deferred_post_debug.hlsl.program
02:16:16: Parsing script deferred_post_debug.program
02:16:16: Parsing script deferred_post_minilight.glsl.program
02:16:16: Parsing script deferred_post_minilight.hlsl.program
02:16:17: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
02:16:17: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
02:16:17: Parsing script deferred_post_minilight.program
02:16:17: Parsing script deferred_post_multipass.glsl.program
02:16:17: Parsing script deferred_post_multipass.hlsl.program
02:16:17: Parsing script deferred_post_onepass.glsl.program
02:16:17: Parsing script deferred_post_onepass.hlsl.program
02:16:17: Parsing script deferred_post_vs.program
02:16:17: Parsing script ASCII.material
02:16:17: Parsing script ASMSwizzle.material
02:16:17: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
02:16:17: Parsing script BlackAndWhite.material
02:16:17: Parsing script Bloom.material
02:16:17: Parsing script Bloom2.material
02:16:17: Parsing script CGSwizzle.material
02:16:17: Parsing script DepthShadowmap.material
02:16:17: Parsing script Dither.material
02:16:17: Parsing script DOF.material
02:16:17: Parsing script Embossed.material
02:16:17: Parsing script Example-DynTex.material
02:16:17: Parsing script Example-Water.material
02:16:17: Parsing script Example.material
02:16:17: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
02:16:17: Compiler error: invalid parameters in Example.material(762): setting of constant failed
02:16:17: Parsing script Examples-Advanced.material
02:16:17: Parsing script facial.material
02:16:17: Parsing script Glass.material
02:16:17: Parsing script GLSLSwizzle.material
02:16:17: Parsing script Halftone.material
02:16:17: Parsing script hdr.material
02:16:17: Parsing script HeatVision.material
02:16:17: Parsing script Hurt.material
02:16:17: Parsing script instancing.material
02:16:17: Parsing script Invert.material
02:16:17: Parsing script IsoSurf.material
02:16:17: Parsing script Laplace.material
02:16:17: Parsing script MotionBlur.material
02:16:17: Parsing script MRTtest.material
02:16:17: Parsing script NightVision.material
02:16:17: Parsing script Ocean.material
02:16:17: Parsing script OffsetMapping.material
02:16:17: Parsing script Ogre.material
02:16:17: Parsing script OldMovie.material
02:16:17: Parsing script OldTV.material
02:16:17: Parsing script ParticleGS.material
02:16:17: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
02:16:17: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
02:16:17: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
02:16:17: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
02:16:17: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
02:16:17: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
02:16:17: Parsing script Posterize.material
02:16:17: Parsing script pssm.material
02:16:17: Parsing script RadialBlur.material
02:16:17: Parsing script RZR-002.material
02:16:17: Parsing script SharpenEdges.material
02:16:17: Parsing script smoke.material
02:16:17: Parsing script Tiling.material
02:16:17: Parsing script VarianceShadowmap.material
02:16:17: Parsing script deferred.material
02:16:17: Parsing script deferreddemo.material
02:16:17: Parsing script deferred_post_ambient.material
02:16:17: Parsing script deferred_post_debug.material
02:16:17: Parsing script deferred_post_minilight.material
02:16:17: Parsing script deferred_post_multipass.material
02:16:17: Parsing script deferred_post_onepass.material
02:16:17: Parsing script ROOM.material
02:16:17: Parsing script Example.material
02:16:17: Parsing script RomanBath.material
02:16:17: Parsing script emitted_emitter.particle
02:16:17: Parsing script Example-Water.particle
02:16:17: Parsing script Example.particle
02:16:17: Parsing script smoke.particle
02:16:17: Parsing script Examples.compositor
02:16:17: Parsing script deferred.compositor
02:16:17: Parsing script Button.skinTypes
02:16:17: Parsing script HScrollBar.skinTypes
02:16:17: Parsing script Image.skinTypes
02:16:17: Parsing script Label.skinTypes
02:16:17: Parsing script List.skinTypes
02:16:17: Parsing script ListTextItem.skinTypes
02:16:17: Parsing script Menu.skinTypes
02:16:17: Parsing script MenuLabel.skinTypes
02:16:17: Parsing script MenuPanel.skinTypes
02:16:17: Parsing script MouseCursor.skinTypes
02:16:17: Parsing script Panel.skinTypes
02:16:17: Parsing script ProgressBar.skinTypes
02:16:17: Parsing script Sheet.skinTypes
02:16:17: Parsing script TextArea.skinTypes
02:16:17: Parsing script TextBox.skinTypes
02:16:17: Parsing script TitleBar.skinTypes
02:16:17: Parsing script ToolBar.skinTypes
02:16:17: Parsing script VScrollBar.skinTypes
02:16:17: Parsing script Window.skinTypes
02:16:17: Parsing script CS.fontdef
02:16:17: Parsing script sample.fontdef
02:16:17: Parsing script micross.fontdef
02:16:17: Parsing script Compositor.overlay
02:16:17: Parsing script DP3.overlay
02:16:17: Parsing script Example-CubeMapping.overlay
02:16:17: Parsing script Example-DynTex.overlay
02:16:17: Parsing script Example-Water.overlay
02:16:17: Parsing script Shadows.overlay
02:16:17: Finished parsing scripts for resource group General
02:16:17: Parsing scripts for resource group Internal
02:16:17: Finished parsing scripts for resource group Internal
02:16:17: *** Initializing OIS ***
02:16:18: ***********************************
02:16:18: *** --- Initialising OpenAL --- ***
02:16:18: ***********************************
02:16:18: *** --- OpenAL version 1.1
02:16:18: *** --- AVAILABLE DEVICES --- ***
02:16:18: *** --- Auzen X-Fi Audio [EC00]
02:16:18: *** --- Generic Software
02:16:18: *** --- Choosing: Auzen X-Fi Audio [EC00] (Default device)
02:16:18: *** --- OpenAL Device successfully created


02:16:18: *** --- OpenAL Context successfully created
02:16:18: *** --- SUPPORTED FORMATS
02:16:18: *** --- EFX Detected
02:16:18: *** --- 0 Auxiliary Effect Slot(s)
02:16:18: *** --- 1 Auxiliary Send(s) per Source
02:16:18: *** --- EFFECTS SUPPORTED:
02:16:18: *** --- 'Reverb' Support: YES
02:16:18: *** --- 'EAX Reverb' Support: YES
02:16:18: *** --- 'Chorus' Support: YES
02:16:18: *** --- 'Distortion' Support: YES
02:16:18: *** --- 'Echo' Support: YES
02:16:18: *** --- 'Flanger' Support: YES
02:16:18: *** --- 'Frequency shifter' Support: YES
02:16:18: *** --- 'Vocal Morpher' Support: YES
02:16:18: *** --- 'Pitch shifter' Support: YES
02:16:18: *** --- 'Ring modulator' Support: YES
02:16:18: *** --- 'Autowah' Support: YES
02:16:18: *** --- 'Compressor' Support: YES
02:16:18: *** --- 'Equalizer' Support: YES
02:16:18: *** --- FILTERS SUPPORTED:
02:16:18: *** --- 'Low Pass' Support: YES
02:16:18: *** --- 'High Pass' Support: NO
02:16:18: *** --- 'Band Pass' Support: NO
02:16:18: *** --- X-RAM Detected
02:16:18: *** --- X-RAM Size(MB): 64 Free(MB):62
02:16:18: *** --- EAX 3.0 Detected
02:16:18: *** --- Created 63 sources for simultaneous sounds
02:16:18: *** --- Using BOOST threads for streaming
02:16:18: ***********************************
02:16:18: *** --- OpenAL Initialised --- ***
02:16:18: ***********************************
02:16:18: Mesh: Loading ogrehead.mesh.
02:16:18: Texture: WeirdEye.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
02:16:18: Texture: GreenSkin.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
02:16:18: Texture: spheremap.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
02:16:18: Texture: dirt01.jpg: Loading 1 faces(PF_R8G8B8,96x96x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,96x96x1.
02:16:57: Font Consoleusing texture size 512x256
02:16:57: Info: Freetype returned null for character 160 in font Console
02:16:57: Texture: ConsoleTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
02:16:57: Texture: conBack75.png: Loading 1 faces(PF_A8R8G8B8,1x1x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1x1x1.
02:16:57: Texture: conBack50.png: Loading 1 faces(PF_A8R8G8B8,1x1x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1x1x1.
02:16:57: Texture: TypeCursor.png: Loading 1 faces(PF_A8R8G8B8,10x1x1) with 3 generated mipmaps from Image. Internal format is PF_A8R8G8B8,10x1x1.
02:17:00: PCZone Factory Type 'ZoneType_Octree' unregistered
02:17:00: PCZone Factory Type 'ZoneType_Terrain' unregistered
02:17:00: Unregistering ResourceManager for type BspLevel
02:17:00: *-*-* OGRE Shutdown
02:17:00: Unregistering ResourceManager for type Compositor
02:17:00: Unregistering ResourceManager for type Font
02:17:00: Unregistering ResourceManager for type Skeleton
02:17:00: Unregistering ResourceManager for type Mesh
02:17:00: Unregistering ResourceManager for type HighLevelGpuProgram
02:17:00: Uninstalling plugin: Octree & Terrain Scene Manager
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\Plugin_OctreeSceneManager
02:17:00: Uninstalling plugin: Octree Zone Factory
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\Plugin_OctreeZone.dll
02:17:00: Uninstalling plugin: Portal Connected Zone Scene Manager
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\Plugin_PCZSceneManager.dll
02:17:00: Uninstalling plugin: Cg Program Manager
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\Plugin_CgProgramManager
02:17:00: Uninstalling plugin: BSP Scene Manager
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\Plugin_BSPSceneManager
02:17:00: Uninstalling plugin: ParticleFX
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\Plugin_ParticleFX
02:17:00: Uninstalling plugin: GL RenderSystem
02:17:00: *** Stopping Win32GL Subsystem ***
02:17:00: Plugin successfully uninstalled
02:17:00: Unloading library .\RenderSystem_GL
02:17:00: Uninstalling plugin: D3D9 RenderSystem
02:17:01: D3D9 : Shutting down cleanly.
02:17:01: Unregistering ResourceManager for type Texture
02:17:01: Unregistering ResourceManager for type GpuProgram
02:17:01: D3D9 : Direct3D9 Rendering Subsystem destroyed.
02:17:01: Plugin successfully uninstalled
02:17:01: Unloading library .\RenderSystem_Direct3D9
02:17:01: Unregistering ResourceManager for type Material


[EDIT] I just noticed it said using Boost Threads. I must not have disabled it right.

Dude_Person

12-12-2008 03:17:55

I got'er figured. I hadn't compiled the dll right. It was trying to use Boost Threading. As a question though, what kind of performance difference does the multithreading make. Is it worth looking into?

stickymango

12-12-2008 09:35:07

Ah, thats great news!

Multi-threading has no performance difference, its sole purpose is to address the problem of updating a streaming sound whilst an application performs some blocking function, for example loading/creating scene geometry.

Without a separate thread to manage the buffer updates the sound would stop playing during this situation.

Looking at your specs I see you have XRAM support, can you confirm that the XRAM support works as I don't have access to that hardware, it should automatically use XRAM when detected so I was wondering if this wasn't working properly and causing your issue..

Thanks,

Pan24

14-01-2009 19:18:24

Hi! I'm getting a similar log when I try to compile Beginners Tut2. How did you manage to solve your problem?

20:38:23: Creating resource group General
20:38:23: Creating resource group Internal
20:38:23: Creating resource group Autodetect
20:38:23: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:38:23: Registering ResourceManager for type Material
20:38:23: Registering ResourceManager for type Mesh
20:38:23: Registering ResourceManager for type Skeleton
20:38:23: MovableObjectFactory for type 'ParticleSystem' registered.
20:38:23: OverlayElementFactory for type Panel registered.
20:38:23: OverlayElementFactory for type BorderPanel registered.
20:38:23: OverlayElementFactory for type TextArea registered.
20:38:23: Registering ResourceManager for type Font
20:38:23: ArchiveFactory for archive type FileSystem registered.
20:38:23: ArchiveFactory for archive type Zip registered.
20:38:23: FreeImage version: 3.10.0
20:38:23: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
20:38:23: 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
20:38:23: DDS codec registering
20:38:23: Registering ResourceManager for type HighLevelGpuProgram
20:38:23: Registering ResourceManager for type Compositor
20:38:23: MovableObjectFactory for type 'Entity' registered.
20:38:23: MovableObjectFactory for type 'Light' registered.
20:38:23: MovableObjectFactory for type 'BillboardSet' registered.
20:38:23: MovableObjectFactory for type 'ManualObject' registered.
20:38:23: MovableObjectFactory for type 'BillboardChain' registered.
20:38:23: MovableObjectFactory for type 'RibbonTrail' registered.
20:38:23: Loading library .\RenderSystem_Direct3D9_d
20:38:25: Installing plugin: D3D9 RenderSystem
20:38:25: D3D9 : Direct3D9 Rendering Subsystem created.
20:38:25: D3D9: Driver Detection Starts
20:38:25: D3D9: Driver Detection Ends
20:38:25: Plugin successfully installed
20:38:25: Loading library .\RenderSystem_GL_d
20:38:25: Installing plugin: GL RenderSystem
20:38:25: OpenGL Rendering Subsystem created.
20:38:25: Plugin successfully installed
20:38:25: Loading library .\Plugin_ParticleFX_d
20:38:26: Installing plugin: ParticleFX
20:38:26: Particle Emitter Type 'Point' registered
20:38:26: Particle Emitter Type 'Box' registered
20:38:26: Particle Emitter Type 'Ellipsoid' registered
20:38:26: Particle Emitter Type 'Cylinder' registered
20:38:26: Particle Emitter Type 'Ring' registered
20:38:26: Particle Emitter Type 'HollowEllipsoid' registered
20:38:26: Particle Affector Type 'LinearForce' registered
20:38:26: Particle Affector Type 'ColourFader' registered
20:38:26: Particle Affector Type 'ColourFader2' registered
20:38:26: Particle Affector Type 'ColourImage' registered
20:38:26: Particle Affector Type 'ColourInterpolator' registered
20:38:26: Particle Affector Type 'Scaler' registered
20:38:26: Particle Affector Type 'Rotator' registered
20:38:26: Particle Affector Type 'DirectionRandomiser' registered
20:38:26: Particle Affector Type 'DeflectorPlane' registered
20:38:26: Plugin successfully installed
20:38:26: Loading library .\Plugin_BSPSceneManager_d
20:38:26: Installing plugin: BSP Scene Manager
20:38:26: Plugin successfully installed
20:38:26: Loading library .\Plugin_CgProgramManager_d
20:38:26: Installing plugin: Cg Program Manager
20:38:26: Plugin successfully installed
20:38:26: Loading library .\Plugin_PCZSceneManager_d.dll
20:38:26: Installing plugin: Portal Connected Zone Scene Manager
20:38:26: PCZone Factory Type 'ZoneType_Default' registered
20:38:26: Plugin successfully installed
20:38:26: Loading library .\Plugin_OctreeZone_d.dll
20:38:26: Installing plugin: Octree Zone Factory
20:38:26: Plugin successfully installed
20:38:26: Loading library .\Plugin_OctreeSceneManager_d
20:38:27: Installing plugin: Octree & Terrain Scene Manager
20:38:27: Plugin successfully installed
20:38:27: *-*-* OGRE Initialising
20:38:27: *-*-* Version 1.6.0 (Shoggoth)
20:38:27: Creating resource group Bootstrap
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
20:38:27: Added resource location 'C:/OgreSDKV9/media' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/fonts' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/materials/programs' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/materials/scripts' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/materials/textures' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/models' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/overlays' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/particle' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/gui' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/dragon.zip' of type 'Zip' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
20:38:27: Added resource location 'C:/OgreSDKV9/media/packs/skybox.zip' of type 'Zip' to resource group 'General'
20:38:27: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
20:38:27: D3D9 : RenderSystem Option: Anti aliasing = None
20:38:27: D3D9 : RenderSystem Option: Floating-point mode = Fastest
20:38:27: D3D9 : RenderSystem Option: Full Screen = Yes
20:38:27: D3D9 : RenderSystem Option: Rendering Device = Mobile Intel(R) 945GM Express Chipset Family
20:38:27: D3D9 : RenderSystem Option: VSync = No
20:38:27: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
20:38:27: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
20:38:30: CPU Identifier & Features
20:38:30: -------------------------
20:38:30: * CPU ID: GenuineIntel: Genuine Intel(R) CPU T2050 @ 1.60GHz
20:38:30: * SSE: yes
20:38:30: * SSE2: yes
20:38:30: * SSE3: yes
20:38:30: * MMX: yes
20:38:30: * MMXEXT: yes
20:38:30: * 3DNOW: no
20:38:30: * 3DNOWEXT: no
20:38:30: * CMOV: yes
20:38:30: * TSC: yes
20:38:30: * FPU: yes
20:38:30: * PRO: yes
20:38:30: * HT: no
20:38:30: -------------------------
20:38:30: D3D9 : Subsystem Initialising
20:38:30: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 800x600 fullscreen miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false
20:38:30: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
20:38:32: Registering ResourceManager for type Texture
20:38:32: Registering ResourceManager for type GpuProgram
20:38:32: RenderSystem capabilities
20:38:32: -------------------------
20:38:32: RenderSystem Name: Direct3D9 Rendering Subsystem
20:38:32: GPU Vendor: intel
20:38:32: Device Name: Mobile Intel(R) 945GM Express Chipset Family
20:38:32: Driver Version: 6.14.10.4543
20:38:32: * Fixed function pipeline: yes
20:38:32: * Hardware generation of mipmaps: no
20:38:32: * Texture blending: yes
20:38:32: * Anisotropic texture filtering: yes
20:38:32: * Dot product texture operation: yes
20:38:32: * Cube mapping: yes
20:38:32: * Hardware stencil buffer: yes
20:38:32: - Stencil depth: 8
20:38:32: - Two sided stencil support: yes
20:38:32: - Wrap stencil values: yes
20:38:32: * Hardware vertex / index buffers: yes
20:38:32: * Vertex programs: yes
20:38:32: * Fragment programs: yes
20:38:32: * Geometry programs: no
20:38:32: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
20:38:32: * Texture Compression: yes
20:38:32: - DXT: yes
20:38:32: - VTC: no
20:38:32: * Scissor Rectangle: yes
20:38:32: * Hardware Occlusion Query: no
20:38:32: * User clip planes: yes
20:38:32: * VET_UBYTE4 vertex element type: yes
20:38:32: * Infinite far plane projection: yes
20:38:32: * Hardware render-to-texture: yes
20:38:32: * Floating point textures: no
20:38:32: * Non-power-of-two textures: yes (limited)
20:38:32: * Volume textures: yes
20:38:32: * Multiple Render Targets: 1
20:38:32: - With different bit depths: no
20:38:32: * Point Sprites: yes
20:38:32: * Extended point parameters: yes
20:38:32: * Max Point Size: 256
20:38:32: * Vertex texture fetch: no
20:38:32: * Render to Vertex Buffer : no
20:38:32: * DirectX per stage constants: yes
20:38:32: ***************************************
20:38:32: *** D3D9 : Subsystem Initialised OK ***
20:38:32: ***************************************
20:38:32: ResourceBackgroundQueue - threading disabled
20:38:32: Particle Renderer Type 'billboard' registered
20:38:32: SceneManagerFactory for type 'BspSceneManager' registered.
20:38:32: Registering ResourceManager for type BspLevel
20:38:32: SceneManagerFactory for type 'PCZSceneManager' registered.
20:38:32: MovableObjectFactory for type 'PCZLight' registered.
20:38:32: PCZone Factory Type 'ZoneType_Octree' registered
20:38:32: PCZone Factory Type 'ZoneType_Terrain' registered
20:38:32: SceneManagerFactory for type 'OctreeSceneManager' registered.
20:38:32: SceneManagerFactory for type 'TerrainSceneManager' registered.
20:38:32: Parsing scripts for resource group Autodetect
20:38:32: Finished parsing scripts for resource group Autodetect
20:38:32: Parsing scripts for resource group Bootstrap
20:38:32: Parsing script OgreCore.material
20:38:32: Parsing script OgreProfiler.material
20:38:32: Parsing script Ogre.fontdef
20:38:32: Parsing script OgreDebugPanel.overlay
20:38:32: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
20:38:32: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
20:38:32: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:38:32: Font BlueHighwayusing texture size 512x512
20:38:32: Info: Freetype returned null for character 127 in font BlueHighway
20:38:32: Info: Freetype returned null for character 128 in font BlueHighway
20:38:32: Info: Freetype returned null for character 129 in font BlueHighway
20:38:32: Info: Freetype returned null for character 130 in font BlueHighway
20:38:32: Info: Freetype returned null for character 131 in font BlueHighway
20:38:32: Info: Freetype returned null for character 132 in font BlueHighway
20:38:32: Info: Freetype returned null for character 133 in font BlueHighway
20:38:32: Info: Freetype returned null for character 134 in font BlueHighway
20:38:32: Info: Freetype returned null for character 135 in font BlueHighway
20:38:32: Info: Freetype returned null for character 136 in font BlueHighway
20:38:32: Info: Freetype returned null for character 137 in font BlueHighway
20:38:32: Info: Freetype returned null for character 138 in font BlueHighway
20:38:32: Info: Freetype returned null for character 139 in font BlueHighway
20:38:32: Info: Freetype returned null for character 140 in font BlueHighway
20:38:32: Info: Freetype returned null for character 141 in font BlueHighway
20:38:32: Info: Freetype returned null for character 142 in font BlueHighway
20:38:32: Info: Freetype returned null for character 143 in font BlueHighway
20:38:32: Info: Freetype returned null for character 144 in font BlueHighway
20:38:32: Info: Freetype returned null for character 145 in font BlueHighway
20:38:32: Info: Freetype returned null for character 146 in font BlueHighway
20:38:32: Info: Freetype returned null for character 147 in font BlueHighway
20:38:32: Info: Freetype returned null for character 148 in font BlueHighway
20:38:32: Info: Freetype returned null for character 149 in font BlueHighway
20:38:32: Info: Freetype returned null for character 150 in font BlueHighway
20:38:32: Info: Freetype returned null for character 151 in font BlueHighway
20:38:32: Info: Freetype returned null for character 152 in font BlueHighway
20:38:32: Info: Freetype returned null for character 153 in font BlueHighway
20:38:32: Info: Freetype returned null for character 154 in font BlueHighway
20:38:32: Info: Freetype returned null for character 155 in font BlueHighway
20:38:32: Info: Freetype returned null for character 156 in font BlueHighway
20:38:32: Info: Freetype returned null for character 157 in font BlueHighway
20:38:32: Info: Freetype returned null for character 158 in font BlueHighway
20:38:32: Info: Freetype returned null for character 159 in font BlueHighway
20:38:32: Info: Freetype returned null for character 160 in font BlueHighway
20:38:32: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
20:38:32: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
20:38:32: Parsing script OgreLoadingPanel.overlay
20:38:32: Finished parsing scripts for resource group Bootstrap
20:38:32: Parsing scripts for resource group General
20:38:32: Parsing script Examples.program
20:38:33: Parsing script StdQuad_vp.program
20:38:33: Parsing script deferred.glsl.program
20:38:33: Parsing script deferred.hlsl.program
20:38:33: Parsing script deferred.program
20:38:33: Parsing script deferred_post_ambient.program
20:38:33: Parsing script deferred_post_debug.glsl.program
20:38:33: Parsing script deferred_post_debug.hlsl.program
20:38:33: Parsing script deferred_post_debug.program
20:38:33: Parsing script deferred_post_minilight.glsl.program
20:38:33: Parsing script deferred_post_minilight.hlsl.program
20:38:33: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
20:38:33: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
20:38:33: Parsing script deferred_post_minilight.program
20:38:33: Parsing script deferred_post_multipass.glsl.program
20:38:33: Parsing script deferred_post_multipass.hlsl.program
20:38:33: Parsing script deferred_post_onepass.glsl.program
20:38:33: Parsing script deferred_post_onepass.hlsl.program
20:38:33: Parsing script deferred_post_vs.program
20:38:33: Parsing script ASCII.material
20:38:33: Parsing script ASMSwizzle.material
20:38:33: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
20:38:33: Parsing script BlackAndWhite.material
20:38:33: Parsing script Bloom.material
20:38:33: Parsing script Bloom2.material
20:38:34: Parsing script CGSwizzle.material
20:38:34: Parsing script DOF.material
20:38:34: Parsing script DepthShadowmap.material
20:38:34: Parsing script Dither.material
20:38:34: Parsing script Embossed.material
20:38:34: Parsing script Example-DynTex.material
20:38:34: Parsing script Example-Water.material
20:38:34: Parsing script Example.material
20:38:34: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
20:38:34: Compiler error: invalid parameters in Example.material(762): setting of constant failed
20:38:35: Parsing script Examples-Advanced.material
20:38:35: Parsing script GLSLSwizzle.material
20:38:35: Parsing script Glass.material
20:38:35: Parsing script Halftone.material
20:38:35: Parsing script HeatVision.material
20:38:35: Parsing script Hurt.material
20:38:35: Parsing script Invert.material
20:38:35: Parsing script IsoSurf.material
20:38:35: Parsing script Laplace.material
20:38:35: Parsing script MRTtest.material
20:38:35: Parsing script MotionBlur.material
20:38:35: Parsing script NightVision.material
20:38:35: Parsing script Ocean.material
20:38:36: Parsing script OffsetMapping.material
20:38:36: Parsing script Ogre.material
20:38:36: Parsing script OldMovie.material
20:38:36: Parsing script OldTV.material
20:38:36: Parsing script ParticleGS.material
20:38:36: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at f:\codingextra\ogre\shoggoth_vc9\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
20:38:36: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at f:\codingextra\ogre\shoggoth_vc9\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
20:38:36: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at f:\codingextra\ogre\shoggoth_vc9\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
20:38:36: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at f:\codingextra\ogre\shoggoth_vc9\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
20:38:36: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at f:\codingextra\ogre\shoggoth_vc9\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
20:38:36: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at f:\codingextra\ogre\shoggoth_vc9\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
20:38:36: Parsing script Posterize.material
20:38:36: Parsing script RZR-002.material
20:38:36: Parsing script RadialBlur.material
20:38:36: Parsing script SharpenEdges.material
20:38:36: Parsing script Tiling.material
20:38:36: Parsing script VarianceShadowmap.material
20:38:36: Parsing script facial.material
20:38:36: Parsing script hdr.material
20:38:36: Parsing script instancing.material
20:38:37: Parsing script pssm.material
20:38:37: Parsing script smoke.material
20:38:37: Parsing script deferred.material
20:38:37: Parsing script deferred_post_ambient.material
20:38:37: Parsing script deferred_post_debug.material
20:38:37: Parsing script deferred_post_minilight.material
20:38:37: Parsing script deferred_post_multipass.material
20:38:37: Parsing script deferred_post_onepass.material
20:38:37: Parsing script deferreddemo.material
20:38:37: Parsing script ROOM.material
20:38:37: Parsing script RomanBath.material
20:38:37: Parsing script Example-Water.particle
20:38:37: Parsing script Example.particle
20:38:37: Parsing script emitted_emitter.particle
20:38:37: Parsing script smoke.particle
20:38:37: Parsing script Examples.compositor
20:38:37: Parsing script deferred.compositor
20:38:38: Parsing script sample.fontdef
20:38:38: Parsing script Compositor.overlay
20:38:38: Parsing script DP3.overlay
20:38:38: Parsing script Example-CubeMapping.overlay
20:38:38: Parsing script Example-DynTex.overlay
20:38:38: Parsing script Example-Water.overlay
20:38:38: Parsing script Shadows.overlay
20:38:38: Finished parsing scripts for resource group General
20:38:38: Parsing scripts for resource group Internal
20:38:38: Finished parsing scripts for resource group Internal
20:38:38: Mesh: Loading robot.mesh.
20:38:38: Skeleton: Loading robot.skeleton
20:38:38: Texture: r2skin.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
20:38:38: *** Initializing OIS ***
20:38:41: PCZone Factory Type 'ZoneType_Octree' unregistered
20:38:41: PCZone Factory Type 'ZoneType_Terrain' unregistered
20:38:41: Unregistering ResourceManager for type BspLevel
20:38:41: *-*-* OGRE Shutdown
20:38:41: Unregistering ResourceManager for type Compositor
20:38:41: Unregistering ResourceManager for type Font
20:38:41: Unregistering ResourceManager for type Skeleton
20:38:41: Unregistering ResourceManager for type Mesh
20:38:41: Unregistering ResourceManager for type HighLevelGpuProgram
20:38:41: Uninstalling plugin: Octree & Terrain Scene Manager
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\Plugin_OctreeSceneManager_d
20:38:41: Uninstalling plugin: Octree Zone Factory
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\Plugin_OctreeZone_d.dll
20:38:41: Uninstalling plugin: Portal Connected Zone Scene Manager
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\Plugin_PCZSceneManager_d.dll
20:38:41: Uninstalling plugin: Cg Program Manager
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\Plugin_CgProgramManager_d
20:38:41: Uninstalling plugin: BSP Scene Manager
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\Plugin_BSPSceneManager_d
20:38:41: Uninstalling plugin: ParticleFX
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\Plugin_ParticleFX_d
20:38:41: Uninstalling plugin: GL RenderSystem
20:38:41: *** Stopping Win32GL Subsystem ***
20:38:41: Plugin successfully uninstalled
20:38:41: Unloading library .\RenderSystem_GL_d
20:38:41: Uninstalling plugin: D3D9 RenderSystem
20:38:43: D3D9 : Shutting down cleanly.
20:38:43: Unregistering ResourceManager for type Texture
20:38:43: Unregistering ResourceManager for type GpuProgram
20:38:43: D3D9 : Direct3D9 Rendering Subsystem destroyed.
20:38:43: Plugin successfully uninstalled
20:38:43: Unloading library .\RenderSystem_Direct3D9_d
20:38:43: Unregistering ResourceManager for type Material

stickymango

14-01-2009 20:48:07

How is this related to OgreOggSound?

Pan24

15-01-2009 07:11:36

Hey sticky! Well its not at all related :oops: but i figured that the solution to this problem might aid me with my troubles. I cant find many other helpful posts for my situation.

xadh00m

15-01-2009 09:10:26

i figured that the solution to this problem might aid me with my troubles.
This is an inherent evidence somehow... :lol:

stickymango

15-01-2009 09:34:53

You don't say exactly what your problem is but I'd suggest posting on the main OGRE forum for more help. Is it the errors in your log file? :?

Xenomorph

12-03-2009 14:45:16

Now I finally got it to work in my project, so it compies and runs without errors, but now the problem is that it doesn't play any sound.
mSoundManager = new OgreOggSound::OgreOggSoundManager();
mSoundManager->init();
OgreOggSound::OgreOggISound *newSound = mSoundManager->createSound("testSound", "../../Media/Audio/test.ogg", true, false, false);
newSound->play();


and the log file:
10:43:02: Creating resource group General
10:43:02: Creating resource group Internal
10:43:02: Creating resource group Autodetect
10:43:02: SceneManagerFactory for type 'DefaultSceneManager' registered.
10:43:02: Registering ResourceManager for type Material
10:43:02: Registering ResourceManager for type Mesh
10:43:02: Registering ResourceManager for type Skeleton
10:43:02: MovableObjectFactory for type 'ParticleSystem' registered.
10:43:02: OverlayElementFactory for type Panel registered.
10:43:02: OverlayElementFactory for type BorderPanel registered.
10:43:02: OverlayElementFactory for type TextArea registered.
10:43:02: Registering ResourceManager for type Font
10:43:02: ArchiveFactory for archive type FileSystem registered.
10:43:02: ArchiveFactory for archive type Zip registered.
10:43:02: FreeImage version: 3.10.0
10:43:02: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
10:43:02: 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
10:43:02: DDS codec registering
10:43:02: Registering ResourceManager for type HighLevelGpuProgram
10:43:02: Registering ResourceManager for type Compositor
10:43:02: MovableObjectFactory for type 'Entity' registered.
10:43:02: MovableObjectFactory for type 'Light' registered.
10:43:02: MovableObjectFactory for type 'BillboardSet' registered.
10:43:02: MovableObjectFactory for type 'ManualObject' registered.
10:43:02: MovableObjectFactory for type 'BillboardChain' registered.
10:43:02: MovableObjectFactory for type 'RibbonTrail' registered.
10:43:02: Loading library .\RenderSystem_Direct3D9_d
10:43:02: Installing plugin: D3D9 RenderSystem
10:43:02: D3D9 : Direct3D9 Rendering Subsystem created.
10:43:02: D3D9: Driver Detection Starts
10:43:02: D3D9: Driver Detection Ends
10:43:03: Plugin successfully installed
10:43:03: Loading library .\RenderSystem_GL_d
10:43:03: Installing plugin: GL RenderSystem
10:43:03: OpenGL Rendering Subsystem created.
10:43:03: Plugin successfully installed
10:43:03: Loading library .\Plugin_ParticleFX_d
10:43:03: Installing plugin: ParticleFX
10:43:03: Particle Emitter Type 'Point' registered
10:43:03: Particle Emitter Type 'Box' registered
10:43:03: Particle Emitter Type 'Ellipsoid' registered
10:43:03: Particle Emitter Type 'Cylinder' registered
10:43:03: Particle Emitter Type 'Ring' registered
10:43:03: Particle Emitter Type 'HollowEllipsoid' registered
10:43:03: Particle Affector Type 'LinearForce' registered
10:43:03: Particle Affector Type 'ColourFader' registered
10:43:03: Particle Affector Type 'ColourFader2' registered
10:43:03: Particle Affector Type 'ColourImage' registered
10:43:03: Particle Affector Type 'ColourInterpolator' registered
10:43:03: Particle Affector Type 'Scaler' registered
10:43:03: Particle Affector Type 'Rotator' registered
10:43:03: Particle Affector Type 'DirectionRandomiser' registered
10:43:03: Particle Affector Type 'DeflectorPlane' registered
10:43:03: Plugin successfully installed
10:43:03: Loading library .\Plugin_BSPSceneManager_d
10:43:03: Installing plugin: BSP Scene Manager
10:43:03: Plugin successfully installed
10:43:03: Loading library .\Plugin_CgProgramManager_d
10:43:03: Installing plugin: Cg Program Manager
10:43:03: Plugin successfully installed
10:43:03: Loading library .\Plugin_PCZSceneManager_d.dll
10:43:03: Installing plugin: Portal Connected Zone Scene Manager
10:43:03: PCZone Factory Type 'ZoneType_Default' registered
10:43:03: Plugin successfully installed
10:43:03: Loading library .\Plugin_OctreeZone_d.dll
10:43:03: Installing plugin: Octree Zone Factory
10:43:03: Plugin successfully installed
10:43:03: Loading library .\Plugin_OctreeSceneManager_d
10:43:03: Installing plugin: Octree & Terrain Scene Manager
10:43:03: Plugin successfully installed
10:43:03: *-*-* OGRE Initialising
10:43:03: *-*-* Version 1.6.1 (Shoggoth)
10:43:03: Creating resource group Bootstrap
10:43:03: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
10:43:03: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/gui' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
10:43:03: Added resource location '../../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
10:43:03: Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
10:43:03: Added resource location '../../Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
10:43:03: Added resource location '../../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
10:43:03: Added resource location '../../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
10:43:03: Added resource location '../../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
10:43:03: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
10:43:03: D3D9 : RenderSystem Option: Anti aliasing = Level 8
10:43:03: D3D9 : RenderSystem Option: Floating-point mode = Consistent
10:43:03: D3D9 : RenderSystem Option: Full Screen = Yes
10:43:03: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 8800 Ultra
10:43:03: D3D9 : RenderSystem Option: VSync = No
10:43:03: D3D9 : RenderSystem Option: Video Mode = 1680 x 1050 @ 32-bit colour
10:43:03: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
10:43:03: CPU Identifier & Features
10:43:03: -------------------------
10:43:03: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
10:43:03: * SSE: yes
10:43:03: * SSE2: yes
10:43:03: * SSE3: yes
10:43:03: * MMX: yes
10:43:03: * MMXEXT: yes
10:43:03: * 3DNOW: no
10:43:03: * 3DNOWEXT: no
10:43:03: * CMOV: yes
10:43:03: * TSC: yes
10:43:03: * FPU: yes
10:43:03: * PRO: yes
10:43:03: * HT: no
10:43:03: -------------------------
10:43:03: D3D9 : Subsystem Initialising
10:43:03: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 1680x1050 fullscreen miscParams: FSAA=8 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false
10:43:03: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 1680x1050, 32bpp
10:43:03: Registering ResourceManager for type Texture
10:43:03: Registering ResourceManager for type GpuProgram
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT16_R
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT32_R
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT16_GR
10:43:03: D3D9: Vertex texture format supported - PF_FLOAT32_GR
10:43:03: RenderSystem capabilities
10:43:03: -------------------------
10:43:03: RenderSystem Name: Direct3D9 Rendering Subsystem
10:43:03: GPU Vendor: nvidia
10:43:03: Device Name: NVIDIA GeForce 8800 Ultra
10:43:03: Driver Version: 7.15.11.8208
10:43:03: * Fixed function pipeline: yes
10:43:03: * Hardware generation of mipmaps: yes
10:43:03: * Texture blending: yes
10:43:03: * Anisotropic texture filtering: yes
10:43:03: * Dot product texture operation: yes
10:43:03: * Cube mapping: yes
10:43:03: * Hardware stencil buffer: yes
10:43:03: - Stencil depth: 8
10:43:03: - Two sided stencil support: yes
10:43:03: - Wrap stencil values: yes
10:43:03: * Hardware vertex / index buffers: yes
10:43:03: * Vertex programs: yes
10:43:03: * Fragment programs: yes
10:43:03: * Geometry programs: no
10:43:03: * 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
10:43:03: * Texture Compression: yes
10:43:03: - DXT: yes
10:43:03: - VTC: no
10:43:03: * Scissor Rectangle: yes
10:43:03: * Hardware Occlusion Query: yes
10:43:03: * User clip planes: yes
10:43:03: * VET_UBYTE4 vertex element type: yes
10:43:03: * Infinite far plane projection: yes
10:43:03: * Hardware render-to-texture: yes
10:43:03: * Floating point textures: yes
10:43:03: * Non-power-of-two textures: yes
10:43:03: * Volume textures: yes
10:43:03: * Multiple Render Targets: 4
10:43:03: - With different bit depths: yes
10:43:03: * Point Sprites: yes
10:43:03: * Extended point parameters: yes
10:43:03: * Max Point Size: 8192
10:43:03: * Vertex texture fetch: yes
10:43:03: - Max vertex textures: 4
10:43:03: - Vertex textures shared: no
10:43:03: * Render to Vertex Buffer : no
10:43:03: * DirectX per stage constants: yes
10:43:03: ***************************************
10:43:03: *** D3D9 : Subsystem Initialised OK ***
10:43:03: ***************************************
10:43:03: ResourceBackgroundQueue - threading disabled
10:43:03: Particle Renderer Type 'billboard' registered
10:43:03: SceneManagerFactory for type 'BspSceneManager' registered.
10:43:03: Registering ResourceManager for type BspLevel
10:43:03: SceneManagerFactory for type 'PCZSceneManager' registered.
10:43:03: MovableObjectFactory for type 'PCZLight' registered.
10:43:03: PCZone Factory Type 'ZoneType_Octree' registered
10:43:03: PCZone Factory Type 'ZoneType_Terrain' registered
10:43:03: SceneManagerFactory for type 'OctreeSceneManager' registered.
10:43:03: SceneManagerFactory for type 'TerrainSceneManager' registered.
10:43:03: Parsing scripts for resource group Autodetect
10:43:03: Finished parsing scripts for resource group Autodetect
10:43:03: Parsing scripts for resource group Bootstrap
10:43:03: Parsing script OgreCore.material
10:43:03: Parsing script OgreProfiler.material
10:43:03: Parsing script Ogre.fontdef
10:43:03: Parsing script OgreDebugPanel.overlay
10:43:03: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
10:43:04: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
10:43:04: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
10:43:04: Font BlueHighwayusing texture size 512x512
10:43:04: Info: Freetype returned null for character 127 in font BlueHighway
10:43:04: Info: Freetype returned null for character 128 in font BlueHighway
10:43:04: Info: Freetype returned null for character 129 in font BlueHighway
10:43:04: Info: Freetype returned null for character 130 in font BlueHighway
10:43:04: Info: Freetype returned null for character 131 in font BlueHighway
10:43:04: Info: Freetype returned null for character 132 in font BlueHighway
10:43:04: Info: Freetype returned null for character 133 in font BlueHighway
10:43:04: Info: Freetype returned null for character 134 in font BlueHighway
10:43:04: Info: Freetype returned null for character 135 in font BlueHighway
10:43:04: Info: Freetype returned null for character 136 in font BlueHighway
10:43:04: Info: Freetype returned null for character 137 in font BlueHighway
10:43:04: Info: Freetype returned null for character 138 in font BlueHighway
10:43:04: Info: Freetype returned null for character 139 in font BlueHighway
10:43:04: Info: Freetype returned null for character 140 in font BlueHighway
10:43:04: Info: Freetype returned null for character 141 in font BlueHighway
10:43:04: Info: Freetype returned null for character 142 in font BlueHighway
10:43:04: Info: Freetype returned null for character 143 in font BlueHighway
10:43:04: Info: Freetype returned null for character 144 in font BlueHighway
10:43:04: Info: Freetype returned null for character 145 in font BlueHighway
10:43:04: Info: Freetype returned null for character 146 in font BlueHighway
10:43:04: Info: Freetype returned null for character 147 in font BlueHighway
10:43:04: Info: Freetype returned null for character 148 in font BlueHighway
10:43:04: Info: Freetype returned null for character 149 in font BlueHighway
10:43:04: Info: Freetype returned null for character 150 in font BlueHighway
10:43:04: Info: Freetype returned null for character 151 in font BlueHighway
10:43:04: Info: Freetype returned null for character 152 in font BlueHighway
10:43:04: Info: Freetype returned null for character 153 in font BlueHighway
10:43:04: Info: Freetype returned null for character 154 in font BlueHighway
10:43:04: Info: Freetype returned null for character 155 in font BlueHighway
10:43:04: Info: Freetype returned null for character 156 in font BlueHighway
10:43:04: Info: Freetype returned null for character 157 in font BlueHighway
10:43:04: Info: Freetype returned null for character 158 in font BlueHighway
10:43:04: Info: Freetype returned null for character 159 in font BlueHighway
10:43:04: Info: Freetype returned null for character 160 in font BlueHighway
10:43:04: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
10:43:04: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
10:43:04: Parsing script OgreLoadingPanel.overlay
10:43:04: Finished parsing scripts for resource group Bootstrap
10:43:04: Parsing scripts for resource group General
10:43:04: Parsing script Examples.program
10:43:04: Parsing script StdQuad_vp.program
10:43:04: Parsing script deferred.glsl.program
10:43:04: Parsing script deferred.hlsl.program
10:43:04: Parsing script deferred.program
10:43:04: Parsing script deferred_post_ambient.program
10:43:04: Parsing script deferred_post_debug.glsl.program
10:43:04: Parsing script deferred_post_debug.hlsl.program
10:43:04: Parsing script deferred_post_debug.program
10:43:04: Parsing script deferred_post_minilight.glsl.program
10:43:04: Parsing script deferred_post_minilight.hlsl.program
10:43:04: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\program files\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
10:43:04: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
10:43:04: Parsing script deferred_post_minilight.program
10:43:04: Parsing script deferred_post_multipass.glsl.program
10:43:04: Parsing script deferred_post_multipass.hlsl.program
10:43:04: Parsing script deferred_post_onepass.glsl.program
10:43:04: Parsing script deferred_post_onepass.hlsl.program
10:43:04: Parsing script deferred_post_vs.program
10:43:04: Parsing script ASCII.material
10:43:04: Parsing script ASMSwizzle.material
10:43:04: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
10:43:04: Parsing script BlackAndWhite.material
10:43:04: Parsing script Bloom.material
10:43:04: Parsing script Bloom2.material
10:43:04: Parsing script CGSwizzle.material
10:43:04: Parsing script DepthShadowmap.material
10:43:05: Parsing script Dither.material
10:43:05: Parsing script DOF.material
10:43:05: Parsing script Embossed.material
10:43:05: Parsing script Example-DynTex.material
10:43:05: Parsing script Example-Water.material
10:43:05: Parsing script Example.material
10:43:05: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\program files\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
10:43:05: Compiler error: invalid parameters in Example.material(762): setting of constant failed
10:43:05: Parsing script Examples-Advanced.material
10:43:05: Parsing script facial.material
10:43:05: Parsing script Glass.material
10:43:05: Parsing script GLSLSwizzle.material
10:43:05: Parsing script Halftone.material
10:43:05: Parsing script hdr.material
10:43:05: Parsing script HeatVision.material
10:43:06: Parsing script Hurt.material
10:43:06: Parsing script instancing.material
10:43:06: Parsing script Invert.material
10:43:06: Parsing script IsoSurf.material
10:43:06: Parsing script Laplace.material
10:43:06: Parsing script MotionBlur.material
10:43:06: Parsing script MRTtest.material
10:43:06: Parsing script NightVision.material
10:43:06: Parsing script Ocean.material
10:43:06: Parsing script OffsetMapping.material
10:43:06: Parsing script Ogre.material
10:43:06: Parsing script OldMovie.material
10:43:06: Parsing script OldTV.material
10:43:06: Parsing script ParticleGS.material
10:43:06: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at c:\program files\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:43:06: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at c:\program files\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:43:06: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at c:\program files\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:43:06: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at c:\program files\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:43:06: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at c:\program files\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:43:06: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at c:\program files\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:43:06: Parsing script Posterize.material
10:43:06: Parsing script pssm.material
10:43:06: Parsing script RadialBlur.material
10:43:06: Parsing script RZR-002.material
10:43:06: Parsing script SharpenEdges.material
10:43:06: Parsing script smoke.material
10:43:06: Parsing script Tiling.material
10:43:06: Parsing script VarianceShadowmap.material
10:43:06: Parsing script VideoMaterial.material
10:43:06: Parsing script deferred.material
10:43:06: Parsing script deferreddemo.material
10:43:06: Parsing script deferred_post_ambient.material
10:43:06: Parsing script deferred_post_debug.material
10:43:06: Parsing script deferred_post_minilight.material
10:43:06: Parsing script deferred_post_multipass.material
10:43:06: Parsing script deferred_post_onepass.material
10:43:06: Parsing script ROOM.material
10:43:06: Parsing script RomanBath.material
10:43:06: Parsing script emitted_emitter.particle
10:43:06: Parsing script Example-Water.particle
10:43:06: Parsing script Example.particle
10:43:06: Parsing script smoke.particle
10:43:06: Parsing script Examples.compositor
10:43:07: Parsing script deferred.compositor
10:43:07: Parsing script sample.fontdef
10:43:07: Parsing script Compositor.overlay
10:43:07: Parsing script DP3.overlay
10:43:07: Parsing script Example-CubeMapping.overlay
10:43:07: Parsing script Example-DynTex.overlay
10:43:07: Parsing script Example-Water.overlay
10:43:07: Parsing script Shadows.overlay
10:43:07: Finished parsing scripts for resource group General
10:43:07: Parsing scripts for resource group Internal
10:43:07: Finished parsing scripts for resource group Internal
10:43:07: Texture: VideoTexture.tga: Loading 1 faces(PF_A8R8G8B8,640x480x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,640x480x1.
10:43:07: [DSHOW] Creating texture with dimensions 640x480.
10:43:07: [DSHOW] Loading movie named '../../Media/Videos/MI 24.avi'.
10:43:08: [DSHOW] -> This movie has dimensions: 512x384.
10:43:09: Texture: TaharezLook.tga: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
10:43:10: Texture: Background.tga: Loading 1 faces(PF_A8R8G8B8,1200x750x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1200x750x1.
10:43:10: Texture: _cegui_ogre_0: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
10:43:11: ***********************************
10:43:11: *** --- Initialising OpenAL --- ***
10:43:11: ***********************************
10:43:11: *** --- OpenAL version 1.1
10:43:11: *** --- AVAILABLE DEVICES --- ***
10:43:11: *** --- Generic Software
10:43:11: *** --- Choosing: Generic Software (Default device)
10:43:11: *** --- OpenAL Device successfully created
10:43:11: *** --- OpenAL Context successfully created
10:43:11: *** --- SUPPORTED FORMATS
10:43:11: *** --- AL_FORMAT_MONO16 -- Monophonic Sound
10:43:11: *** --- AL_FORMAT_STEREO16 -- Stereo Sound
10:43:11: *** --- AL_FORMAT_QUAD16 -- 4 Channel Sound
10:43:11: *** --- AL_FORMAT_51CHN16 -- 5.1 Surround Sound
10:43:11: *** --- AL_FORMAT_61CHN16 -- 6.1 Surround Sound
10:43:11: *** --- AL_FORMAT_71CHN16 -- 7.1 Surround Sound
10:43:11: *** --- EFX Detected
10:43:11: *** --- 1 Auxiliary Effect Slot(s)
10:43:11: *** --- 1 Auxiliary Send(s) per Source
10:43:11: *** --- EFFECTS SUPPORTED:
10:43:11: *** --- 'Reverb' Support: YES
10:43:11: *** --- 'EAX Reverb' Support: YES
10:43:11: *** --- 'Chorus' Support: NO
10:43:11: *** --- 'Distortion' Support: NO
10:43:11: *** --- 'Echo' Support: NO
10:43:11: *** --- 'Flanger' Support: NO
10:43:11: *** --- 'Frequency shifter' Support: NO
10:43:11: *** --- 'Vocal Morpher' Support: NO
10:43:11: *** --- 'Pitch shifter' Support: NO
10:43:11: *** --- 'Ring modulator' Support: NO
10:43:11: *** --- 'Autowah' Support: NO
10:43:11: *** --- 'Compressor' Support: NO
10:43:11: *** --- 'Equalizer' Support: NO
10:43:11: *** --- FILTERS SUPPORTED:
10:43:11: *** --- 'Low Pass' Support: YES
10:43:11: *** --- 'High Pass' Support: NO
10:43:11: *** --- 'Band Pass' Support: NO
10:43:11: *** --- XRAM NOT Detected
10:43:11: *** --- EAX 2.0 Detected
10:43:11: *** --- Created 100 sources for simultaneous sounds
10:43:11: *** --- Using BOOST threads for streaming
10:43:11: *** --- Recording devices available:
10:43:11: ***--- 'Microphone (2- High Definition '
10:43:11: ***--- 'Line In (2- High Definition Aud'
10:43:11: ***********************************
10:43:11: *** --- OpenAL Initialised --- ***
10:43:11: ***********************************
10:43:11: Mesh: Loading ninja.mesh.
10:43:11: Skeleton: Loading ninja.skeleton
10:43:11: Texture: nskingr.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.


Why is there no sound playing?

stickymango

12-03-2009 14:52:59

mSoundManager = new OgreOggSound::OgreOggSoundManager();
mSoundManager->init();
OgreOggSound::OgreOggISound *newSound = mSoundManager->createSound("testSound", "../../Media/Audio/test.ogg", true, false, false);
newSound->play();


Should look like:

mSoundManager = new OgreOggSound::OgreOggSoundManager();
mSoundManager->init();
OgreOggSound::OgreOggISound *newSound = mSoundManager->createSound("testSound", "test.ogg", true, false, false);
newSound->play();


Notice the path to the sound file is missing, thats because this should be set as a resource location within ogre using:

ResourceGroupManager::addResourceLocation()

Not sure why it hasn't logged an error message though, I'll check that.

Xenomorph

12-03-2009 15:00:47

I changed it and added the location to my resource.cfg file, but I still can't here any sound and the log file looks the same than before.

stickymango

12-03-2009 15:02:40

Have you debugged it to see if its being created?

Your not loading the lib as a plugin are you?

Xenomorph

12-03-2009 15:20:44

after the line:

OgreOggSound::OgreOggISound *newSound = mSoundManager->createSound("testSound", "test.ogg", true, false, false);
the value for newSound is:
+ this 0x0123c7c0 class DFACore::DFAPlayState DFACore::DFAPlayState::mPlayState {mRoot=0x022d0260 mSceneMgr=0x07a75088 mViewport=0x07a33188 ...} DFACore::DFAPlayState * const
+ node 0x07a82e10 {mLocalAABB={...} mOctant=0x00000000 mCorners=0x07a83058 } Ogre::SceneNode *
+ light 0x07a82c08 {tempSquareDist=0.00000000 mLightType=LT_POINT mPosition={...} ...} Ogre::Light *
- newSound 0x07a83368 {mOggFile=0x00000000 mOggStream={...} mVorbisInfo=0x00000000 ...} OgreOggSound::OgreOggISound *
+ [OgreOggSound::OgreOggStreamSound] {mOggFile=0x00000000 mOggStream={...} mVorbisInfo=0x00000000 ...} OgreOggSound::OgreOggStreamSound
+ Ogre::MovableObject {mName="" mCreator=0x00000000 mManager=0x00000000 ...} Ogre::MovableObject
mFadeTimer 0.00000000 float
mFadeTime 1.0000000 float
mFadeInitVol 0.00000000 float
mFadeEndVol 1.0000000 float
mFade false bool
mFadeEndAction NONE OgreOggSound::FadeControl
+ mAudioStream {pRep=0x07a83320 pUseCount=0x07a47aa8 useFreeMethod=SPFM_DELETE } Ogre::SharedPtr<Ogre::DataStream>
+ mOggCallbacks {read_func=0x012a7018 seek_func=0x012a7e7d close_func=0x012a6e2e ...} ov_callbacks
+ mLoopCB 0x00000000 OgreOggSound::OOSCallback *
+ mFinishedCB 0x00000000 OgreOggSound::OOSCallback *
mFinCBEnabled false bool
mLoopCBEnabled false bool
mBufferSize 3465046408 unsigned int
mSource 0 unsigned int
+ mScnMan 0x00000000 {mName={...} mRenderQueue=??? mLastRenderQueueInvocationCustom=??? ...} Ogre::SceneManager *
mPriority 0 unsigned char
+ mPosition {x=0.00000000 y=0.00000000 z=0.00000000 } Ogre::Vector3
+ mDirection {x=0.00000000 y=0.00000000 z=0.00000000 } Ogre::Vector3
+ mVelocity {x=0.00000000 y=0.00000000 z=0.00000000 } Ogre::Vector3
mGain 1.0000000 float
mMaxGain 1.0000000 float
mMinGain 0.00000000 float
mMaxDistance 1.0000000e+010 float
mRolloffFactor 1.0000000 float
mReferenceDistance 1.0000000 float
mPitch 1.0000000 float
mOuterConeGain 0.00000000 float
mInnerConeAngle 360.00000 float
mOuterConeAngle 360.00000 float
mPlayTime 0.00000000 float
+ mName "testSound" std::basic_string<char,std::char_traits<char>,std::allocator<char> >
mLoop false bool
mPlay false bool
mGiveUpSource false bool
mStream true bool
mFileOpened false bool
mSourceRelative false bool
mPlayDelayed false bool
mLocalTransformDirty true bool
mPlayPosChanged false bool
mSeekable true bool
mPlayPos 0.00000000 float
+ ent 0x07a7f0a8 {mMesh={...} mSubEntityList=[2](0x07a80d10 {mParentEntity=0x07a7f0a8 mMaterialName="Examples/Ninja" mpMaterial={...} ...},0x07a81428 {mParentEntity=0x07a7f0a8 mMaterialName="Examples/Ninja" mpMaterial={...} ...}) mAnimationState=0x07a47980 ...} Ogre::Entity *


It looks like it says mPlayTime is 0. That's supposed to be the play time of the file right? So it looks like it's not loading it correctly. What could the problem be?

stickymango

12-03-2009 15:28:59

Are you using threads?

It looks like the file isn't being opened as thats where it sets the mPlayTime variable, I can only suggest either stepping through the creation or trying another sound file? unless you can give me a reproducable project?

Xenomorph

12-03-2009 16:27:43

What do you mean? Like making new threads in my program? No. Or are you talking about this boost stuff. Yes. I mean I did everything like you wrote in the setting up the app guide. I followed everything and there is just no sound. It seems like that this line of code in the ogreoggsoundmanager
mSoundMap[name] = new OgreOggStreamWavSound(name);
doesn't properly work. I mean all it does is:
OgreOggStreamSound::OgreOggStreamSound(const Ogre::String& name) : OgreOggISound(name)
,mOggFile(0)
,mVorbisInfo(0)
,mVorbisComment(0)
,mStreamEOF(false)
{
mStream=true;
for ( int i=0; i<NUM_BUFFERS; i++ ) mBuffers[i]=0;
}

It looks like it's just setting the mBuffer to 0. Nothing gets loaded or anything. I don't know. It's frustrating :oops:

stickymango

12-03-2009 16:43:21

I know its frustrating when things don't work but hang in there, we'll sort it :wink:

Anyway, if your using the lib as default then you will have threads enabled, what happens when you create a sound is that its puts the request onto a queue to be created by the extra thread. Firstly I'd put a break point in OgreOggSoundManager::processQueuedSounds() and check that that function is being called, this is the function which opens the sound file for playback, if it enters this and exits successfully then the next area to check is OgreOggSound::play()..

Can you try the above and see where the trail leads, you could also try a static sound by changing the first boolean to false in createSound().

Is your sound mono/stereo?

Regards,

Xenomorph

12-03-2009 20:48:00

Yeah I tried that already.
Yeah the function processQueuedSounds gets called successfully. When it opens it at the line:
(*i)->mSound->open((*i)->mFile);
it just waits for a few seconds and nothing happens and then it returns back to the code. What I noticed though is that everywhere this soundfile is passed around it has the mplayTime = 0. Is there maybe a problem with the file itself?
What I did is I used an mp3 file and converted it with a converter to a ogg. Maybe that did something to it, but I can play the file in Winamp though.
I think the file is mono.
Btw, thanks for replying so fast. That's awesome.

stickymango

12-03-2009 21:23:11

Hmmmm,

Did some testing tonight and noticed a potential bug...

try this:

mSoundManager = new OgreOggSound::OgreOggSoundManager();
mSoundManager->init();
mSoundManager->createSound("testSound", "test.ogg", true, false, false);
mSoundManager->playSound("testSound");


Does that work?

Xenomorph

12-03-2009 22:24:49

Alright!!! Thank you sooo much. That worked!
So you always have to call the sound with the soundmanager then, right?

stickymango

12-03-2009 23:36:22

This bug only applies to the Threaded version (which is the default), I'm working on a fix right now, but you will have to use the OgreOggSoundManager functions to play/pause/stop the sounds, its because the SoundManager controls the thread and is the only class which controls the thread locking to prevent crashing, if you use the sound object directly you bypass the locking mechanisms and potentially risk causing random crashes. Like I say I'm working on a fix and I'll update the lib asap.

If you can do without the threading ( which is only used for streaming, to prevent gaps in audio playback should the application stall for a notable amount of time ), I'd suggest rebuilding the library setting OGGSOUND_THREADED 0 in OgreOggSoundPrereqs.h for now.

I'm sorry I didn't make this more obvious in the documentation and the examples I posted, which were outdated, at least now you've reminded me so I'm on the case :oops:

Thanks for your persistence! :)

[edit]Now resolved, please update your copies.