[Solved]Release mode failed to initialize property error

mamairaja

25-12-2009 13:02:22

Hi
Just started OgreOggSound!!! :D Upto now everything ok.
But now I tried to run the app in release mode.
But program shout out about the problem
failed to initialize property
After remove oggsound it works fine as i expected.

I have put plugin=OgreOggSound.dll to plugins.cfg still same error.

This is my code
this->soundManager = OgreOggSound::OgreOggSoundManager::getSingletonPtr();
soundManager->init();


Any thing I missed?

stickymango

25-12-2009 22:51:35

where is the ogreoggsound.dll file located?

What O/S?
What version of lib?

mamairaja

26-12-2009 04:20:24

Hi stickymango
Thanx for replying

where is the ogreoggsound.dll file located?
in the same folder where my application exe located

What O/S?
Windows XP

What version of lib?
I have used Ogreoggsound downloaded from svn trunk
https://ogreoggsound.svn.sourceforge.ne ... ound/trunk

stickymango

26-12-2009 10:58:28

I'm assuming your using visual studio? which version?

If your using vc9 (2008) then you'll need to recompile the lib again, otherwise is there anything in the OGRE log file?

mamairaja

27-12-2009 12:52:11

First I wish You merry Christmas !!! and Happy New Year !!! :D :D :D :D :D

Hi stickymango
Yes I am using visual studio and 2005.

And I have build the whole svn project using boost 1.4 and open AL sdk.

And now I am getting this error in release mode

OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library .\OgreOggSound. System Error: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. in DynLib::load at ..\src\OgreDynLib.cpp (line 80)

Thanx for your help.

stickymango

27-12-2009 23:57:10

Whats in your plugins.cfg file?

Merry christmas and happy new year to you too!! :D

mamairaja

28-12-2009 04:27:31

Hi
This is what in my plugins.cfg

# Defines plugins to load

# Define plugin folder
PluginFolder=.

# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_BSPSceneManager
Plugin=Plugin_CgProgramManager
Plugin=Plugin_PCZSceneManager.dll
Plugin=Plugin_OctreeZone.dll
Plugin=Plugin_OctreeSceneManager
Plugin=OgreOggSound


and for the Plugin=OgreOggSound.dll same error

Appriciate your help !!! 8)

stickymango

28-12-2009 12:18:04

Hmm, nothing wrong there, does it work if you manually load the plugin with Ogre::Root::getSingleton().loadPlugin("OgreOggSound");

mamairaja

07-02-2010 05:31:05

thnax it works now. I updates the libs from latest svn

stickymango

07-02-2010 16:05:12

Great news :)