Steps to reproduce:
git submodule update --init --recursive
mkdir build && cd build
cmake .. -G "Sublime Text 2 - Project" -DCMAKE_BUILD_TYPE=Release
sublime_text sublime_text PBRT-V3.sublime-project
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?
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.
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.
Improvements to Windows build.
Add the missing zlibstatic dependency.
Remove hack from appveyor.yml that explicitly built zlib first.
May fix issue #89?
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?
@mmp Hi, unfortunately that didn't do it, here's the current output