cnr-isti-vclab / meshlabjs

A javascript client based mesh processing tool. Built using vcg library, emscripten and webgl
http://www.meshlabjs.net
GNU Affero General Public License v3.0
231 stars 51 forks source link

"no member" Error in make -f MakefileJS #146

Open hop-soellingeraj opened 3 years ago

hop-soellingeraj commented 3 years ago
fortville@fortville-HP-Z620-Workstation:~/code/meshlabs-server/test/meshlabjs/sources$ make -f MakefileJS
emcc -c -o Color.bc Color.cpp -I.  -I ../../vcglib/   -I ../../vcglib/eigenlib -s TOTAL_MEMORY=536870912  -std=c++11 -s PRECISE_F32=1 -s DEMANGLE_SUPPORT=1 --bind  -s LINKABLE=1 -Os
emcc: warning: linker setting ignored during compilation: 'TOTAL_MEMORY' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'PRECISE_F32' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEMANGLE_SUPPORT' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'LINKABLE' [-Wunused-command-line-argument]
emcc: warning: linker flag ignored during compilation: '--bind' [-Wunused-command-line-argument]
In file included from Color.cpp:1:
./mesh_def.h:23:88: error: no member named 'Curvaturef' in namespace 'vcg::vertex'
                                                   vcg::vertex::Mark,     vcg::vertex::Curvaturef,
                                                                          ~~~~~~~~~~~~~^
In file included from Color.cpp:1:
In file included from ./mesh_def.h:6:
In file included from ../../vcglib/vcg/complex/complex.h:46:
In file included from ../../vcglib/vcg/complex/used_types.h:39:
../../vcglib/vcg/simplex/face/component.h:56:35: error: no type named 'NormalType' in 'MyVertex'
  typedef typename T::VertexType::NormalType NormalType;
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../../vcglib/vcg/simplex/face/base.h:74:13: note: in instantiation of template class 'vcg::face::EmptyCore<vcg::FaceTypeHolder<MyUsedTypes>>' requested here
            face::EmptyCore< FaceTypeHolder <UserTypes> > {
            ^
../../vcglib/vcg/simplex/face/component.h:664:40: note: in instantiation of template class 'vcg::FaceBase<MyUsedTypes>' requested here
template <class T> class FFAdj: public T {
                                       ^
../../vcglib/vcg/container/derivation_chain.h:37:27: note: in instantiation of template class 'vcg::face::FFAdj<vcg::FaceBase<MyUsedTypes>>' requested here
                                        class Arity1: public A<Base > {
                                                             ^
../../vcglib/vcg/simplex/face/component.h:594:40: note: in instantiation of template class 'vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>' requested here
template <class T> class VFAdj: public T {
                                       ^
../../vcglib/vcg/container/derivation_chain.h:43:27: note: in instantiation of template class 'vcg::face::VFAdj<vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>>' requested here
                                        class Arity2: public B<Arity1<Base, A> > {};
                                                             ^
../../vcglib/vcg/simplex/face/component.h:382:49: note: (skipping 20 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
template <class A, class T> class Color: public T {
                                                ^
../../vcglib/vcg/container/derivation_chain.h:113:28: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity10<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                                        class Arity11: public K<Arity10<Base, A, B, C, D, E, F, G, H, I, J> > {};
                                                              ^
../../vcglib/vcg/container/derivation_chain.h:32:31: note: in instantiation of template class 'vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
class DefaultDeriver : public T {};
                              ^
../../vcglib/vcg/simplex/face/base.h:97:48: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                    class FaceArityMax: public L<Arity11<FaceBase<UserTypes>, A, B, C, D, E, F, G, H, I, J, K> > {
                                               ^
../../vcglib/vcg/simplex/face/base.h:296:48: note: in instantiation of template class 'vcg::FaceArityMax<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
                            class Face: public FaceArityMax<UserTypes, A, B, C, D, E, F, G, H, I, J, K, L>  {
                                               ^
./mesh_def.h:25:26: note: in instantiation of template class 'vcg::Face<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags>' requested here
class MyFace    : public vcg::Face<   MyUsedTypes, vcg::face::FFAdj,     vcg::face::VFAdj,     vcg::face::Color4b,
                         ^
In file included from Color.cpp:1:
In file included from ./mesh_def.h:6:
In file included from ../../vcglib/vcg/complex/complex.h:46:
In file included from ../../vcglib/vcg/complex/used_types.h:39:
../../vcglib/vcg/simplex/face/component.h:154:35: error: no type named 'CurvatureDirType' in 'MyVertex'
  typedef typename T::VertexType::CurvatureDirType CurvatureDirType;
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:671:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer &FFp(const int j)        { assert(j>=0 && j<3);  return _ffp[j]; }
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/container/derivation_chain.h:37:27: note: in instantiation of template class 'vcg::face::FFAdj<vcg::FaceBase<MyUsedTypes>>' requested here
                                        class Arity1: public A<Base > {
                                                             ^
../../vcglib/vcg/simplex/face/component.h:594:40: note: in instantiation of template class 'vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>' requested here
template <class T> class VFAdj: public T {
                                       ^
../../vcglib/vcg/container/derivation_chain.h:43:27: note: in instantiation of template class 'vcg::face::VFAdj<vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>>' requested here
                                        class Arity2: public B<Arity1<Base, A> > {};
                                                             ^
../../vcglib/vcg/simplex/face/component.h:382:49: note: in instantiation of template class 'vcg::Arity2<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj>' requested here
template <class A, class T> class Color: public T {
                                                ^
../../vcglib/vcg/simplex/face/component.h:432:42: note: in instantiation of template class 'vcg::face::Color<vcg::Color4<unsigned char>, vcg::Arity2<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj>>' requested here
template <class T> class Color4b: public Color<vcg::Color4b, T> {
                                         ^
../../vcglib/vcg/container/derivation_chain.h:49:27: note: (skipping 18 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
                                        class Arity3: public C<Arity2<Base, A, B> > {};
                                                             ^
../../vcglib/vcg/container/derivation_chain.h:113:28: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity10<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                                        class Arity11: public K<Arity10<Base, A, B, C, D, E, F, G, H, I, J> > {};
                                                              ^
../../vcglib/vcg/container/derivation_chain.h:32:31: note: in instantiation of template class 'vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
class DefaultDeriver : public T {};
                              ^
../../vcglib/vcg/simplex/face/base.h:97:48: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                    class FaceArityMax: public L<Arity11<FaceBase<UserTypes>, A, B, C, D, E, F, G, H, I, J, K> > {
                                               ^
../../vcglib/vcg/simplex/face/base.h:296:48: note: in instantiation of template class 'vcg::FaceArityMax<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
                            class Face: public FaceArityMax<UserTypes, A, B, C, D, E, F, G, H, I, J, K, L>  {
                                               ^
./mesh_def.h:25:26: note: in instantiation of template class 'vcg::Face<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags>' requested here
class MyFace    : public vcg::Face<   MyUsedTypes, vcg::face::FFAdj,     vcg::face::VFAdj,     vcg::face::Color4b,
                         ^
In file included from Color.cpp:1:
In file included from ./mesh_def.h:6:
In file included from ../../vcglib/vcg/complex/complex.h:46:
In file included from ../../vcglib/vcg/complex/used_types.h:39:
../../vcglib/vcg/simplex/face/component.h:672:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer  FFp(const int j) const  { assert(j>=0 && j<3);  return _ffp[j]; }
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:673:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer cFFp(const int j) const  { assert(j>=0 && j<3);  return _ffp[j]; }
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:678:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer &FFp1( const int j )       { return FFp((j+1)%3);}
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:679:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer &FFp2( const int j )       { return FFp((j+2)%3);}
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:680:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer  FFp1( const int j ) const { return FFp((j+1)%3);}
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:681:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer  FFp2( const int j ) const { return FFp((j+2)%3);}
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:682:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer cFFp1( const int j ) const { return FFp((j+1)%3);}
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:683:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer cFFp2( const int j ) const { return FFp((j+2)%3);}
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:693:15: error: no type named 'FacePointer' in 'vcg::FaceBase<MyUsedTypes>'
  typename T::FacePointer _ffp[3] ;
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:604:15: error: no type named 'FacePointer' in 'vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>'
  typename T::FacePointer &VFp(const int j)        { assert(j>=0 && j<3);  return _vfp[j]; }
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/container/derivation_chain.h:43:27: note: in instantiation of template class 'vcg::face::VFAdj<vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>>' requested here
                                        class Arity2: public B<Arity1<Base, A> > {};
                                                             ^
../../vcglib/vcg/simplex/face/component.h:382:49: note: in instantiation of template class 'vcg::Arity2<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj>' requested here
template <class A, class T> class Color: public T {
                                                ^
../../vcglib/vcg/simplex/face/component.h:432:42: note: in instantiation of template class 'vcg::face::Color<vcg::Color4<unsigned char>, vcg::Arity2<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj>>' requested here
template <class T> class Color4b: public Color<vcg::Color4b, T> {
                                         ^
../../vcglib/vcg/container/derivation_chain.h:49:27: note: in instantiation of template class 'vcg::face::Color4b<vcg::Arity2<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj>>' requested here
                                        class Arity3: public C<Arity2<Base, A, B> > {};
                                                             ^
../../vcglib/vcg/simplex/face/component.h:246:53: note: in instantiation of template class 'vcg::Arity3<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b>' requested here
template <class A, class T> class NormalAbs: public T {
                                                    ^
../../vcglib/vcg/simplex/face/component.h:312:43: note: (skipping 16 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
template <class T> class Normal3f: public NormalAbs<vcg::Point3f, T> {
                                          ^
../../vcglib/vcg/container/derivation_chain.h:113:28: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity10<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                                        class Arity11: public K<Arity10<Base, A, B, C, D, E, F, G, H, I, J> > {};
                                                              ^
../../vcglib/vcg/container/derivation_chain.h:32:31: note: in instantiation of template class 'vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
class DefaultDeriver : public T {};
                              ^
../../vcglib/vcg/simplex/face/base.h:97:48: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                    class FaceArityMax: public L<Arity11<FaceBase<UserTypes>, A, B, C, D, E, F, G, H, I, J, K> > {
                                               ^
../../vcglib/vcg/simplex/face/base.h:296:48: note: in instantiation of template class 'vcg::FaceArityMax<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
                            class Face: public FaceArityMax<UserTypes, A, B, C, D, E, F, G, H, I, J, K, L>  {
                                               ^
./mesh_def.h:25:26: note: in instantiation of template class 'vcg::Face<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags>' requested here
class MyFace    : public vcg::Face<   MyUsedTypes, vcg::face::FFAdj,     vcg::face::VFAdj,     vcg::face::Color4b,
                         ^
In file included from Color.cpp:1:
In file included from ./mesh_def.h:6:
In file included from ../../vcglib/vcg/complex/complex.h:46:
In file included from ../../vcglib/vcg/complex/used_types.h:39:
../../vcglib/vcg/simplex/face/component.h:605:15: error: no type named 'FacePointer' in 'vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>'
  typename T::FacePointer  VFp(const int j) const  { assert(j>=0 && j<3);  return _vfp[j]; }
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:606:15: error: no type named 'FacePointer' in 'vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>'
  typename T::FacePointer cVFp(const int j) const  { assert(j>=0 && j<3);  return _vfp[j]; }
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:618:15: error: no type named 'FacePointer' in 'vcg::Arity1<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj>'
  typename T::FacePointer _vfp[3] ;
  ~~~~~~~~~~~~^~~~~~~~~~~
../../vcglib/vcg/simplex/face/component.h:198:23: error: no member named 'VertexType' in 'vcg::Arity4<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f>'
  typedef typename T::VertexType::CoordType CoordType;
                   ~~~^
../../vcglib/vcg/container/derivation_chain.h:62:27: note: in instantiation of template class 'vcg::face::VertexRef<vcg::Arity4<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f>>' requested here
                                        class Arity5: public E<Arity4<Base, A, B, C, D> > {};
                                                             ^
../../vcglib/vcg/simplex/face/component.h:504:39: note: in instantiation of template class 'vcg::Arity5<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef>' requested here
template <class T> class Mark: public T {
                                      ^
../../vcglib/vcg/container/derivation_chain.h:69:27: note: in instantiation of template class 'vcg::face::Mark<vcg::Arity5<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef>>' requested here
                                        class Arity6: public F<Arity5<Base, A, B, C, D, E> > {};
                                                             ^
../../vcglib/vcg/simplex/face/component.h:437:51: note: in instantiation of template class 'vcg::Arity6<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark>' requested here
template <class A, class T> class Quality: public T {
                                                  ^
../../vcglib/vcg/simplex/face/component.h:461:43: note: in instantiation of template class 'vcg::face::Quality<float, vcg::Arity6<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark>>' requested here
template <class T> class Qualityf: public Quality<float, T> {
                                          ^
../../vcglib/vcg/container/derivation_chain.h:77:27: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
                                        class Arity7: public G<Arity6<Base, A, B, C, D, E, F> > {};
                                                             ^
../../vcglib/vcg/container/derivation_chain.h:113:28: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity10<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                                        class Arity11: public K<Arity10<Base, A, B, C, D, E, F, G, H, I, J> > {};
                                                              ^
../../vcglib/vcg/container/derivation_chain.h:32:31: note: in instantiation of template class 'vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
class DefaultDeriver : public T {};
                              ^
../../vcglib/vcg/simplex/face/base.h:97:48: note: in instantiation of template class 'vcg::DefaultDeriver<vcg::Arity11<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>>' requested here
                    class FaceArityMax: public L<Arity11<FaceBase<UserTypes>, A, B, C, D, E, F, G, H, I, J, K> > {
                                               ^
../../vcglib/vcg/simplex/face/base.h:296:48: note: in instantiation of template class 'vcg::FaceArityMax<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver, vcg::DefaultDeriver>' requested here
                            class Face: public FaceArityMax<UserTypes, A, B, C, D, E, F, G, H, I, J, K, L>  {
                                               ^
./mesh_def.h:25:26: note: in instantiation of template class 'vcg::Face<MyUsedTypes, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::Mark, vcg::face::Qualityf, vcg::face::BitFlags>' requested here
class MyFace    : public vcg::Face<   MyUsedTypes, vcg::face::FFAdj,     vcg::face::VFAdj,     vcg::face::Color4b,
                         ^
In file included from Color.cpp:1:
In file included from ./mesh_def.h:6:
In file included from ../../vcglib/vcg/complex/complex.h:46:
In file included from ../../vcglib/vcg/complex/used_types.h:39:
../../vcglib/vcg/simplex/face/component.h:199:23: error: no member named 'VertexType' in 'vcg::Arity4<vcg::FaceBase<MyUsedTypes>, vcg::face::FFAdj, vcg::face::VFAdj, vcg::face::Color4b, vcg::face::Normal3f>'
  typedef typename T::VertexType::ScalarType ScalarType;
                   ~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
emcc: error: '/home/fortville/code/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fignore-exceptions -fno-inline-functions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=34 -D_LIBCPP_ABI_VERSION=2 -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/fortville/code/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -c -I. -I../../vcglib/ -I../../vcglib/eigenlib -std=c++11 -Os Color.cpp -o Color.bc' failed (returned 1)
MakefileJS:27: recipe for target 'Color.bc' failed
make: *** [Color.bc] Error 1
Liuxuexijpg commented 2 years ago

Hi, have you solved this problem, I also encountered it.

kchemorion commented 1 year ago

I am also stuck here