Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Randolph Fritz
“ex” is a usually a substitute, though it is slightly different from “ed”. -- Randolph M. Fritz, Lighting Design and Simulation +1 206 659-8617 || rmfri...@gmail.com > On Apr 5, 2018, at 8:44 AM, Gregory J. Ward wrote: > > It seems like your Linux (and some others?)

Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Philip Schwarz
@Greg >this is what your Version.c file should look like in the end That works. Great. Thanks. Philip On 5 April 2018 at 16:46, Gregory J. Ward wrote: > Incidentally, this is what your Version.c file should look like in the > end. If you create this in your src/rt directory, everything sho

Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Philip Schwarz
Hello Greg, Yes, about ed, I was getting the following error: gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o pmaptype.o pmaptype.c ( cat VERSION ; date ; whoami ; hostname ) > Version.c ed - Version.c < verscript.ed /bin/sh: ed:

Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Guglielmetti, Robert
Yes, thanks for supplying the stdout. Greg is right, you need 'ed' as the script is written, easy to sub for some other stream editor. And I am starting to monitor the GitHub issues page more regularly, as people do seem to be using it, but as I and Greg have noted here and elsewhere Philip, it'

Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Gregory J. Ward
Incidentally, this is what your Version.c file should look like in the end. If you create this in your src/rt directory, everything should compile from there. Would like to get makeall working right, though: /* * This file was created automatically during make. */ char VersionID[]="RADIANCE

Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Gregory J. Ward
It seems like your Linux (and some others?) don't include the standard "ed" editor or any equivalent. Can you install it? This script could probably be converted easily enough to 'sed' or Perl, but this is the first I've heard of the problem. Reporting errors on NREL's github is currently like

Re: [Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Philip Schwarz
by the way, someone has run into this problem in the past: https://github.com/NREL/Radiance/issues/17 Philip On 5 April 2018 at 16:34, Philip Schwarz < philip.johann.schw...@googlemail.com> wrote: > Hello, > > when I run 'makeall install' against release 5.0 of Radiance ( > https://github.com/NR

[Radiance-dev] src/rt/Version.c does not compile

2018-04-05 Thread Philip Schwarz
Hello, when I run 'makeall install' against release 5.0 of Radiance ( https://github.com/NREL/Radiance/releases/tag/5.0), file src/rt/Version.c is automatically generated, with the following contents: RADIANCE 5.0 Thu Apr 5 13:38:59 UTC 2018 root 6f0749328ec2 Version.c does not compile. It