minetest / irrlicht

Minetest's fork of Irrlicht

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot build newest commit on arch linux

dillfrescott opened this issue · comments

commented

It throws a huge error that I can post if needed, but it doesnt seem to build on any linux system I've tried. I rolled back to commit b249e45 and it then builds without error

commented

Please post the error then, as you can see our CI is all green: https://github.com/minetest/irrlicht/actions/runs/5567342187

commented
med ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
In file included from /home/cross/Downloads/minetest/src/nodedef.h:29,
                 from /home/cross/Downloads/minetest/src/client/content_mapblock.h:22,
                 from /home/cross/Downloads/minetest/src/client/content_mapblock.cpp:21:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/client/camera.h:23,
                 from /home/cross/Downloads/minetest/src/client/camera.cpp:20:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/clouds.cpp: In constructor ‘Clouds::Clouds(irr::scene::ISceneManager*, irr::s32, irr::u32)’:
/home/cross/Downloads/minetest/src/client/clouds.cpp:50:20: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
   50 |         m_material.setFlag(video::EMF_LIGHTING, false);
      |                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/clouds.cpp:50:35: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
   50 |         m_material.setFlag(video::EMF_LIGHTING, false);
      |                                   ^~~~~~~~~~~~
      |                                   EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/clouds.cpp:52:20: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
   52 |         m_material.setFlag(video::EMF_BACK_FACE_CULLING, true);
      |                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/clouds.cpp:52:35: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
   52 |         m_material.setFlag(video::EMF_BACK_FACE_CULLING, true);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                   EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/clouds.cpp:53:20: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
   53 |         m_material.setFlag(video::EMF_BILINEAR_FILTER, false);
      |                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/clouds.cpp:53:35: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
   53 |         m_material.setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                   ^~~~~~~~~~~~~~~~~~~
      |                                   EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/clouds.cpp:54:20: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
   54 |         m_material.setFlag(video::EMF_FOG_ENABLE, true);
      |                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/clouds.cpp:54:35: error: ‘EMF_FOG_ENABLE’ is not a member of ‘irr::video’; did you mean ‘EMP_FOG_ENABLE’?
   54 |         m_material.setFlag(video::EMF_FOG_ENABLE, true);
      |                                   ^~~~~~~~~~~~~~
      |                                   EMP_FOG_ENABLE
/home/cross/Downloads/minetest/src/client/clouds.cpp:55:20: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
   55 |         m_material.setFlag(video::EMF_ANTI_ALIASING, true);
      |                    ^~~~~~~
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/gui/guiFormSpecMenu.h:29,
                 from /home/cross/Downloads/minetest/src/client/gameui.h:25,
                 from /home/cross/Downloads/minetest/src/client/gameui.cpp:21:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/clouds.cpp:55:35: error: ‘EMF_ANTI_ALIASING’ is not a member of ‘irr::video’; did you mean ‘EMP_ANTI_ALIASING’?
   55 |         m_material.setFlag(video::EMF_ANTI_ALIASING, true);
      |                                   ^~~~~~~~~~~~~~~~~
      |                                   EMP_ANTI_ALIASING
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/clouds.cpp: In member function ‘virtual void Clouds::render()’:
/home/cross/Downloads/minetest/src/client/clouds.cpp:106:20: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  106 |         m_material.setFlag(video::EMF_BACK_FACE_CULLING, m_enable_3d);
      |                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/clouds.cpp:106:35: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
  106 |         m_material.setFlag(video::EMF_BACK_FACE_CULLING, m_enable_3d);
      |                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                   EMP_BACK_FACE_CULLING
[ 40%] Building CXX object src/CMakeFiles/minetest.dir/client/guiscalingfilter.cpp.o
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/client/camera.h:23,
                 from /home/cross/Downloads/minetest/src/client/clientmap.h:24,
                 from /home/cross/Downloads/minetest/src/client/clientmap.cpp:20:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/client/camera.h:23,
                 from /home/cross/Downloads/minetest/src/client/clientmap.h:24,
                 from /home/cross/Downloads/minetest/src/client/clientenvironment.cpp:25:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/content_cso.cpp: In constructor ‘SmokePuffCSO::SmokePuffCSO(irr::scene::ISceneManager*, ClientEnvironment*, const v3f&, const v2f&)’:
/home/cross/Downloads/minetest/src/client/content_cso.cpp:39:31: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialTexture’
   39 |                 m_spritenode->setMaterialTexture(0,
      |                               ^~~~~~~~~~~~~~~~~~
/home/cross/Downloads/minetest/src/client/content_cso.cpp:41:31: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
   41 |                 m_spritenode->setMaterialFlag(video::EMF_LIGHTING, false);
      |                               ^~~~~~~~~~~~~~~
      |                               getMaterial
/home/cross/Downloads/minetest/src/client/content_cso.cpp:41:54: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
   41 |                 m_spritenode->setMaterialFlag(video::EMF_LIGHTING, false);
      |                                                      ^~~~~~~~~~~~
      |                                                      EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cso.cpp:42:31: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
   42 |                 m_spritenode->setMaterialFlag(video::EMF_BILINEAR_FILTER, false);
      |                               ^~~~~~~~~~~~~~~
      |                               getMaterial
/home/cross/Downloads/minetest/src/client/content_cso.cpp:42:54: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
   42 |                 m_spritenode->setMaterialFlag(video::EMF_BILINEAR_FILTER, false);
      |                                                      ^~~~~~~~~~~~~~~~~~~
      |                                                      EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cso.cpp:44:31: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialType’; did you mean ‘getMaterial’?
   44 |                 m_spritenode->setMaterialType(video::EMT_TRANSPARENT_ALPHA_CHANNEL);
      |                               ^~~~~~~~~~~~~~~
      |                               getMaterial
/home/cross/Downloads/minetest/src/client/content_cso.cpp:45:31: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
   45 |                 m_spritenode->setMaterialFlag(video::EMF_FOG_ENABLE, true);
      |                               ^~~~~~~~~~~~~~~
      |                               getMaterial
/home/cross/Downloads/minetest/src/client/content_cso.cpp:45:54: error: ‘EMF_FOG_ENABLE’ is not a member of ‘irr::video’; did you mean ‘EMP_FOG_ENABLE’?
   45 |                 m_spritenode->setMaterialFlag(video::EMF_FOG_ENABLE, true);
      |                                                      ^~~~~~~~~~~~~~
      |                                                      EMP_FOG_ENABLE
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:188: src/CMakeFiles/minetest.dir/client/clouds.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/gui/guiFormSpecMenu.h:29,
                 from /home/cross/Downloads/minetest/src/client/gameui.h:25,
                 from /home/cross/Downloads/minetest/src/client/client.cpp:32:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
In file included from /home/cross/Downloads/minetest/src/client/content_cao.cpp:28:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/client/camera.h:23,
                 from /home/cross/Downloads/minetest/src/client/game.cpp:25:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/clientmap.cpp: In member function ‘void MeshBufListList::add(irr::scene::IMeshBuffer*, v3s16, irr::u8)’:
/home/cross/Downloads/minetest/src/client/clientmap.cpp:51:25: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
   51 |                 if (l.m.TextureLayer[0].Texture != m.TextureLayer[0].Texture)
      |                         ^~~~~~~~~~~~
      |                         TextureLayers
/home/cross/Downloads/minetest/src/client/clientmap.cpp:51:54: error: ‘const class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
   51 |                 if (l.m.TextureLayer[0].Texture != m.TextureLayer[0].Texture)
      |                                                      ^~~~~~~~~~~~
      |                                                      TextureLayers
/home/cross/Downloads/minetest/src/client/clientmap.cpp: In member function ‘void ClientMap::renderMap(irr::video::IVideoDriver*, irr::s32)’:
/home/cross/Downloads/minetest/src/client/clientmap.cpp:845:34: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  845 |                         material.setFlag(video::EMF_TRILINEAR_FILTER,
      |                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/clientmap.cpp:845:49: error: ‘EMF_TRILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
  845 |                         material.setFlag(video::EMF_TRILINEAR_FILTER,
      |                                                 ^~~~~~~~~~~~~~~~~~~~
      |                                                 EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/clientmap.cpp:847:34: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  847 |                         material.setFlag(video::EMF_BILINEAR_FILTER,
      |                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/clientmap.cpp:847:49: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
  847 |                         material.setFlag(video::EMF_BILINEAR_FILTER,
      |                                                 ^~~~~~~~~~~~~~~~~~~
      |                                                 EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/clientmap.cpp:849:34: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  849 |                         material.setFlag(video::EMF_ANISOTROPIC_FILTER,
      |                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/clientmap.cpp:849:49: error: ‘EMF_ANISOTROPIC_FILTER’ is not a member of ‘irr::video’; did you mean ‘EMP_ANISOTROPIC_FILTER’?
  849 |                         material.setFlag(video::EMF_ANISOTROPIC_FILTER,
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
      |                                                 EMP_ANISOTROPIC_FILTER
/home/cross/Downloads/minetest/src/client/clientmap.cpp:851:34: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  851 |                         material.setFlag(video::EMF_WIREFRAME,
      |                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/clientmap.cpp:851:49: error: ‘EMF_WIREFRAME’ is not a member of ‘irr::video’; did you mean ‘EMP_WIREFRAME’?
  851 |                         material.setFlag(video::EMF_WIREFRAME,
      |                                                 ^~~~~~~~~~~~~
      |                                                 EMP_WIREFRAME
/home/cross/Downloads/minetest/src/client/clientmap.cpp:857:56: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  857 |                                 auto &layer = material.TextureLayer[ShadowRenderer::TEXTURE_LAYER_SHADOW];
      |                                                        ^~~~~~~~~~~~
      |                                                        TextureLayers
/home/cross/Downloads/minetest/src/client/clientmap.cpp:870:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  870 |                         material.TextureLayer[ShadowRenderer::TEXTURE_LAYER_SHADOW].Texture = nullptr;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
In file included from /home/cross/Downloads/minetest/src/itemdef.h:34,
                 from /home/cross/Downloads/minetest/src/inventory.h:22,
                 from /home/cross/Downloads/minetest/src/player.h:23,
                 from /home/cross/Downloads/minetest/src/client/clientlauncher.cpp:26:
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptions(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:233:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  233 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:236:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  236 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h: In member function ‘void TileLayer::applyMaterialOptionsWithShaders(irr::video::SMaterial&) const’:
/home/cross/Downloads/minetest/src/client/tile.h:244:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  244 |                         material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:245:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  245 |                         material.TextureLayer[1].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:248:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  248 |                         material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
/home/cross/Downloads/minetest/src/client/tile.h:249:34: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  249 |                         material.TextureLayer[1].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
      |                                  ^~~~~~~~~~~~
      |                                  TextureLayers
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:230: src/CMakeFiles/minetest.dir/client/content_mapblock.cpp.o] Error 1
/home/cross/Downloads/minetest/src/client/content_cao.cpp: In member function ‘virtual void TestCAO::addToScene(ITextureSource*, irr::scene::ISceneManager*)’:
/home/cross/Downloads/minetest/src/client/content_cao.cpp:255:28: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  255 |         buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
      |                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:255:43: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
  255 |         buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
      |                                           ^~~~~~~~~~~~
      |                                           EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:256:28: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  256 |         buf->getMaterial().setFlag(video::EMF_BACK_FACE_CULLING, false);
      |                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:256:43: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
  256 |         buf->getMaterial().setFlag(video::EMF_BACK_FACE_CULLING, false);
      |                                           ^~~~~~~~~~~~~~~~~~~~~
      |                                           EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:258:28: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  258 |         buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
      |                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:258:43: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
  258 |         buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                           ^~~~~~~~~~~~~~~~~~~
      |                                           EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:259:28: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  259 |         buf->getMaterial().setFlag(video::EMF_FOG_ENABLE, true);
      |                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:259:43: error: ‘EMF_FOG_ENABLE’ is not a member of ‘irr::video’; did you mean ‘EMP_FOG_ENABLE’?
  259 |         buf->getMaterial().setFlag(video::EMF_FOG_ENABLE, true);
      |                                           ^~~~~~~~~~~~~~
      |                                           EMP_FOG_ENABLE
/home/cross/Downloads/minetest/src/client/content_cao.cpp: In lambda function:
/home/cross/Downloads/minetest/src/client/content_cao.cpp:647:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  647 |                 node->setMaterialFlag(video::EMF_LIGHTING, false);
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:647:46: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
  647 |                 node->setMaterialFlag(video::EMF_LIGHTING, false);
      |                                              ^~~~~~~~~~~~
      |                                              EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:648:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  648 |                 node->setMaterialFlag(video::EMF_BILINEAR_FILTER, false);
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:648:46: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
  648 |                 node->setMaterialFlag(video::EMF_BILINEAR_FILTER, false);
      |                                              ^~~~~~~~~~~~~~~~~~~
      |                                              EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:649:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  649 |                 node->setMaterialFlag(video::EMF_FOG_ENABLE, true);
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:649:46: error: ‘EMF_FOG_ENABLE’ is not a member of ‘irr::video’; did you mean ‘EMP_FOG_ENABLE’?
  649 |                 node->setMaterialFlag(video::EMF_FOG_ENABLE, true);
      |                                              ^~~~~~~~~~~~~~
      |                                              EMP_FOG_ENABLE
/home/cross/Downloads/minetest/src/client/content_cao.cpp:650:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialType’; did you mean ‘getMaterial’?
  650 |                 node->setMaterialType(m_material_type);
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:653:31: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  653 |                         node->setMaterialFlag(video::EMF_GOURAUD_SHADING, false);
      |                               ^~~~~~~~~~~~~~~
      |                               getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:653:54: error: ‘EMF_GOURAUD_SHADING’ is not a member of ‘irr::video’; did you mean ‘EMP_GOURAUD_SHADING’?
  653 |                         node->setMaterialFlag(video::EMF_GOURAUD_SHADING, false);
      |                                                      ^~~~~~~~~~~~~~~~~~~
      |                                                      EMP_GOURAUD_SHADING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:654:31: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  654 |                         node->setMaterialFlag(video::EMF_NORMALIZE_NORMALS, true);
      |                               ^~~~~~~~~~~~~~~
      |                               getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:654:54: error: ‘EMF_NORMALIZE_NORMALS’ is not a member of ‘irr::video’; did you mean ‘EMP_NORMALIZE_NORMALS’?
  654 |                         node->setMaterialFlag(video::EMF_NORMALIZE_NORMALS, true);
      |                                                      ^~~~~~~~~~~~~~~~~~~~~
      |                                                      EMP_NORMALIZE_NORMALS
/home/cross/Downloads/minetest/src/client/content_cao.cpp: In member function ‘virtual void GenericCAO::addToScene(ITextureSource*, irr::scene::ISceneManager*)’:
/home/cross/Downloads/minetest/src/client/content_cao.cpp:663:31: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialTexture’
  663 |                 m_spritenode->setMaterialTexture(0,
      |                               ^~~~~~~~~~~~~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:699:44: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  699 |                         buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
      |                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:699:59: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
  699 |                         buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
      |                                                           ^~~~~~~~~~~~
      |                                                           EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:700:44: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  700 |                         buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:700:59: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
  700 |                         buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:701:44: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  701 |                         buf->getMaterial().setFlag(video::EMF_FOG_ENABLE, true);
      |                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:701:59: error: ‘EMF_FOG_ENABLE’ is not a member of ‘irr::video’; did you mean ‘EMP_FOG_ENABLE’?
  701 |                         buf->getMaterial().setFlag(video::EMF_FOG_ENABLE, true);
      |                                                           ^~~~~~~~~~~~~~
      |                                                           EMP_FOG_ENABLE
/home/cross/Downloads/minetest/src/client/content_cao.cpp:706:52: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  706 |                                 buf->getMaterial().setFlag(video::EMF_GOURAUD_SHADING, false);
      |                                                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:706:67: error: ‘EMF_GOURAUD_SHADING’ is not a member of ‘irr::video’; did you mean ‘EMP_GOURAUD_SHADING’?
  706 |                                 buf->getMaterial().setFlag(video::EMF_GOURAUD_SHADING, false);
      |                                                                   ^~~~~~~~~~~~~~~~~~~
      |                                                                   EMP_GOURAUD_SHADING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:707:52: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  707 |                                 buf->getMaterial().setFlag(video::EMF_NORMALIZE_NORMALS, true);
      |                                                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:707:67: error: ‘EMF_NORMALIZE_NORMALS’ is not a member of ‘irr::video’; did you mean ‘EMP_NORMALIZE_NORMALS’?
  707 |                                 buf->getMaterial().setFlag(video::EMF_NORMALIZE_NORMALS, true);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                                                   EMP_NORMALIZE_NORMALS
/home/cross/Downloads/minetest/src/client/content_cao.cpp:730:44: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  730 |                         buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
      |                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:730:59: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
  730 |                         buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
      |                                                           ^~~~~~~~~~~~
      |                                                           EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:731:44: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  731 |                         buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:731:59: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
  731 |                         buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                           EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:732:44: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  732 |                         buf->getMaterial().setFlag(video::EMF_FOG_ENABLE, true);
      |                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:732:59: error: ‘EMF_FOG_ENABLE’ is not a member of ‘irr::video’; did you mean ‘EMP_FOG_ENABLE’?
  732 |                         buf->getMaterial().setFlag(video::EMF_FOG_ENABLE, true);
      |                                                           ^~~~~~~~~~~~~~
      |                                                           EMP_FOG_ENABLE
/home/cross/Downloads/minetest/src/client/content_cao.cpp:737:52: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  737 |                                 buf->getMaterial().setFlag(video::EMF_GOURAUD_SHADING, false);
      |                                                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:737:67: error: ‘EMF_GOURAUD_SHADING’ is not a member of ‘irr::video’; did you mean ‘EMP_GOURAUD_SHADING’?
  737 |                                 buf->getMaterial().setFlag(video::EMF_GOURAUD_SHADING, false);
      |                                                                   ^~~~~~~~~~~~~~~~~~~
      |                                                                   EMP_GOURAUD_SHADING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:738:52: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
  738 |                                 buf->getMaterial().setFlag(video::EMF_NORMALIZE_NORMALS, true);
      |                                                    ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:738:67: error: ‘EMF_NORMALIZE_NORMALS’ is not a member of ‘irr::video’; did you mean ‘EMP_NORMALIZE_NORMALS’?
  738 |                                 buf->getMaterial().setFlag(video::EMF_NORMALIZE_NORMALS, true);
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~
      |                                                                   EMP_NORMALIZE_NORMALS
/home/cross/Downloads/minetest/src/client/content_cao.cpp:756:29: error: ‘class irr::scene::IMeshSceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  756 |                 m_meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                             ^~~~~~~~~~~~~~~
      |                             getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:756:52: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
  756 |                 m_meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~
      |                                                    EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:784:46: error: ‘class irr::scene::IAnimatedMeshSceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
  784 |                         m_animated_meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                                              ^~~~~~~~~~~~~~~
      |                                              getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:784:69: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
  784 |                         m_animated_meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~
      |                                                                     EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:848:85: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  848 |                         video::ITexture *last = m_animated_meshnode->getMaterial(0).TextureLayer[0].Texture;
      |                                                                                     ^~~~~~~~~~~~
      |                                                                                     TextureLayers
/home/cross/Downloads/minetest/src/client/content_cao.cpp:850:83: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
  850 |                                 auto &layer = m_animated_meshnode->getMaterial(i).TextureLayer[0];
      |                                                                                   ^~~~~~~~~~~~
      |                                                                                   TextureLayers
/home/cross/Downloads/minetest/src/client/content_cao.cpp: In member function ‘void GenericCAO::updateTextures(std::string)’:
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1342:39: error: ‘class irr::scene::IBillboardSceneNode’ has no member named ‘setMaterialTexture’
 1342 |                         m_spritenode->setMaterialTexture(0,
      |                                       ^~~~~~~~~~~~~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1354:54: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1354 |                         m_spritenode->getMaterial(0).setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                      ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1354:69: error: ‘EMF_TRILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1354 |                         m_spritenode->getMaterial(0).setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                                     ^~~~~~~~~~~~~~~~~~~~
      |                                                                     EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1355:54: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1355 |                         m_spritenode->getMaterial(0).setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                      ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1355:69: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1355 |                         m_spritenode->getMaterial(0).setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                                     ^~~~~~~~~~~~~~~~~~~
      |                                                                     EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1356:54: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1356 |                         m_spritenode->getMaterial(0).setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                      ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1356:69: error: ‘EMF_ANISOTROPIC_FILTER’ is not a member of ‘irr::video’; did you mean ‘EMP_ANISOTROPIC_FILTER’?
 1356 |                         m_spritenode->getMaterial(0).setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~
      |                                                                     EMP_ANISOTROPIC_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1378:42: error: ‘class irr::video::SMaterial’ has no member named ‘TextureLayer’; did you mean ‘TextureLayers’?
 1378 |                                 material.TextureLayer[0].Texture = texture;
      |                                          ^~~~~~~~~~~~
      |                                          TextureLayers
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1379:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1379 |                                 material.setFlag(video::EMF_LIGHTING, true);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1379:57: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
 1379 |                                 material.setFlag(video::EMF_LIGHTING, true);
      |                                                         ^~~~~~~~~~~~
      |                                                         EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1380:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1380 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1380:57: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1380 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                                         ^~~~~~~~~~~~~~~~~~~
      |                                                         EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1381:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1381 |                                 material.setFlag(video::EMF_BACK_FACE_CULLING, m_prop.backface_culling);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1381:57: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
 1381 |                                 material.setFlag(video::EMF_BACK_FACE_CULLING, m_prop.backface_culling);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~
      |                                                         EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1391:50: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1391 |                                                 .setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1391:65: error: ‘EMF_TRILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1391 |                                                 .setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~
      |                                                                 EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1393:50: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1393 |                                                 .setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1393:65: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1393 |                                                 .setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                                 ^~~~~~~~~~~~~~~~~~~
      |                                                                 EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1395:50: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1395 |                                                 .setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                  ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1395:65: error: ‘EMF_ANISOTROPIC_FILTER’ is not a member of ‘irr::video’; did you mean ‘EMP_ANISOTROPIC_FILTER’?
 1395 |                                                 .setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~
      |                                                                 EMP_ANISOTROPIC_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1425:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1425 |                                 material.setFlag(video::EMF_LIGHTING, false);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1425:57: error: ‘EMF_LIGHTING’ is not a member of ‘irr::video’; did you mean ‘EMP_LIGHTING’?
 1425 |                                 material.setFlag(video::EMF_LIGHTING, false);
      |                                                         ^~~~~~~~~~~~
      |                                                         EMP_LIGHTING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1426:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1426 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1426:57: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1426 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, false);
      |                                                         ^~~~~~~~~~~~~~~~~~~
      |                                                         EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1441:60: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1441 |                                 m_meshnode->getMaterial(i).setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1441:75: error: ‘EMF_TRILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1441 |                                 m_meshnode->getMaterial(i).setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~
      |                                                                           EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1442:60: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1442 |                                 m_meshnode->getMaterial(i).setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1442:75: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1442 |                                 m_meshnode->getMaterial(i).setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                                           ^~~~~~~~~~~~~~~~~~~
      |                                                                           EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1443:60: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1443 |                                 m_meshnode->getMaterial(i).setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                            ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1443:75: error: ‘EMF_ANISOTROPIC_FILTER’ is not a member of ‘irr::video’; did you mean ‘EMP_ANISOTROPIC_FILTER’?
 1443 |                                 m_meshnode->getMaterial(i).setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~
      |                                                                           EMP_ANISOTROPIC_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1465:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1465 |                                 material.setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1465:57: error: ‘EMF_TRILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1465 |                                 material.setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                         ^~~~~~~~~~~~~~~~~~~~
      |                                                         EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1466:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1466 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1466:57: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1466 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                         ^~~~~~~~~~~~~~~~~~~
      |                                                         EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1467:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1467 |                                 material.setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1467:57: error: ‘EMF_ANISOTROPIC_FILTER’ is not a member of ‘irr::video’; did you mean ‘EMP_ANISOTROPIC_FILTER’?
 1467 |                                 material.setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         EMP_ANISOTROPIC_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1493:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1493 |                                 material.setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1493:57: error: ‘EMF_TRILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1493 |                                 material.setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter);
      |                                                         ^~~~~~~~~~~~~~~~~~~~
      |                                                         EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1494:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1494 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1494:57: error: ‘EMF_BILINEAR_FILTER’ is not a member of ‘irr::video’; did you mean ‘EVDF_BILINEAR_FILTER’?
 1494 |                                 material.setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter);
      |                                                         ^~~~~~~~~~~~~~~~~~~
      |                                                         EVDF_BILINEAR_FILTER
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1495:42: error: ‘class irr::video::SMaterial’ has no member named ‘setFlag’
 1495 |                                 material.setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                          ^~~~~~~
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1495:57: error: ‘EMF_ANISOTROPIC_FILTER’ is not a member of ‘irr::video’; did you mean ‘EMP_ANISOTROPIC_FILTER’?
 1495 |                                 material.setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         EMP_ANISOTROPIC_FILTER
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:216: src/CMakeFiles/minetest.dir/client/content_cso.cpp.o] Error 1
/home/cross/Downloads/minetest/src/client/content_cao.cpp: In member function ‘void GenericCAO::updateMeshCulling()’:
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1978:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
 1978 |                 node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING, hidden);
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1978:46: error: ‘EMF_FRONT_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_FRONT_FACE_CULLING’?
 1978 |                 node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING, hidden);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~
      |                                              EMP_FRONT_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1986:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
 1986 |                 node->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1986:46: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
 1986 |                 node->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                                              ^~~~~~~~~~~~~~~~~~~~~
      |                                              EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1988:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
 1988 |                 node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING,
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1988:46: error: ‘EMF_FRONT_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_FRONT_FACE_CULLING’?
 1988 |                 node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING,
      |                                              ^~~~~~~~~~~~~~~~~~~~~~
      |                                              EMP_FRONT_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1992:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
 1992 |                 node->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1992:46: error: ‘EMF_BACK_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_BACK_FACE_CULLING’?
 1992 |                 node->setMaterialFlag(video::EMF_BACK_FACE_CULLING,
      |                                              ^~~~~~~~~~~~~~~~~~~~~
      |                                              EMP_BACK_FACE_CULLING
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1994:23: error: ‘class irr::scene::ISceneNode’ has no member named ‘setMaterialFlag’; did you mean ‘getMaterial’?
 1994 |                 node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING,
      |                       ^~~~~~~~~~~~~~~
      |                       getMaterial
/home/cross/Downloads/minetest/src/client/content_cao.cpp:1994:46: error: ‘EMF_FRONT_FACE_CULLING’ is not a member of ‘irr::video’; did you mean ‘EMP_FRONT_FACE_CULLING’?
 1994 |                 node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING,
      |                                              ^~~~~~~~~~~~~~~~~~~~~~
      |                                              EMP_FRONT_FACE_CULLING
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:90: src/CMakeFiles/minetest.dir/client/camera.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:146: src/CMakeFiles/minetest.dir/client/clientmap.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:286: src/CMakeFiles/minetest.dir/client/gameui.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:118: src/CMakeFiles/minetest.dir/client/clientenvironment.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:202: src/CMakeFiles/minetest.dir/client/content_cao.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:132: src/CMakeFiles/minetest.dir/client/clientlauncher.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:104: src/CMakeFiles/minetest.dir/client/client.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/minetest.dir/build.make:272: src/CMakeFiles/minetest.dir/client/game.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:642: src/CMakeFiles/minetest.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
commented

The terminal doesnt go back any farther because the error is so long

commented

I also attempted a cleanbuild via a pacman package manager minetest-git package and it still failed the same way.

happens because TextureLayer -> TextureLayers rename in latest irrlicht but no matching commit to minestest yet.

run
git -C lib/irrlichtmt/ checkout $(cat misc/irrlichtmt_tag.txt)
in your source folder to checkout the correct irrlicht version for minetest

commented

Oh okay. Thank you! Minetest will update soon with this change right?

idk, keep an eye on minetest/minetest#13622

commented

Okay