Jesper de Jong
unread,May 16, 2008, 4:04:58 PM5/16/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pbrt
Thanks. One addition if you are running 64-bit Ubuntu: The -fPIC
compiler option needs to be added to the Makefile. Find the following
line in the Makefile:
CXXFLAGS=$(OPT) $(INCLUDE) $(WARN)
And change it to this:
CXXFLAGS=$(OPT) $(INCLUDE) $(WARN) -fPIC
Also, you can compile pbrt with some extra optimizations, for example
if you have a newer processor which supports SSE3 instructions, change
the line beginning with OPT= to the following:
OPT=-O2 -msse3 -mfpmath=sse
regards,
Jesper