If you're just wanting to compile a modified copy of dctimestep, Andy's advice is simplest. What he has you doing there is adding a build target for "dctimestep_german", so all you'd need to do once you have made your changes (and named the file dctimestep_german.c), is to drop into that directory and type "make dctimestep_german".
Good luck! - Rob From: Germán Molina Larrain [mailto:gmoli...@uc.cl] Sent: Monday, May 13, 2013 1:29 PM To: code development Subject: Re: [Radiance-dev] Trying a new program based on Radiance libraries As usual, Thanks Andy and Rob! I will try Andy's advice, and if it does not work, I will try asking you, Rob. I haven't ever play with compilers before, so Cmake and all that is new for me. THANKS VERY MUCH German 2013/5/13 Guglielmetti, Robert <robert.guglielme...@nrel.gov<mailto:robert.guglielme...@nrel.gov>> 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:amcn...@lbl.gov<mailto:amcn...@lbl.gov>] 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 <gmoli...@uc.cl<mailto:gmoli...@uc.cl>> 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 Radiance-dev@radiance-online.org<mailto:Radiance-dev@radiance-online.org> http://www.radiance-online.org/mailman/listinfo/radiance-dev _______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org<mailto:Radiance-dev@radiance-online.org> http://www.radiance-online.org/mailman/listinfo/radiance-dev
_______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev