OgreOggSound linking errors

Xenomorph

11-03-2009 21:01:11

Hi everybody!
I have the following problem. I try to use Visual Studio 2008. So I downloaded the current svn version and downloaded the latest boost installer (v1.38.0). Now, when I try to compile OgreOggSound project I get the following errors:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
libboost_thread-vc80-mt-gd-1_34_1.lib(thread.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_List_nod >::~_List_nod >(void)" (??1?$_List_nod@PAVthread@boost@@V?$allocator@PAVthread@boost@@@std@@@std@@QAE@XZ)
libboost_thread-vc80-mt-gd-1_34_1.lib(tss_hooks.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ)
libboost_thread-vc80-mt-gd-1_34_1.lib(thread.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) referenced in function "protected: __thiscall std::_List_nod >::_List_nod >(class std::allocator)" (??0?$_List_nod@PAVthread@boost@@V?$allocator@PAVthread@boost@@@std@@@std@@IAE@V?$allocator@PAVthread@boost@@@1@@Z)
libboost_thread-vc80-mt-gd-1_34_1.lib(tss_hooks.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)

What do I have to do to fix it? It looks like it is trying to get the libboost-thread-vc80-mt-gd-1_34_1.lib although I linked to the 1.38.0 directory. What do I do wrong?
Any help would be highly appreciated.
Thanks in advance!

EDIT:
I updated the the link to the new directory of the boost libraries and it compiled without errors, but with the following warnings:
warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\OpenAL 1.1 SDK\libs\Win32\efx-util.lib' or at 'D:\Christian\Programming\OpenAL\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info efx-util.lib OgreOggSound
warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\VorbisFile_Static_Debug\vorbisfile_static_d.lib' or at 'D:\Christian\Programming\OpenAL\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbisfile_static_d.lib OgreOggSound
warning LNK4099: PDB 'vc80.pdb' was not found with '.\ogg\win32\Static_Debug\ogg_static_d.lib' or at 'D:\Christian\Programming\OpenAL\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info ogg_static_d.lib OgreOggSound


How can I use OgreOggSound with Visual Studio 2008? How can I get rid of those warnings?

stickymango

12-03-2009 10:26:45

I'm still currently linking against boost 1.34 but as far as I'm aware it should still work with the latest version, i'll maybe look to update that soon.

Those warnings have appeared since I did a cleanout of some directories and obviously got rid of the offending files, they don't stop you using OgreOggSound with visual studio 2008 though, to correct you would need to rebuild the ogg, vorbis and efx-util lib.

Is the lib not working in 2008?

Xenomorph

12-03-2009 14:13:42

Ok, I rebuild ogg and vorbis, and I got rid of the warnings. But how do I buld efx-util.lib?

stickymango

12-03-2009 14:24:22

I guess you'd need to get the source from creative, I didn't build OpenAL I used the prebuilt SDK, you don't need to worry about that warning, its only a debug warning anyway...

DaHoC

04-04-2009 15:10:39

Hi,
I'm using Vista64, Visual C++ 2008 Express and my environment PATHs are all in order (BOOST_ROOT, OGRE_HOME, OPENAL_SDK), and I did all the steps in the http://www.ogre3d.org/addonforums/viewtopic.php?f=19&t=8389 "Getting and setting up OgreOggSound", however I get the following error message:
("Nicht aufgelöstes externes Symbol" means "unresolved external symbol")

1>------ Erstellen gestartet: Projekt: OgreOggSound, Konfiguration: Debug Win32 ------
1>Kompilieren...
1>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in einer der nächsten Versionen entfernt.
1>OgreOggISound.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggListener.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggSoundFactory.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggSoundManager.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggSoundPlugin.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggSoundPluginDllStart.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggSoundRecord.cpp
1>OgreOggStaticSound.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggStaticWavSound.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggStreamSound.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>OgreOggStreamWavSound.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Code wird generiert...
1>Verknüpfen...
1> Bibliothek "C:\Ogre\ogreoggsound\Debug\OgreOggSound_d.lib" und Objekt "C:\Ogre\ogreoggsound\Debug\OgreOggSound_d.exp" werden erstellt.
1>LINK : warning LNK4098: Standardbibliothek "LIBCMT" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>libboost_thread-vc80-mt-gd-1_34_1.lib(thread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ)" in Funktion ""public: __thiscall std::_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >::~_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >(void)" (??1?$_List_nod@PAVthread@boost@@V?$allocator@PAVthread@boost@@@std@@@std@@QAE@XZ)".
1>libboost_thread-vc80-mt-gd-1_34_1.lib(tss_hooks.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ)".
1>libboost_thread-vc80-mt-gd-1_34_1.lib(thread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)" in Funktion ""protected: __thiscall std::_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >::_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >(class std::allocator<class boost::thread *>)" (??0?$_List_nod@PAVthread@boost@@V?$allocator@PAVthread@boost@@@std@@@std@@IAE@V?$allocator@PAVthread@boost@@@1@@Z)".
1>libboost_thread-vc80-mt-gd-1_34_1.lib(tss_hooks.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)".
1>C:\Ogre\ogreoggsound\Debug\OgreOggSound_d.dll : fatal error LNK1120: 2 nicht aufgelöste externe Verweise.
1>Das Buildprotokoll wurde unter "file://c:\Ogre\ogreoggsound\Debug\BuildLog.htm" gespeichert.
1>OgreOggSound - 5 Fehler, 2 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========

Is there anything I am missing?

Greetings

stickymango

04-04-2009 22:31:30

Make sure the project is set to Multi-threaded dll (/MD). Other then that I'm not entirely sure whats wrong, its not been tested on vista 64...

unspecified

11-07-2009 12:46:04

hi, i have the same linking problem trying to compile v1.0 and even 1.09 using visual studio 2008.

1>Linking...
1> Creating library F:\Incoming\Downloads\ogreoggsound_v1_09\Debug\OgreOggSound_d.lib and object F:\Incoming\Downloads\ogreoggsound_v1_09\Debug\OgreOggSound_d.exp
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>libboost_thread-vc80-mt-gd-1_34_1.lib(thread.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >::~_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >(void)" (??1?$_List_nod@PAVthread@boost@@V?$allocator@PAVthread@boost@@@std@@@std@@QAE@XZ)
1>libboost_thread-vc80-mt-gd-1_34_1.lib(tss_hooks.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ)
1>libboost_thread-vc80-mt-gd-1_34_1.lib(thread.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) referenced in function "protected: __thiscall std::_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >::_List_nod<class boost::thread *,class std::allocator<class boost::thread *> >(class std::allocator<class boost::thread *>)" (??0?$_List_nod@PAVthread@boost@@V?$allocator@PAVthread@boost@@@std@@@std@@IAE@V?$allocator@PAVthread@boost@@@1@@Z)
1>libboost_thread-vc80-mt-gd-1_34_1.lib(tss_hooks.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)
1>F:\Incoming\Downloads\ogreoggsound_v1_09\Debug\OgreOggSound_d.dll : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://f:\Incoming\Downloads\ogreoggsound_v1_09\Debug\BuildLog.htm"
1>OgreOggSound - 5 error(s), 2 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


all paths are correct and i've installed boost 1.34.1

stickymango

12-07-2009 12:11:41

Hmm. If you don't require the multi-thread support then you could disable this and it should not link against BOOST, however:

I downloaded a fresh copy of VC2008 and the latest code and I'm getting the same problems, it appears that 1.34.1 isn't compatibale with VC9 so you'd either have to rebuild BOOST::Thread against VC9 or download the latest BOOST::Thread and build against that.

I've added a new link on the 'Getting and Setting up OgreOggSound' page to download the latest version of BOOST, I used v1.38 and managed to get it to compile, NOTE:- it seems you also need to download BOOST::date_time now too.

HTH

unspecified

15-07-2009 09:14:47

ah these discrepencies between versions is quite annoying.

in any case the TestDemo seems outdated as the method getNumberOfInputDevices has been deprecated from OIS::InputManager. it's now NumKeyboards, NumMice and NumJoySticks for keyboard, mouses and joysticks respectively.

despite fixing this i still can't run the testdemo:
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Debug\TestDemo.exe', Symbols loaded.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Debug\OgreOggSound_d.dll', Symbols loaded.
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Debug\OpenAL32.dll', Binary was not built with debug information.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Debug\OgreMain_d.dll'
LDR: LdrpWalkImportDescriptor() failed to probe E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Debug\OgreMain_d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3968] TestDemo.exe: Native' has exited with code -1072365566 (0xc0150002).


upon running the release version i get this error:
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\TestDemo.exe', Symbols loaded.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\OgreOggSound.dll', Binary was not built with debug information.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\OpenAL32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\OgreMain.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcp80.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcr80.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcr90.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\OIS.dll', Binary was not built with debug information.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'TestDemo.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
'TestDemo.exe': Loaded 'E:\Program Files\RocketDock\RocketDock.dll', Binary was not built with debug information.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'TestDemo.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
First-chance exception at 0x7c812afb in TestDemo.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0013f920..
First-chance exception at 0x7c812afb in TestDemo.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0013fb64..
Unhandled exception at 0x7c812afb in TestDemo.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0013fb64..
The thread 'Main Thread' (0x168) has exited with code -1073741510 (0xc000013a).
The program '[188] TestDemo.exe: Native' has exited with code -1073741510 (0xc000013a).


going to code a small demo application of my own from scratch. but meanwhile, do you have any idea why the default oggsound TestDemo could be doing that? it's very worrisome :oops:

stickymango

15-07-2009 09:25:41

Which version of the library and OGRE are you using?

There are two separate SVN repositories, one for EIHORT and one for SHOGGOTH, there should be no compatibility issues with these when compiled against the correct version of OGRE. Are you using SVN or a zip release?

unspecified

15-07-2009 09:44:38

Which version of the library and OGRE are you using?

There are two separate SVN repositories, one for EIHORT and one for SHOGGOTH, there should be no compatibility issues with these when compiled against the correct version of OGRE. Are you using SVN or a zip release?


Hi i'm using "OGRE 1.6.2 SDK for Visual C++ .Net 2008 (9.0)" downloaded from http://www.ogre3d.org/download/sdk and the OgreOggSound i got from the SVN link in your signature: https://ogreoggsound.svn.sourceforge.net/svnroot/ogreoggsound/trunk/

is this correct?

stickymango

15-07-2009 10:50:58

Hang on, re-reading your post you have got an older version of OIS I think, getNumberOfDevices has not been deprecated, that is the NEW method for accessing input device counters now...

unspecified

15-07-2009 11:53:23

i dont understand, it's the OIS that comes with Ogre 1.6.2 prebuilt SDK :/ where can i get the latest OIS?

just tried to include ogreoggsound into an existing project i had and the testdemo error seems to percolate to this one as well, i.e. application fails to initialise. of course, it could be a seperate problem with some ogre, rather than ogreoggsound.

stickymango

15-07-2009 11:57:41

check your log file for errors relating to ogreoggsound, as for OIS, I don't use the prebuilt SDK, I use the source version of OGRE, sounds like the SDK comes with an old version of OIS so you best head to sourceforge and download version 1.2 of OIS.

unspecified

15-07-2009 17:59:43

got ois 1.2.0 from sourceforge, added it's include and lib paths as well as the libraries to include.

release configs of oggsound and testdemo compiles with no errors but then upon trying to run it:
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\TestDemo.exe', Symbols loaded.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\OgreOggSound.dll', Binary was not built with debug information.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\OpenAL32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'TestDemo.exe': Loaded 'E:\SDKs\OGRE\Ogre Addons\ogreoggsound\TestDemo\Release\OgreMain.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcp80.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcr80.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcr90.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'TestDemo.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
'TestDemo.exe': Loaded 'E:\Program Files\RocketDock\RocketDock.dll', Binary was not built with debug information.
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'TestDemo.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime'
'TestDemo.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
First-chance exception at 0x7c812afb in TestDemo.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0013f920..
First-chance exception at 0x7c812afb in TestDemo.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0013fb64..
Unhandled exception at 0x7c812afb in TestDemo.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0013fb64..
The thread 'Main Thread' (0xdc0) has exited with code -1073741510 (0xc000013a).
The program '[2348] TestDemo.exe: Native' has exited with code -1073741510 (0xc000013a).

i have no idea why it's loading all the other .dlls in my system32 folder that's not part of the project. is this supposed to happen?


however my Ogre.log file is perfect:
19:12:04: Creating resource group General
19:12:04: Creating resource group Internal
19:12:04: Creating resource group Autodetect
19:12:04: SceneManagerFactory for type 'DefaultSceneManager' registered.
19:12:04: Registering ResourceManager for type Material
19:12:04: Registering ResourceManager for type Mesh
19:12:04: Registering ResourceManager for type Skeleton
19:12:04: MovableObjectFactory for type 'ParticleSystem' registered.
19:12:04: OverlayElementFactory for type Panel registered.
19:12:04: OverlayElementFactory for type BorderPanel registered.
19:12:04: OverlayElementFactory for type TextArea registered.
19:12:04: Registering ResourceManager for type Font
19:12:04: ArchiveFactory for archive type FileSystem registered.
19:12:04: ArchiveFactory for archive type Zip registered.
19:12:04: FreeImage version: 3.10.0
19:12:04: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
19:12:04: 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
19:12:04: DDS codec registering
19:12:04: Registering ResourceManager for type HighLevelGpuProgram
19:12:04: Registering ResourceManager for type Compositor
19:12:04: MovableObjectFactory for type 'Entity' registered.
19:12:04: MovableObjectFactory for type 'Light' registered.
19:12:04: MovableObjectFactory for type 'BillboardSet' registered.
19:12:04: MovableObjectFactory for type 'ManualObject' registered.
19:12:04: MovableObjectFactory for type 'BillboardChain' registered.
19:12:04: MovableObjectFactory for type 'RibbonTrail' registered.
19:12:04: Loading library .\RenderSystem_Direct3D9
19:12:04: Installing plugin: D3D9 RenderSystem
19:12:04: D3D9 : Direct3D9 Rendering Subsystem created.
19:12:04: D3D9: Driver Detection Starts
19:12:04: D3D9: Driver Detection Ends
19:12:04: Plugin successfully installed
19:12:04: Loading library .\OgreOggSound
19:12:04: Installing plugin: OgreOggSound
19:12:04: MovableObjectFactory for type 'OgreOggISound' registered.
19:12:04: Plugin successfully installed
19:12:04: *-*-* OGRE Initialising
19:12:04: *-*-* Version 1.6.1 (Shoggoth)


except that i've got Ogre Version 1.6.2 and not 1.6.1. i think i should use tortoiseSVN to get the exact build/branch that you're using and see if it will work then. what's the url for the ogre sdk that you're using?

stickymango

15-07-2009 18:06:42

The easiest way to trace the problem is to run in debug mode in Visual Studio and it will stop at the crash point.

I don't use the SVN version of OGRE as its unstable, I downloaded a source package from www.Ogre3d.org downloads section, there is a link for the sdk or a source package. You'll need to build this after downloaded..

deadvirus

28-08-2009 17:46:01

I've had some problems like the ones you have...
Check if the .dlls in your projects are the ones from the libs you use to compile it, and if the folder is not in read-only mode (turtoise svn does it i think...)