Did anyone succeed in building couchview.c under Windows?
#include <unistd.h> is causing problems since it does not exist on Windows.
I am using Visual Studio 2008, libcouchbase and yajl from GitHub.
here are some of by errors:
1> Conversion from ‘void*’ to pointer to non-‘void’ requires an explicit cast
1>couchview.cpp(58) : error C2440: ‘=’ : cannot convert from ‘const void *’ to ‘const char '
1> Conversion from 'void’ to pointer to non-‘void’ requires an explicit cast
1>couchview.cpp(81) : error C2440: ‘=’ : cannot convert from ‘const void *’ to ‘const char '
1> Conversion from 'void’ to pointer to non-‘void’ requires an explicit cast
1>couchview.cpp(82) : error C3861: ‘isatty’: identifier not found
1>couchview.cpp(84) : error C3861: ‘snprintf’: identifier not found