On 27 April 2012 02:41, Ralph Versteegen <[email protected]> wrote: > On 27 April 2012 02:31, James Paige <[email protected]> wrote: >> On Fri, Apr 27, 2012 at 02:19:35AM +1200, Ralph Versteegen wrote: >>> On 27 April 2012 02:10, James Paige <[email protected]> wrote: >>> > On Thu, Apr 26, 2012 at 4:05 AM, Ralph Versteegen <[email protected]> >>> > wrote: >>> >> On 26 April 2012 23:03, <[email protected]> wrote: >>> >>> teeemcee >>> >>> 2012-04-26 04:03:46 -0700 (Thu, 26 Apr 2012) >>> >>> 72 >>> >>> Add Jay's suggested workaround for bug 956 "Mangled graphics on startup" >>> >>> --- >>> >>> U wip/gfx_directx/gfx_directx.cpp >>> >> >>> >> Hmm, gfx_directx.dll isn't built nightly, is it? I'll rebuild it next >>> >> time I boot into Windows (really should fix virtualbox...) >>> > >>> > I just tried to build it on the nightly build box, and it failed saying: >>> > >>> > C:\Users\James\src\ohr\wip>scons gfx_directx.dll >>> > scons: Reading SConscript files ... >>> > scons: done reading SConscript files. >>> > scons: Building targets ... >>> > cl /Fogfx_directx\d3d.obj /c gfx_directx\d3d.cpp /TP /nologo /EHsc /W3 >>> > /MT /O2 / >>> > GL /DUNICODE /D_UNICODE >>> > 'cl' is not recognized as an internal or external command, >>> > operable program or batch file. >>> > scons: *** [gfx_directx\d3d.obj] Error 1 >>> > scons: building terminated because of errors. >>> > >>> > What package do I need to install to get cl.exe? >>> > >>> > --- >>> > James >>> >>> Visual Studio. >>> >>> rpg.hamsterrepublic.com/ohrrpgce/Compiling#gfx_directx >> >> I have Visual Studio 2008 installed, and I have downloaded the missing >> stdint.h but my DXSDK_DIR environment variable is not set, and when I >> google for the correct value I find that it is supposed to be set by the >> installer. Searching around in my Program Files is fruitless too. The >> best guess I could come up with is "C:\Program Files\Microsoft Visual >> Studio 9.0\SDK" ... but then I realized that is completely empty except >> for two empty subdirectories: v3.5\bin >> >> --- >> James > > Are you sure that you have the DirectX SDK installed? On my system, I have > > Program Files/Microsoft DirectX 9.0 SDK (December 2004)/ > Program Files/Microsoft DirectX SDK (August 2009)/ > > I can't remember whether DXSDK_DIR points at those directories or not > (I'm looking at my XP partition mounted under Linux)
By the way, I used the 2004 SDK, though the 2009 SDK produced a dll of the same length. Looking back at the archives (revision 5007 discussion), I think Jay suggested that the 2004 SDK should be used, since it would have fewer dependencies? _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
