[MOAB-dev] r3642 - MOAB/trunk/src/oldinc

Iulian Grindeanu iulian at mcs.anl.gov
Wed Mar 17 11:20:08 CDT 2010


Hi Jason,

Should MBOrientedBox be in the include folder?

I still get errors in MeshKit..

/bin/sh ../libtool --tag=CXX   --mode=compile /soft/apps/packages/mpich2-1.0.7rc1-gcc/bin/mpicxx -DUSE_MPI -DSRCDIR=. -I. -I.. -I.. -I.. -I/homes/iulian/lib/CGM/include -I/homes/iulian/lib/MOAB/include  -DMPICH_IGNORE_CXX_SEEK -DHAVE_IGEOM -DHAVE_IMESH -DHAVE_IREL -DVALGRIND -DHAVE_OCC -I/homes/iulian/lib/CGM/include   -Wall -pipe -g -DMOAB -MT CutCellMesh.lo -MD -MP -MF .deps/CutCellMesh.Tpo -c -o CutCellMesh.lo CutCellMesh.cpp
 /soft/apps/packages/mpich2-1.0.7rc1-gcc/bin/mpicxx -DUSE_MPI -DSRCDIR=. -I. -I.. -I.. -I.. -I/homes/iulian/lib/CGM/include -I/homes/iulian/lib/MOAB/include -DMPICH_IGNORE_CXX_SEEK -DHAVE_IGEOM -DHAVE_IMESH -DHAVE_IREL -DVALGRIND -DHAVE_OCC -I/homes/iulian/lib/CGM/include -Wall -pipe -g -DMOAB -MT CutCellMesh.lo -MD -MP -MF .deps/CutCellMesh.Tpo -c CutCellMesh.cpp -o CutCellMesh.o
CutCellMesh.cpp:15:58: error: MBOrientedBox.hpp: No such file or directory
In file included from CutCellMesh.cpp:10:
CutCellMesh.hpp:151: error: expected ‘,’ or ‘...’ before ‘&’ token
CutCellMesh.hpp:151: error: ISO C++ forbids declaration of ‘MBOrientedBox’ with no type
CutCellMesh.cpp: In member function ‘int CutCellMesh::do_mesh(int, int)’:
CutCellMesh.cpp:88: error: ‘MBOrientedBox’ was not declared in this scope



Also, MBEntityType does not follow the same "pattern" in new version. Is that intentional?

Thanks,
Iulian


----- Original Message -----
From: kraftche at cae.wisc.edu
To: moab-dev at mcs.anl.gov
Sent: Wednesday, March 17, 2010 11:00:46 AM GMT -06:00 US/Canada Central
Subject: [MOAB-dev] r3642 - MOAB/trunk/src/oldinc

Author: kraftche
Date: 2010-03-17 11:00:46 -0500 (Wed, 17 Mar 2010)
New Revision: 3642

Modified:
   MOAB/trunk/src/oldinc/MBAdaptiveKDTree.hpp
   MOAB/trunk/src/oldinc/MBBSPTree.hpp
   MOAB/trunk/src/oldinc/MBForward.hpp
Log:
more fixes to v3-compatability headers

Modified: MOAB/trunk/src/oldinc/MBAdaptiveKDTree.hpp
===================================================================
--- MOAB/trunk/src/oldinc/MBAdaptiveKDTree.hpp	2010-03-17 16:00:29 UTC (rev 3641)
+++ MOAB/trunk/src/oldinc/MBAdaptiveKDTree.hpp	2010-03-17 16:00:46 UTC (rev 3642)
@@ -5,5 +5,6 @@
 
 #include "moab/AdaptiveKDTree.hpp"
 typedef moab::AdaptiveKDTree MBAdaptiveKDTree;
+typedef moab::AdaptiveKDTreeIter MBAdaptiveKDTreeIter;
 
 #endif

Modified: MOAB/trunk/src/oldinc/MBBSPTree.hpp
===================================================================
--- MOAB/trunk/src/oldinc/MBBSPTree.hpp	2010-03-17 16:00:29 UTC (rev 3641)
+++ MOAB/trunk/src/oldinc/MBBSPTree.hpp	2010-03-17 16:00:46 UTC (rev 3642)
@@ -6,5 +6,7 @@
 
 #include "moab/BSPTree.hpp"
 typedef moab::BSPTree MBBSPTree;
+typedef moab::BSPTreeIter MBBSPTreeIter;
+typedef moab::BSPTreeBoxIter MBBSPTreeBoxIter
 
 #endif

Modified: MOAB/trunk/src/oldinc/MBForward.hpp
===================================================================
--- MOAB/trunk/src/oldinc/MBForward.hpp	2010-03-17 16:00:29 UTC (rev 3641)
+++ MOAB/trunk/src/oldinc/MBForward.hpp	2010-03-17 16:00:46 UTC (rev 3642)
@@ -1,5 +1,6 @@
 #ifndef MBForward_HEADER
 #define MBForward_HEADER
+#include "MBTypes.h"
 #include "moab/Forward.hpp"
 typedef moab::Interface  MBInterface;
 typedef moab::Range      MBRange;



More information about the moab-dev mailing list