Open GoogleCodeExporter opened 9 years ago
Above was with carve from repo. Below is with 1.4.0 release:
Making all in src
g++ -DHAVE_CONFIG_H -I. -I../include -I../include/carve -I../common
-I../include -I../external/GLOOP/include -I../external/GLEW/include
-I../external/GLUI/include -g -O2 -MT intersect-glu_triangulator.o -MD -MP -MF
.deps/intersect-glu_triangulator.Tpo -c -o intersect-glu_triangulator.o `test
-f 'glu_triangulator.cpp' || echo './'`glu_triangulator.cpp
../include/carve/face_decl.hpp: In member function ‘virtual void
GLUTriangulator::processOutputFace(std::vector<carve::poly::Face<3u>*,
std::allocator<carve::poly::Face<3u>*> >&, const carve::poly::Face<3u>*,
bool)’:
../include/carve/face_decl.hpp:71: error: ‘std::vector<const
carve::poly::Vertex<3u>*, std::allocator<const carve::poly::Vertex<3u>*> >
carve::poly::Face<3u>::vertices’ is protected
glu_triangulator.cpp:114: error: within this context
../include/carve/face_decl.hpp:71: error: ‘std::vector<const
carve::poly::Vertex<3u>*, std::allocator<const carve::poly::Vertex<3u>*> >
carve::poly::Face<3u>::vertices’ is protected
glu_triangulator.cpp:126: error: within this context
../include/carve/face_decl.hpp:71: error: ‘std::vector<const
carve::poly::Vertex<3u>*, std::allocator<const carve::poly::Vertex<3u>*> >
carve::poly::Face<3u>::vertices’ is protected
glu_triangulator.cpp:127: error: within this context
../include/carve/face_decl.hpp:71: error: ‘std::vector<const
carve::poly::Vertex<3u>*, std::allocator<const carve::poly::Vertex<3u>*> >
carve::poly::Face<3u>::vertices’ is protected
glu_triangulator.cpp:127: error: within this context
make[1]: *** [intersect-glu_triangulator.o] Error 1
make: *** [all-recursive] Error 1
Original comment by dusan.ma...@gmail.com
on 8 Dec 2011 at 8:02
Hi,
Could you please try building with cmake? The autotools build files are a bit
out of date. I'll take a look at getting them back up to scratch, but cmake is
the preferred approach now.
If that fails, could you please provide gcc version info, so that I can check
the compile errors?
OSX is the primary development environment for Carve, so you shouldn't be
having these problems.
Original comment by tobias.s...@gmail.com
on 9 Dec 2011 at 5:47
On Lion, using XCode 4.3 and up-to-date CMake I have following issue:
When using the Clang LVMM compiler, I get the above errors. When switching to
the GCC compiler it compiles fine. I know how to do this in XCode, so when I
generate an XCode project from CMake I can do the switch over there. But I fail
to set this up properly from the CMake command line (probably due to the
changed setup of the command-line tools in latest XCode 4.3).
Original comment by stef...@gmail.com
on 25 Apr 2012 at 7:57
The above problem I noticed was still based on the 1.4.0 sources. I've retried
using the mercurial sources and now the errors are gone.
Using Clang compiler, XCode 4.3 on OSX Lion and cmake
Original comment by stef...@gmail.com
on 25 Apr 2012 at 8:13
Original issue reported on code.google.com by
dusan.ma...@gmail.com
on 8 Dec 2011 at 7:23