mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.88k stars 1.19k forks source link

Compilation issues with Sublime Text 2 - Ninja generator #89

Closed brupelo closed 6 years ago

brupelo commented 7 years ago

Steps to reproduce:

And the output will be:

ninja: error: 'src/ext/zlib/Release/zlibstatic.lib', needed by 'imgtool.exe', missing and no known rule to make it

What does it mean?

mmp commented 7 years ago

I can't reproduce this on OSX; a ninja build via cmake completes without errors. Unfortunately I don't have easy access to a Windows system, so can't be of much help debugging this.

brupelo commented 7 years ago

Matt, mmm, the fact using cmake+ninja on macosx works out of the box but not on windows is... well, strange :) , if you got any suggestion in order to narrow this please let me know, I got windows and I could test it out.

mmp commented 7 years ago

I found a Windows-specific issue in the cmake file that may have caused this. Could you try syncing to top of tree and see if this is fixed?

brupelo commented 7 years ago

@mmp Hi, unfortunately that didn't do it, here's the current output

mmp commented 6 years ago

Closing as "don't know how to fix / don't have enough info to proceed"