[Pbrt-discuss] pbrt build on visual 2005 crashes

fabrice fabrice_macagno at yahoo.fr
Sun Mar 25 19:01:16 EDT 2007


Hello, I'm not sure if it's the right place to talk about that. If not,
I apologize.
I've build pbrt with microsoft visual 2005 (with service pack 1). And
pbrt crashes when rendering caustic-proj.pbrt (I've got the same error
with caustic-simple.pbrt), during the photon shooting process:

* in debug mode I've got an "vector subscript out of range"
* in release mode I've got an "an unhandled win32 exception occured
in pbrt.exe [4864]"

The error occurs in kdtree.h, in recursiveBuild method, when invoking
the standard c++ method: nth_element.

I'm on windows xp pro 32, service pack 2.

I guess the bug already existed but was not catched with visual 2003.
The scene render fine with the binary renderer (build on msvc 2003)
included with the book.

I've discovered pbrt recently, so I can't help fix it for now.

Cheers.

PS: great work and great book!







___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com


More information about the pbrt-discuss mailing list