Boost geometry's dissolve described a bit here, is what I need right now, its SVN home is here but as soon as I include #include <boost/geometry/extensions/algorithms/dissolve.hpp>
I get compile errors (error C4430, C2146 and C2061)=( Can any one provide a patch?
Sample code can be found for example here
Errors:
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\avesta\desktop\cf\trunk\cloudserver\3rdparty\header-only\boost\geometry\extensions\algorithms\dissolve.hpp 67 1 CloudServer
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\avesta\desktop\cf\trunk\cloudserver\3rdparty\header-only\boost\geometry\extensions\algorithms\dissolve.hpp 67 1 CloudServer
Error 1 error C2146: syntax error : missing ';' before identifier 'state_type' c:\users\avesta\desktop\cf\trunk\cloudserver\3rdparty\header-only\boost\geometry\extensions\algorithms\dissolve.hpp 67 1 CloudServer
Error 4 error C2061: syntax error : identifier 'state_type' c:\users\avesta\desktop\cf\trunk\cloudserver\3rdparty\header-only\boost\geometry\extensions\algorithms\dissolve.hpp 76 1 CloudServer
minimal bit of code would look like (tested to fail with that wary errors on VS2010):
#include <boost/geometry/extensions/algorithms/dissolve.hpp>
int main()
{
return 0;
}