Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install is broken on 4.2? "not a member of mfem::Geometry" #252

Closed
seanmajorpayne opened this issue Jan 31, 2023 · 1 comment
Closed

Comments

@seanmajorpayne
Copy link

Ubuntu 20.04
Mfem 4.2

g++ -O3 -std=c++11 -I./mfem -DGLVIS_MULTISAMPLE=4 -DGLVIS_MS_LINEWIDTH=1.4 -DGLVIS_OGL3 -DGLVIS_USE_LOGO -I/usr/include/freetype2 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DGLVIS_USE_LIBPNG -o lib/vssolution3d.o -c lib/vssolution3d.cpp
lib/vssolution3d.cpp: In function ‘void CutElement(mfem::Geometry::Type, const int*, const int**, int*, int*, int*)’:
lib/vssolution3d.cpp:2272:22: error: ‘PYRAMID’ is not a member of ‘mfem::Geometry’
 2272 |       case Geometry::PYRAMID:
      |                      ^~~~~~~
lib/vssolution3d.cpp: In member function ‘void VisualizationSceneSolution3d::PrepareLevelSurf()’:
lib/vssolution3d.cpp:3853:27: error: ‘PYRAMID’ is not a member of ‘mfem::Element’
 3853 |             case Element::PYRAMID:
      |                           ^~~~~~~
lib/vssolution3d.cpp:3910:37: error: ‘PYRAMID’ is not a member of ‘mfem::Geometry’
 3910 |          else if (geom == Geometry::PYRAMID)
      |                                     ^~~~~~~
make: *** [makefile:267: lib/vssolution3d.o] Error 1

Any suggestions or anything further I can provide?

@seanmajorpayne
Copy link
Author

After a closer look this is due to mfem 4.2 not having the Pyramid Geometry. Pyramids are available in 4.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant