[Solved]Link Problem

deadvirus

28-08-2009 13:00:28

Hello,
I've downloaded the SVN version of OgreOggSound, but it fails to link:

error LNK2019: unresolved external symbol _ConvertReverbParameters referenced in function "public: bool __thiscall OgreOggSound::OgreOggSoundManager::createEFXEffect(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,struct _EAXREVERBPROPERTIES *)" (?createEFXEffect@OgreOggSoundManager@OgreOggSound@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HPAU_EAXREVERBPROPERTIES@@@Z) OgreOggSoundManager.obj OgreOggSound


I'm using windows vista 32, and Visual Studio 2008 (v9).

Thank you.

EDIT: Solved it by adding $(OPENAL_SDK)\libs\Win32\EFX-Util_MT to the lib directories.
Now it compiles but with a lot of warnings:
Warning 2 warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library OgreOggSound OgreOggSound
Warning 3 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 4 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 5 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 6 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 7 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 8 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 9 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 10 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 11 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 12 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 13 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 14 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 15 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 16 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 17 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 18 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 19 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 20 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 21 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 22 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\VorbisFile_Static_Debug\vorbisfile_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbisfile_static_d.lib OgreOggSound
Warning 23 warning LNK4099: PDB 'vc80.pdb' was not found with '.\ogg\win32\Static_Debug\ogg_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info ogg_static_d.lib OgreOggSound
Warning 24 warning LNK4099: PDB 'vc80.pdb' was not found with '.\ogg\win32\Static_Debug\ogg_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info ogg_static_d.lib OgreOggSound

stickymango

01-09-2009 11:51:30

Thats from the debug build correct?

I deleted all those files to condense the download size for the lib, basically rebuild ogg/vorbis with debug info again to correct those warnings.

deadvirus

01-09-2009 11:56:06

Yes, it's from the debug build.
Do you think it'll be necessary to rebuild ogg/vorbis? Is that debug info really needed?

Thanks

stickymango

01-09-2009 12:06:07

Only if you need to debug vorbis/ogg. I don't use it when debugging...

stickymango

02-09-2009 16:00:47

Fixed these warnings now, all except for the Util-efx.lib debug info warning.

I recompiled ogg/vorbis so they should hopefully have the .obj/.pdb files for debugging.

deadvirus

02-09-2009 17:59:20

Fixed these warnings now, all except for the Util-efx.lib debug info warning.

I recompiled ogg/vorbis so they should hopefully have the .obj/.pdb files for debugging.



I still get them:
Warning 1 Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release cl OgreOggSound
Warning 2 warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library OgreOggSound OgreOggSound
Warning 3 warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\DevelopLibs\OpenAL_1.1_SDK\libs\Win32\efx-util.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info efx-util.lib OgreOggSound
Warning 4 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 5 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 6 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 7 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 8 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 9 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 10 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 11 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 12 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 13 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 14 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 15 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 16 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 17 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 18 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 19 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 20 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 21 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 22 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbis_static_d.lib OgreOggSound
Warning 23 warning LNK4099: PDB 'vc80.pdb' was not found with '.\vorbis\win32\VorbisFile_Static_Debug\vorbisfile_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info vorbisfile_static_d.lib OgreOggSound
Warning 24 warning LNK4099: PDB 'vc80.pdb' was not found with '.\ogg\win32\Static_Debug\ogg_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info ogg_static_d.lib OgreOggSound
Warning 25 warning LNK4099: PDB 'vc80.pdb' was not found with '.\ogg\win32\Static_Debug\ogg_static_d.lib' or at 'C:\DevelopLibs\OgreSDK1.6.3\ogreaddons\OgreOggSound\Debug\vc80.pdb'; linking object as if no debug info ogg_static_d.lib OgreOggSound


The first line I can ignore, the second I resolve by adding LIBCMT to the project propreties, at Linker->Input->Ignore Specific Lib (maybe some VS2008 thing...).

stickymango

03-09-2009 08:16:36

Yeah sorry, realised after I'd posted that I hadn't actually uploaded them because I'd marked them to ignore. They should be there now, including the /NODEFAULTLIB:LIBCMT flag. :oops: