[Bf-committers] Scons is using the wrong compiler on my win32
Peter den Bak
Tue, 24 Feb 2004 13:42:20 +0100
I did that and I also checked with the =93echo %INCLUDE%=94 command if =
environment variables are set right, however it is still using the =
environment with scons.
How do you know with compiler is used on your system?
I can tell this by looking at this error:
source\gameengine\GameLogic\SCA_IInputDevice.cpp(32) : fatal error =
Cannot open include file: 'iostream.h': No such file or directory
scons: building terminated because of errors.
The iostream.h is not part of the default environment when using msvc7 =
2003, so scons must have used the default .net 2003 environment =
Are you sure that you don=92t have the same problem on your system, but =
not yet notice it?
I think scons uses its own virtual command window, witch reverts to the
default environment, and so destroys the effects of the vcvars32.bat
[mailto:email@example.com] On Behalf Of Nathan Letwory
Sent: Tuesday, February 24, 2004 12:43 PM
Subject: Re: [Bf-committers] Scons is using the wrong compiler on my =
You need to run the VCVARS32.BAT from the bin directory of the compiler=20
you want to use. I have successfully used msvc6 and msvc7.0 on the same=20
machine in that way.
Peter den Bak wrote:
> On my win32 system I have installed three different compilers:
> Msvc 6
> Msvc 7 (.net 2000)
> Msvc 7 (.net 2003)
> By default the msvc .net 2003 compiler is used, however when I want to =
> use the msvc 6 compiler I open a command windows and give the=20
> vcvars32.bat command witch sets the environment variables to use the=20
> msvc6 compiler. When I then give the scons command it still uses the=20
> msvc .net 2003 compiler.
> Blender won=92t compile with .net 2003 (yet).
> How can I force scons to use the msvc 6 compiler?
> Is there a command witch you can use in the Sconstruct to force scons =
> use msvc 6 or any other compiler with right environment variables set?
Axel Technologies Oy
Tykist=F6katu 4 D
Tel +358 2 5128800, fax +358 2 5128811
suora: +358 2 5128850
Bf-committers mailing list