couchview.c example on windows

Did anyone succeed in building couchview.c under Windows?

#include 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

1 Answer

« Back to question.

Any news on this?
Have you tried the fix proposed by Sergey?

Regards
Tug
@tgrall