[Pbrt-discuss] Compiling on Linux

Brian Gottreu gottreu at latech.edu
Thu Sep 21 16:12:05 EDT 2006


I'm having a host of problems compiling pbrt under linux. I first tried
on 64-bit Ubuntu 6.06. When running pbrt it would give a "Fatal Error:
Parsing error: parse error" on the first line of any example scene i
tried. Then I tried 32-bit Ubuntu 6.06. It wouldn't give a parse
error, but it would produce a 355 byte exr file regardless of input file
specified. And when converted to tiff with exrtotiff the tiff would be
1 pixel in size. Finally I tried Fedora Core 5. Besides needing to
edit the makefile to point to the OpenEXR libraries already on my
system, building on Ubuntu went smoothly. But with Fedora I got many
errors of the form "shapes/disk.cpp:24: error: extra qualification
'Disk::' on member 'Sample'". I removed all the extra qualifications
and pbrt built, but running it produces errorw like "Error: Can't open
plug-in "/home/gottreu/pbrt/src-1.02/bin/distant.so"
(/home/gottreu/pbrt/src-1.02/bin/distant.so: cannot restore segment prot
after reloc: Permission denied)"

On what versions of Linux have you all successfully compiled and run
pbrt? Have any suggestions as to what I can do to get it working?

Thanks,
Brian Gottreu



More information about the pbrt-discuss mailing list