Not sure if you've used the CMake build system, but you'd need to modify the 
CMakeLists.txt file in a similar manner if you wish to use it for your project. 
Let me know if you want to go that route, I can help.

- Rob

From: Andrew McNeil [mailto:[email protected]]
Sent: Monday, May 13, 2013 12:13 PM
To: code development
Subject: Re: [Radiance-dev] Trying a new program based on Radiance libraries

Hi German,
If you're taking the dctimestep code and modifying it, than I'd recommend 
duplicating all the dctimestep lines in ray/src/utilities/Rmakefile so that you 
have entries that look something like this:

PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
vwrays xglaresrc rsensor dctimestep dctimestep_german rttree_reduce

dctimestep_german: dctimestep_german.o
$(CC) $(CFLAGS) -o dctimestep_german dctimestep_german.o -lrtrad $(MLIB)

dctimestep_german.o: ../common/standard.h \
../common/rtmisc.h ../common/rtio.h \
../common/rtmath.h ../common/mat4.h ../common/fvect.h \
../common/rterror.h ../common/platform.h ../common/paths.h \
../common/color.h ../common/bsdf.h ../common/bsdf_m.h ../common/resolu.h


Andy



On Mon, May 13, 2013 at 9:54 AM, Germán Molina Larrain 
<[email protected]<mailto:[email protected]>> wrote:
Dear List,

It is the first time I write in this list (the other list is the one I usually 
use), and that is because I am not an experienced programmer.

Anyway, I am thinking on try a modified dctimestep, which requires some 
Radiance Libraries. I was wondering if it was any simple way of compiling it; 
like adding a line to the make file or something like that.

If not, I will try asking someone to teach me.

THANKS VERY MUCH

German


_______________________________________________
Radiance-dev mailing list
[email protected]<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-dev

_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to