Opened 17 months ago

Last modified 3 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)

main.log (220.6 KB) - added by programmingkidx 17 months ago.

Download all attachments as: .zip

Change History (19)

Changed 17 months ago by programmingkidx

Attachment: main.log added

comment:1 Changed 17 months ago by jmroot (Joshua Root)

Owner: set to l2dy
Status: newassigned

comment:2 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 17 months ago by kencu (Ken)

on 10.6 may need to go back to irrlicht, if it still works with minetest.

comment:4 Changed 17 months 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 17 months 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 17 months ago by kencu (Ken)

or

on 10.6 may need to go back to irrlicht, if it still works with minetest.

Version 0, edited 17 months ago by kencu (Ken) (next)

comment:7 Changed 17 months 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 Changed 17 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

comment:9 in reply to:  8 Changed 16 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.

Last edited 16 months ago by Zweihorn (@Zweihorn) (previous) (diff)

comment:10 Changed 16 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:12 Changed 16 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 in reply to:  12 Changed 16 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 16 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 Changed 16 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 in reply to:  15 Changed 16 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

THX

Last edited 16 months ago by Zweihorn (@Zweihorn) (previous) (diff)

comment:17 Changed 16 months ago by Zweihorn (@Zweihorn)

Last edited 16 months ago by Zweihorn (@Zweihorn) (previous) (diff)

comment:18 Changed 15 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?

Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.