Whoo
Member

Posts: 663
Registered: 04-07 |
Okay so I downloaded the VS2010 trial and tried building it. These are the errors I'm getting:
7>EXEC : warning : idFileSystemLocal::StartBackgroundDownloadThread: failed
7>EXEC : FATAL error : Couldn't load default.cfg
7>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: The command "cd C:\doom\trunk\neo\\..
7>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: "build\Win32\Dedicated Release\TypeInfo.exe"
7>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :VCEnd" exited with code -1.
5>win_input.obj : error LNK2001: unresolved external symbol _GUID_ZAxis
5>win_input.obj : error LNK2001: unresolved external symbol _GUID_YAxis
5>win_input.obj : error LNK2001: unresolved external symbol _GUID_XAxis
5>win_input.obj : error LNK2001: unresolved external symbol _c_dfDIKeyboard
5>win_input.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
5>win_input.obj : error LNK2019: unresolved external symbol _DirectInput8Create@20 referenced in function "void __cdecl IN_InitDirectInput(void)" (?IN_InitDirectInput@@YAXXZ)
5>win_input.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A
5>win_input.obj : error LNK2001: unresolved external symbol _c_dfDIMouse2
5>win_input.obj : error LNK2001: unresolved external symbol _GUID_SysMouse
5>win_snd.obj : error LNK2019: unresolved external symbol _DirectSoundCreate@12 referenced in function "public: virtual bool __thiscall idAudioHardwareWIN32::Initialize(void)" (?Initialize@idAudioHardwareWIN32@@UAE_NXZ)
5>..\build\Win32\Dedicated Release\DOOM3.exe : fatal error LNK1120: 10 unresolved externals
I'm going to start looking around on Doom3world to see if I can find anything who fixed the linker and the MSB3073 error. And if anyone's interested here is Carmack's patent work-around:
// patent-free work around
if ( !external ) {
// "preload" the stencil buffer with the number of volumes
// that get clipped by the near or far clip plane
qglStencilOp( GL_KEEP, tr.stencilDecr, tr.stencilDecr );
GL_Cull( CT_FRONT_SIDED );
RB_DrawShadowElementsWithCounters( tri, numIndexes );
qglStencilOp( GL_KEEP, tr.stencilIncr, tr.stencilIncr );
GL_Cull( CT_BACK_SIDED );
RB_DrawShadowElementsWithCounters( tri, numIndexes );
}
|