Also thanks for pointing out the CMake issues. We require Git because we base 
our package names off the sha of the git commit that was checked out for the 
package. Qt is a giant PITA of a dependency, but it’s what was used for the 
Windows verison of rvu. We will either tighten up the dependency handling for 
Qt, or add an option to skip qtrvu for *nix, or both.

- Rob

From: "[email protected]" <[email protected]>
Reply-To: code development <[email protected]>
Date: Thursday, April 19, 2018 at 9:35 AM
To: code development <[email protected]>
Subject: Re: [Radiance-dev] Head Compilation Linux 64 Debian 9

Thanks, Terrance.

I guess HUGE was changed to HUGE_VAL in your version of Linux.  I changed the 
code to use FHUGE, which is defined in fvect.h.

I also removed this module from the list of default compiles, as it was added 
along with a library Jan Wienold uses in evalglare, but this particular set of 
functions is never called.  We probably should not have added it in the first 
place...  (I'm not even 100% sure what it's supposed to do -- heapsort?)

Cheers,
-Greg



From: Terrance McMinn <[email protected]<mailto:[email protected]>>

Date: April 19, 2018 8:09:53 AM PDT

Hello All,

I have compiled the head many times over the years using makeall.

1) Downloaded the latest HEAD (2018-04-19) and Supplementary files
2) Extracted to ~/Desktop/ray
3) Installed csh (apt-get install csh) version 20110502-3
4) installed ed (apt-get install ed) do version.c is generated as code not text 
lines
5) gcc version 7.3.0 (Debian 7.3.0-16)
6) sudo makeall install (use defaults as seen in the rmake file below)

cat /usr/local/bin/rmake
#!/bin/sh
exec make "SPECIAL=" \
    "OPT=-O2" \
    "MACH=-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 
-DNOSTEREO" \
    ARCH=IBMPC "COMPAT=erf.o" \
    INSTDIR=/usr/local/bin \
    LIBDIR=/usr/local/lib/ray \
    ESUFFIX= \
    CC=gcc "$@" -f Rmakefile

Error starting with:

gcc -Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 
-DNOSTEREO -O2   -c -o maxheap.o maxheap.c
maxheap.c: In function ‘resize_heap’:
maxheap.c:21:22: error: ‘HUGE’ undeclared (first use in this function); did you 
mean ‘FHUGE’?
   hp->heap[i].key = -HUGE;
                      ^~~~
                      FHUGE
maxheap.c:21:22: note: each undeclared identifier is reported only once for 
each function it appears in
maxheap.c: In function ‘mheap_remove_max’:

No libraries made hence issues further later into the makeall.

Which standard header is HUGE defined in?

maths.h defines HUGE_VAL but not HUGE

Tried using cmake but encountered packaging errors as to missing packages:

1) cmake --version
cmake version 3.10.2
2) Packages:
2.1) GIT (git version 2.17.0)
2.2) Qt5Widgets - where to download? Have installed libqt5widgets5 which 
includes:
        /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
        /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.10
        /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.10.1
find_package(Qt5Widgets) fails
2.3 Numerous non-existent target for Qt5::
CMake Error at src/rt/CMakeLists.txt:151 (get_target_property):
  get_target_property() called with non-existent target "Qt5::QGifPlugin".
--

Regards
Terrance McMinn
_______________________________________________
Radiance-dev mailing list
[email protected]
https://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to