@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 <gregoryjw...@gmail.com> 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 should > compile from there. Would like to get makeall working right, though: > > /* > * This file was created automatically during make. > */ > > char VersionID[]="RADIANCE 5.2a lastmod Fri Feb 16 10:37:53 PST 2018 by > gward on photon"; > > -------- > -G > > *From: *"Gregory J. Ward" <gregoryjw...@gmail.com> > > *Date: *April 5, 2018 8:44:39 AM PDT > > > 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 telling your problems > to a congressman, or a black hole. We're looking to fix that, but no one > gets notified of those posts at the moment. > > -Greg > > *From: *Philip Schwarz <philip.johann.schw...@googlemail.com> > > *Date: *April 5, 2018 8:35:45 AM PDT > > > 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.schwarz@ > googlemail.com> wrote: > >> 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 causes the 3 very similar compilation >> errors at the bottom of this email. The problem seems to be the dot in >> '5.0'. >> >> Btw, there is a file called Verscrit.ed which seems to relate to the >> content of Version.c, and which contains the following: >> >> >> 1s/^/char VersionID[]="/ >> >> 2s/^/ lastmod / >> >> 3s/^/ by / >> >> 4s/^/ on / >> >> 1,$j >> >> 1s/$/";/ >> >> 1i >> >> /* >> >> * This file was created automatically during make. >> >> */ >> >> >> . >> >> w >> >> q >> >> >> Is there something sort-term that I can do to prevent this from >> happening? >> >> If not, is it the case that this is just a minor error that can be >> ignored and doesn't prevent Radiance from being correctly installed and >> ready for use? >> >> Thanks, >> >> Philip Schwarz >> >> === ERRORS =========================================================== >> >> 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 >> >> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 >> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o Version.o >> Version.c >> >> *Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or ' >> *__attribute__*' before numeric constant >> >> RADIANCE 5.0 >> >> * ^* >> >> *Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer >> constant >> >> 6f0749328ec2 >> >> * ^* >> >> make: *** [Version.o] Error 1 >> >> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 >> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rpmain.o rpmain.c >> >> >> ================================================================= >> >> >> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 >> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO >> -DDEVPATH=\"/home/radiance/bin\" -c -o viewbeams.o viewbeams.c >> >> cp ../rt/Version.c . >> >> gcc -I../common -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 >> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO >> -DDEVPATH=\"/home/radiance/bin\" -c -o Version.o Version.c >> >> *Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or ' >> *__attribute__*' before numeric constant >> >> RADIANCE 5.0 >> >> * ^* >> >> *Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer >> constant >> >> 6f0749328ec2 >> >> * ^* >> >> make: *** [Version.o] Error 1 >> >> >> ================================================================= >> >> >> gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 >> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o rpiece.o rpiece.c >> >> cp ../rt/Version.c . >> >> gcc -I../common -I../rt -L../lib -O2 -Dlinux -D_FILE_OFFSET_BITS=64 >> -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -c -o Version.o >> Version.c >> >> *Version.c:1:10:* *error: *expected '*=*', '*,*', '*;*', '*asm*' or ' >> *__attribute__*' before numeric constant >> >> RADIANCE 5.0 >> >> * ^* >> >> *Version.c:4:1:* *error: *invalid suffix "f0749328ec2" on integer >> constant >> >> 6f0749328ec2 >> >> * ^* >> >> make: *** [Version.o] Error 1 >> >> =============================================================== >> >> > _______________________________________________ > Radiance-dev mailing list > Radiance-dev@radiance-online.org > https://www.radiance-online.org/mailman/listinfo/radiance-dev > >
_______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org https://www.radiance-online.org/mailman/listinfo/radiance-dev