Opened 2 years ago
Last modified 9 months ago
#66439 assigned defect
irrlichtmt fails to install on Mac OS 10.6
Reported by: | programmingkidx | Owned by: | l2dy (Zero King) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | irrlichtmt |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
While trying to install irrlichtmt on Mac OS 10.6 I saw this error:
Irrlicht/COpenGLDriver.cpp:2012:13: error: use of undeclared identifier 'GL_TEXTURE_CUBE_MAP_SEAMLESS'; did you mean 'OpenGLProcedures::TEXTURE_CUBE_MAP_SEAMLESS'?
I was not able to determine when GL_TEXTURE_CUBE_MAP_SEAMLESS
was added to Mac OS X. I think this symbol was added in OpenGL 3.2. According to this page "https://www.geeks3d.com/20121109/overview-of-opengl-support-on-os-x/" OpenGL 3.2 was not available on Mac OS 10.6.
Attachments (1)
Change History (19)
Changed 2 years ago by programmingkidx
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to l2dy |
---|---|
Status: | new → assigned |
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:3 Changed 2 years ago by kencu (Ken)
comment:4 Changed 2 years ago by programmingkidx
A solution to this problem might be:
a) we find an OpenGL programmer who can program around this missing symbol
b) we revert to a previous version of MineTest that could work on Mac OS 10.6.
comment:5 Changed 2 years ago by programmingkidx
I like option A better because it would mean newer software would be available to older versions of Mac OS X.
comment:6 Changed 2 years ago by kencu (Ken)
or
on 10.6 may need to go back to irrlicht, if it still works with minetest.
irrlicht builds on 10.6. irrlichmt is a new fork the minetest folks created. but the original might still work,
comment:7 Changed 2 years ago by programmingkidx
Sorry Ken I didn't acknowledge your idea. I didn't see the missing 'mt' at the end of irrlicht. Your idea sounds interesting.
comment:8 follow-up: 9 Changed 2 years ago by aeiouaeiouaeiouaeiouaeiouaeiou
Minetest is no longer compatible with Irrlicht.
https://github.com/minetest/minetest/commit/16a30556dfa8e27c82d026bd63467f82d2e37a1c
comment:9 Changed 23 months ago by Zweihorn (@Zweihorn)
That may be correct but ...
Replying to aeiouaeiouaeiouaeiouaeiouaeiou:
Minetest is no longer compatible with Irrlicht.
https://github.com/minetest/minetest/commit/16a30556dfa8e27c82d026bd63467f82d2e37a1c
OK?
There is a specific "Minetest's fork of Irrlicht" upstream and this is available as "irrlichtmt" port
See:
However, this is not specific to a.m. issue and may not help Mac OS X 10.6 Snow Leopard users for hopefully soon again enjoying the Minetest game as a "minetest" port user experience.
comment:10 Changed 23 months ago by Zweihorn (@Zweihorn)
Maybe later during the year (2023 ?) I could dig into my dungeons and could find my old original white Mac mini with Hard-disk and Mac OS X 10.6 Snow Leopard originally installed from the original Mac OS X 10.6 Compact-Disk set.
No promises but we always can hope ...
comment:11 Changed 23 months ago by Zweihorn (@Zweihorn)
comment:12 follow-up: 13 Changed 23 months ago by kencu (Ken)
yes, looks like support to build minetest against the old Irrlicht library has been dropped.
not too surpring that things move on.
comment:13 Changed 23 months ago by Zweihorn (@Zweihorn)
Replying to kencu:
yes, looks like support to build minetest against the old Irrlicht library has been dropped.
not too surpring that things move on.
That is correct and this defect report was not blaming anybody. Inventions and success both devour their children.
However, I raised this issue at the IrrlichtMT repository of the Minetest project.
IMO any chances may be small, however, "you don't ask, you don't get", they say.
comment:14 Changed 23 months ago by Zweihorn (@Zweihorn)
Voila. Faster than expected.
Reply from a very kind and quite helpful MT core dev like sfan5 https://github.com/sfan5
IrrlichtMt supports OpenGL 1.4 and newer but requires reasonably up-to-date OpenGL headers to build (actual support is checked at runtime), which you can get from [Khronos](https://registry.khronos.org/OpenGL/index_gl.php). Irrlicht used to bundle these headers but we no longer do to simplify maintenance.
Alternatively if it's just this symbol you can try to
#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
somewhere.
Hope this helps. However, I am lacking the 10.6 platform momentarily if not indefinitely.
comment:15 follow-up: 16 Changed 23 months ago by kencu (Ken)
Oh, that is pretty encouraging. OK, let's not make 10.6 a hard no then -- sounds like it will be fixed soon enough.
comment:16 Changed 23 months ago by Zweihorn (@Zweihorn)
Replying to kencu:
Oh, that is pretty encouraging. OK, let's not make 10.6 a hard no then -- sounds like it will be fixed soon enough.
OK
- Will amend the Portfile of "minetest" rev2 accordingly and remove the 'darwin >=11' in particular.
- How about modifying this Ticket by amending to "Keywords 'legacy-os'" above? Just curious, however https://trac.macports.org/wiki/TicketsKeywordGuidelines
THX
comment:17 Changed 22 months ago by Zweihorn (@Zweihorn)
comment:18 Changed 22 months ago by programmingkidx
I ran "sudo port selfupdate", then ran "sudo port install minetest". The result was the same:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_irrlichtmt/irrlichtmt/work/irrlicht-1.9.0mt4/source/Irrlicht/COpenGLDriver.cpp:2012:13: error: use of undeclared identifier 'GL_TEXTURE_CUBE_MAP_SEAMLESS'; did you mean 'OpenGLProcedures::TEXTURE_CUBE_MAP_SEAMLESS'?
I am using MacPorts 2.8.1. I thought this issue had been fixed. Is there something else left to do?
on 10.6 may need to go back to
irrlicht
, if it still works with minetest.