initial problem


27-03-2007 15:00:07

Problem with initialise soundManager. Have Ogre 1.2, OgreAL from svn and VisualStudio 2005.
My code:
OgreAL::SoundManager* soundManager;
soundManager = OgreAL::SoundManager::getSingletonPtr();

but error is:
BasicStuff.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class OgreAL::SoundManager * __cdecl
OgreAL::SoundManager::getSingletonPtr(void)" (__imp_?getSingletonPtr@SoundManager@OgreAL@@SAPAV12@XZ)
bin\Release\ProjectEclipse.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\OgreSDK\ProjectEclipse\obj\Release\BuildLog.htm"
ProjectEclipse - 2 error(s), 0 warning(s)

What is the problem?
(I build OgreAL demos and they work)


27-03-2007 15:06:54

Problem is resolved. (forgetr to link lib)