Ralph Versteegen | 1 Feb 2012 08:44
Picon

Re: SVN: teeemcee/5007 scons: support for building gfx_directx.dll (and also gfx_directx_test1.

On 1 February 2012 16:45, Jay Tennant <hierandel8 <at> crazyleafgames.com> wrote:
>> From: James Paige <Bob <at> HamsterRepublic.com>
>> Sent: Tuesday, January 31, 2012 11:37 AM
>>
>> On Tue, Jan 31, 2012 at 9:00 AM,  <subversion <at> hamsterrepublic.com> wrote:
>> > teeemcee
>> > 2012-01-31 09:00:48 -0800 (Tue, 31 Jan 2012)
>> > 195
>> > scons: support for building gfx_directx.dll (and also gfx_directx_test1.exe)
>> >
>> > I replaced the afxres.h include with windows.h because the former is apparently not available in VS
Express editions.
>
> Hmm, I should have known VS would add that to the resource file. We're not even
> using MFC, so that's pretty useless of it, isn't it? :S
>
>> scons now fails on the Windows nightly build system.
>>
>> C:\Users\James\src\ohr\wip>scons
>> scons: Reading SConscript files ...
>>
>> scons: warning: Two different environments were specified for target gfx_directx
>> \gfx_directx.o,
>>         but they appear to have the same action: $RC $_CPPDEFFLAGS $RCINCFLAGS $
>> {RCINCPREFIX} ${SOURCE.dir} $RCFLAGS -i $SOURCE -o $TARGET
>> File "C:\Users\James\src\ohr\wip\SConscript", line 452, in <module>
>>
>> scons: *** Multiple ways to build the same target were specified for: gfx_direct
>> x\gfx_directx.o  (from ['gfx_directx\\gfx_directx.rc'] and from ['gfx_directx\\g
>> fx_directx.cpp'])
(Continue reading)


Gmane