[Smtk-developers] Problem with SMTK Master

Robert Michael O'Bara bob.obara at kitware.com
Sun May 24 18:27:50 EDT 2015


Hi All,

I’ve updated all of the CMB files to reflect the correct license however while building CMB SuperBuild in develop mode SMTK is giving me an error:

 41%] [ 41%] [ 41%] [ 41%] [ 41%] Building CXX object smtk/CMakeFiles/smtkCore.dir/attribute/ModelEntityItemDefinition.cxx.o
Building CXX object smtk/CMakeFiles/smtkCore.dir/attribute/MeshSelectionItem.cxx.o
Building CXX object smtk/CMakeFiles/smtkCore.dir/attribute/MeshSelectionItemDefinition.cxx.o
Building CXX object smtk/CMakeFiles/smtkCore.dir/attribute/RefItem.cxx.o
Building CXX object smtk/CMakeFiles/smtkCore.dir/attribute/RefItemDefinition.cxx.o
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItemDefinition.cxx:22:9: error: no member named 'm_membershipMask' in 'smtk::attribute::MeshSelectionItemDefinition'
  this->m_membershipMask = smtk::model::ANY_ENTITY;
  ~~~~  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItemDefinition.cxx:36:52: error: out-of-line definition of 'membershipMask' does not match any declaration in 'smtk::attribute::MeshSelectionItemDefinition'
smtk::model::BitFlags MeshSelectionItemDefinition::membershipMask() const
                                                   ^~~~~~~~~~~~~~
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItemDefinition.cxx:38:16: error: no member named 'm_membershipMask' in 'smtk::attribute::MeshSelectionItemDefinition'
  return this->m_membershipMask;
         ~~~~  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItemDefinition.cxx:42:35: error: out-of-line definition of 'setMembershipMask' does not match any declaration in 'smtk::attribute::MeshSelectionItemDefinition'
void MeshSelectionItemDefinition::setMembershipMask(smtk::model::BitFlags entMask)
                                  ^~~~~~~~~~~~~~~~~
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItemDefinition.cxx:44:9: error: no member named 'm_membershipMask' in 'smtk::attribute::MeshSelectionItemDefinition'
  this->m_membershipMask = entMask;
  ~~~~  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItem.cxx:25:3: error: use of undeclared identifier 'm_modifyMode'
  m_modifyMode = NONE;
  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItem.cxx:128:9: error: no member named 'm_modifyMode' in 'smtk::attribute::MeshSelectionItem'
  this->m_modifyMode = sourceMeshSelectionItem->modifyMode();
  ~~~~  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItem.cxx:128:49: error: no member named 'modifyMode' in 'smtk::attribute::MeshSelectionItem'
  this->m_modifyMode = sourceMeshSelectionItem->modifyMode();
                       ~~~~~~~~~~~~~~~~~~~~~~~  ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItem.cxx:144:50: error: unknown type name 'MeshModifyMode'
std::string MeshSelectionItem::modifyMode2String(MeshModifyMode m)
                                                 ^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItem.cxx:165:1: error: unknown type name 'MeshModifyMode'
MeshModifyMode MeshSelectionItem::string2ModifyMode(const std::string &s)
^
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/smtk/src/smtk/smtk/attribute/MeshSelectionItem.cxx:187:9: error: use of undeclared identifier 'NUM_OF_MODIFYMODES'; did you mean 'NUM_OF_MODES'?
 return NUM_OF_MODIFYMODES;
        ^~~~~~~~~~~~~~~~~~
        NUM_OF_MODES
/Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/install/include/smtk/attribute/MeshSelectionItem.h:32:3: note: 'NUM_OF_MODES' declared here
  NUM_OF_MODES      //!< The number of mesh selection modes.
  ^
5 errors generated.
make[5]: *** [smtk/CMakeFiles/smtkCore.dir/attribute/MeshSelectionItemDefinition.cxx.o] Error 1
make[5]: *** Waiting for unfinished jobs....
6 errors generated.
make[5]: *** [smtk/CMakeFiles/smtkCore.dir/attribute/MeshSelectionItem.cxx.o] Error 1
make[4]: *** [smtk/CMakeFiles/smtkCore.dir/all] Error 2
make[3]: *** [all] Error 2
-- 2
CMake Error at /Users/obara/Projects/Kitware/Builds/CMBSuperBuildV4/pv-smtk-build.cmake:27 (message):
  Failed!!!


make[2]: *** [smtk/src/smtk-stamp/smtk-build] Error 1
make[1]: *** [CMakeFiles/smtk.dir/all] Error 2
make: *** [all] Error 2


Any ideas?

Bob

Robert M. O'Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20150524/84d9f5bd/attachment.html>


More information about the Smtk-developers mailing list