ブースト ジオメトリのディゾルブはここで少し説明されています。今必要なのはその SVN ホームですが、インクルードするとすぐに#include <boost/geometry/extensions/algorithms/dissolve.hpp>
コンパイル エラーが発生します (エラー C4430、C2146、および C2061)=( パッチを提供できる人はいますか?
サンプルコードは、たとえばここにあります
エラー:
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
最小限のコードは次のようになります (VS2010 では警告エラーで失敗することがテストされています):
#include <boost/geometry/extensions/algorithms/dissolve.hpp>
int main()
{
return 0;
}