Page 1 of 1

Scons wants "rc", won't compile (win/MSVC)???

Posted: Thu Jul 08, 2004 6:11 am
by Dracarys
I've been trying to compile bf-blender and tuhopuu with MSVC and associated programs, and scons. Here's what happens:
SCons wrote:scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
rc /DWIN32 /D_CONSOLE /DWITH_QUICKTIME /D_LIB /DUSE_OPENAL /DGLEW_STATIC /DFTGL_
LIBRARY_STATIC /DGAMEBLENDER=1 /DUSE_SUMO_SOLID /DBM_TEXTUREPAINT=1 /DNO_AQSIS=1
/DNDEBUG /I\usr\include /fosource\icons\winblender.res source\icons\winblender.
rc
'rc' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [source\icons\winblender.res] Error 1
scons: building terminated because of errors.
Can I get some help resolving this?

Re: Scons wants "rc", won't compile (win/MSVC)???

Posted: Thu Jul 08, 2004 10:06 am
by bjornmose
Cheesemonkey wrote:I've been trying to compile bf-blender and tuhopuu with MSVC and associated programs, and scons. Here's what happens:
SCons wrote:scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
rc /DWIN32 /D_CONSOLE /DWITH_QUICKTIME /D_LIB /DUSE_OPENAL /DGLEW_STATIC /DFTGL_
LIBRARY_STATIC /DGAMEBLENDER=1 /DUSE_SUMO_SOLID /DBM_TEXTUREPAINT=1 /DNO_AQSIS=1
/DNDEBUG /I\usr\include /fosource\icons\winblender.res source\icons\winblender.
rc
'rc' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [source\icons\winblender.res] Error 1
scons: building terminated because of errors.
Can I get some help resolving this?
rc.exe is the ressource compiler in MSVC and should be in the "common bin" folder of your MS devel stuff. Since this is the first thing the scons script does with the developers environment i guess it does not see anything of it. Did you do VCVARS32.bat ?

bm

Posted: Thu Jul 08, 2004 9:55 pm
by Dracarys
Yes, I ran the .bat. A search of my system found no rc.exe.

Posted: Thu Jul 08, 2004 10:12 pm
by gabio
reinstall...
:?

Posted: Fri Jul 09, 2004 5:26 pm
by _florian_
Cheesemonkey wrote:Yes, I ran the .bat. A search of my system found no rc.exe.
you can find the resource compiler in:
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
add that path to your vcvars32.bat

Posted: Sun Jul 11, 2004 4:24 am
by Dracarys
That dir doesn't exist :P

Posted: Wed Jul 14, 2004 12:12 am
by xanatose
Is on your visual C++ directory.

Just do a search on that directory for rc.exe