Compiling Radiance

jbk jbk-SkCWf5sxpj0sV2N9l4h3zg at public.gmane.org
Sat Jan 9 22:36:56 EST 2010


I have discovered this program that analyzes the reflectance and light 
transmittance of surfaces. I have downloaded the source and have 
attempted to compile it but get an error complaining about cpp. I do 
have cpp in /usr/bin and there is a link to it in /lib .

Here is the error I get.

usr/include/X11 -DNOSTEREO -o psign psign.o -lrtrad -lm
cd tiff ; ./configure -C -quiet -with-CC=gcc \
        "--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \
        --enable-static --disable-shared --disable-cxx \
        --enable-logluv --disable-jpeg \
        --disable-zlib --disable-pixarlog \
        "-with-ENVOPTS=-O2" ; \
    cd port ; make all ; \
    cd ../libtiff ; make install
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

I am compiling this in F12 64 bit.

There is no config.log otherwise I would post relevant output. The 
compiled binaries are available for ubuntu someplace.

Jim KR





More information about the Discuss mailing list