Hello,
When I tried to include the edgemesh_grid example
include parts into editslice.h,
editslice.h
.....
#include <wrap/io_edgemesh/export_svg.h>
//start here
#include <vcg/simplex/vertex/with/afvn.h>
#include <vcg/simplex/edge/with/emef.h>
#include <vcg/complex/edgemesh/base.h>
#include <vcg/complex/edgemesh/allocate.h>
#include <vcg/complex/edgemesh/update/bounding.h>
#include <vcg/complex/edgemesh/closest.h>
class MyFace;
class MyEdge;
class MyVertex : public vcg::VertexAFVN<float,MyEdge,
MyFace> {};
class MyEdge : public vcg::EdgeEMEF<MyEdge, MyVertex>
{};
class MyEdgeMesh: public vcg::edge::EdgeMesh<
std::vector<MyVertex>, std::vector<MyEdge> > {};
//end here
typedef CMeshO n_Mesh;
......
I got the following compiling error,
1>c:\meshlabcvs\meshlab\src\meshlabplugins\editslice\editslice.h(34)
: error C2039: 'EdgeEMEF' : is not a member of 'vcg'
1>c:\meshlabcvs\meshlab\src\meshlabplugins\editslice\editslice.h(34)
: error C2504: 'EdgeEMEF' : base class undefined
1>c:\meshlabcvs\meshlab\src\meshlabplugins\editslice\editslice.h(34)
: error C2143: syntax error : missing ',' before '<'
I use VC 2005 compiler in windows.
Could anyone please help to figure out the reason or
work around to make this compile?
Thanks
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
|