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

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Dracarys
Posts: 0
Joined: Sun Dec 21, 2003 5:57 am

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

Post by Dracarys » Thu Jul 08, 2004 6:11 am

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?

bjornmose
Posts: 0
Joined: Tue Nov 25, 2003 5:27 pm
Location: Denzenberg, could walk to Hölderling-Tower
Contact:

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

Post by bjornmose » Thu Jul 08, 2004 10:06 am

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

Dracarys
Posts: 0
Joined: Sun Dec 21, 2003 5:57 am

Post by Dracarys » Thu Jul 08, 2004 9:55 pm

Yes, I ran the .bat. A search of my system found no rc.exe.

gabio
Posts: 0
Joined: Thu Jan 15, 2004 6:41 am
Location: Canada - Québec - Sherbrooke
Contact:

Post by gabio » Thu Jul 08, 2004 10:12 pm

reinstall...
:?

_florian_
Posts: 35
Joined: Wed Oct 16, 2002 10:17 am

Post by _florian_ » Fri Jul 09, 2004 5:26 pm

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
GIT d+ s:- a- C++ UL+++ P--- L+ E--- W+ N+ o-- K- w++ O-- M V--
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++

Dracarys
Posts: 0
Joined: Sun Dec 21, 2003 5:57 am

Post by Dracarys » Sun Jul 11, 2004 4:24 am

That dir doesn't exist :P

xanatose
Posts: 0
Joined: Thu Jul 01, 2004 4:54 am

Post by xanatose » Wed Jul 14, 2004 12:12 am

Is on your visual C++ directory.

Just do a search on that directory for rc.exe

Post Reply