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
===============================================================