In cmake you have a variable: CARVE_SYSTEM_BOOST. Actually I set all the boolean variables to false, except BUILD_SHARED_LIBRARY (you might even want to try and set it to false as well).
But your errors don’t seem to be boost related (so maybe you should leave it be for now). Let’s try and fix the first ones, and then please post an update errors list. If you can’t seem to find the line I’m talking about, then please let me know, since I’m might be looking on changed files.
1. The compiler seems to be right: The edges variable in class Face is protected. So let's make it public. In file face_decl.hpp move line 72 to line 69 (just cut and paste, don't delete empty lines, so the lines afterward would keep their line numbers).
2. polyhedron_impl.hpp lines 119 and 134 add const in the beginning of each line (f should be a const pointer in both places, since it is assigned to a const pointer).
3. In polyhedron_impl.hpp lines 145-147, the data type seems to be too complex for this compiler to make a reference of. So let's do it without an accessory variable; change these lines from
std::vector<const edge_t *> &e = connectivity.vertex_to_edge[vertexToIndex_fast(v)];
std::copy(e.begin(), e.end(), result);
return e.size();
to
// std::vector<const edge_t *> &e = connectivity.vertex_to_edge[vertexToIndex_fast(v)];
std::copy(connectivity.vertex_to_edge[vertexToIndex_fast(v)].begin(), connectivity.vertex_to_edge[vertexToIndex_fast(v)].end(), result);
return connectivity.vertex_to_edge[vertexToIndex_fast(v)].size();