[Radiance-dev] Compiling rsensor on Windows

Rob Guglielmetti rpg at rumblestrip.org
Tue Apr 15 09:44:41 PDT 2008


Hi,

I'm trying to compile the new rsensor code* to run on windows.  I know 
it's possible, but I'm having trouble.  I finally have MINGW and MSYS 
installed on my computer and gcc as well.  That all works, I can get a 
running bash shell on my computer.  Problem is the makeall script is a 
csh script (MSYS, short for Minimal SYStem, is indeed a minimal cygwin 
installation). 

Plan B was simply to go into the /src/util directory and call "make 
rsensor".  But even after changing the rmakefile to read CC = gcc from C 
= cc, I still get an error saying cc not found.  Not sure why it's still 
trying to use cc instead of gcc; gcc is installed and in the search path. 

So plan C was simply to call gcc directly but the Rmake file references 
a .o file and I only have your rsensor.c file.  So I'm missing one or 
more steps that apparently happen ahead of this Rmakefile.  Can anyone 
help or suggest a way to get this utility to compile?(???????????)

*rsensor is a utility that Architectural Energy Corp. contracted Greg to 
create.  It's essentially a modified version of rtrace, to be used to 
read the spatial sensitivity of a photosensor, which Zack is 
incorporating in to his SPOT program (hence my need to get this to 
compile for Windows). It's still in test phase, but it's in the HEAD 
release in the spirit of open source.

- Rob





More information about the Radiance-dev mailing list