Wire up remaining DirectX SDK paths; build now succeeds

Verified full build with VC++ 2008 Express SP1 + Windows SDK v6.0A + DirectX
SDK (June 2010): 4 Projects succeeded, 0 failed (Release|Win32). Outputs:
Release\rpl4opt.exe, Release\RPL4TOOL.exe, lib\Munga_L4.lib, lib\DivLoader.lib.

Two projects referenced DirectX but were never repointed at $(DXSDK_DIR)
(they had no hardcoded path to replace earlier):

- DivLoader.vcproj: add "$(DXSDK_DIR)Include" to both compiler configs
  (was failing on D3DX9.h).
- RPL4TOOL.vcproj / RPL4TOOL VS2008.vcproj: add "$(DXSDK_DIR)Lib\x86" to the
  linker search path (was failing with LNK1181 on dinput8.lib).

.gitignore: ignore the build-output static libs that land in lib/
(Munga_L4.lib, DivLoader.lib); the dependency libs OpenAL32.lib and
libsndfile-1.lib stay tracked.

BUILD.md / docs/BUILD-NOTES.md: record the verified build, the CLI recipe,
and the DXSDK_DIR stale-environment gotcha.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-07-01 09:56:19 -05:00
co-authored by Claude Opus 4.8
parent f849415c02
commit 8d18ce0ee4
6 changed files with 84 additions and 9 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="WS2_32.lib Munga_l4.lib dinput8.lib dxguid.lib"
LinkIncremental="2"
AdditionalLibraryDirectories="..\lib"
AdditionalLibraryDirectories="&quot;$(DXSDK_DIR)Lib\x86&quot;;..\lib"
GenerateDebugInformation="true"
SubSystem="1"
RandomizedBaseAddress="1"
+2 -2
View File
@@ -63,7 +63,7 @@
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="Munga_l4.lib libsndfile-1.lib WS2_32.lib dinput8.lib dxguid.lib"
LinkIncremental="2"
AdditionalLibraryDirectories="..\lib"
AdditionalLibraryDirectories="&quot;$(DXSDK_DIR)Lib\x86&quot;;..\lib"
GenerateDebugInformation="true"
SubSystem="0"
TargetMachine="1"
@@ -139,7 +139,7 @@
AdditionalOptions="/FORCE:MULTIPLE"
AdditionalDependencies="Munga_l4.lib libsndfile-1.lib WS2_32.lib dinput8.lib dxguid.lib"
LinkIncremental="1"
AdditionalLibraryDirectories="../lib"
AdditionalLibraryDirectories="&quot;$(DXSDK_DIR)Lib\x86&quot;;../lib"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"