Closed jgillman closed 12 years ago
I just came across this, as I was working up a Homebrew formula for the 1.7 tarball to replace the old 1.4 one. The new version fails to compile with errors about the boost-1.47.0 this has a dep on:
/tmp/homebrew-c10t-1.7-0KnA/udoprog-c10t-af6c021/src/fileutils.hpp:57:31: error: no viable conversion from 'boost::filesystem3::path' to 'std::string const'
(aka 'const basic_string<char>')
if (!file_filter(itr->path().filename())) {
^
That could explain why the current formula is for 1.4.
The solution to the original bug is that src/image/format/png.hpp needs to #include
Apparently Github's comment system is horrible and removes angle-brackets. The comment above was supposed to refer to #include <zlib.h>.
Pull request #196 issued regarding this issue.
Try, and reopen if issue still exists
Thanks for figuring that out and getting them to merge the fix upstream.
Output on 'make c10t' using the ae5698cd627fc6e4d0d2a721c476e37481a1b63e (most recent) commit.
Originally tried installing with Homebrew but it only seems to build pre-1.8 maps. --version on the brew installed one reports "SNAPSHOT".