Author Topic: OS/2 - ArcaOS Santa's List for 2025  (Read 3446 times)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2386
  • Karma: +183/-0
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #15 on: December 09, 2024, 08:52:46 am »
What about mesaGL? I don't remember its current status. A slow renderer would still be better than no renderer at all...
Mentore

I visited it, seven years back, and got it compiling and the examples ran good. [https://github.com/OS2World/LIB-GRAPHICS-WarpMesaGL.
Problem is that it is old. Gives gl.h while now it is gl2.h that is required.

sh*t. I was hoping there was a better solution.
AFAIK also PortableGL has its limits (TinyGL is good but even more limited).


Mesa GL's softpipe might be sufficient...

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 375
  • Karma: +29/-0
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #16 on: December 09, 2024, 09:06:54 am »
[..]
sh*t. I was hoping there was a better solution.
AFAIK also PortableGL has its limits (TinyGL is good but even more limited).

Mentore
It has. While the examples worked, I couldn't get it to work with Classicube.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2386
  • Karma: +183/-0
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #17 on: December 10, 2024, 09:02:51 pm »
[..]
sh*t. I was hoping there was a better solution.
AFAIK also PortableGL has its limits (TinyGL is good but even more limited).

Mentore
It has. While the examples worked, I couldn't get it to work with Classicube.

OK I've hacked mesa, python and meson enough to get a build.ninja

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/memstream.c is a problem as we don't have open_memstream() and I'm not sure how to implement it on OS/2.

I stubbed this for now.... I have latest mesa mostly build.... but meson has no idea how to make an OS/2 DLL, so there may be some manual hackery required to get past errors like:
Code: [Select]
[1/16] Linking target src/mapi/es2api/libGLESv2.so.2.0.0
FAILED: src/mapi/es2api/libGLESv2.so.2.0.0
c++  -o src/mapi/es2api/libGLESv2.so.2.0.0 src/mapi/es2api/libGLESv2.so.2.0.0.p/.._entry.c.o -shared -fPIC  src/mapi/shared-glapi/libglapi.so.0.0.0 src/c11/impl/libmesa_util_c11.a  -pthread
D:/Users/dmik/rpmbuild/BUILD/libc-0.1.13/src/emx/src/lib/startup/386/dll0.s:62 (/@unixroot/usr/lib/dll0.o): Definition of symbol __text (multiply defined)
D:\Temp/ccvnLdQd.s:0 (/@unixroot/usr/lib/dll0.o): Definition of symbol __data (multiply defined)
D:\Temp/ccvnLdQd.s:0 (/@unixroot/usr/lib/dll0.o): Definition of symbol ___data_start (multiply defined)
D:\Temp/ccvnLdQd.s:0 (/@unixroot/usr/lib/dll0.o): Definition of symbol ___bss_start (multiply defined)
src/mapi/shared-glapi/libglapi.so.0.0.0: Definition of symbol __data (multiply defined)
D:/Users/dmik/rpmbuild/BUILD/libc-0.1.13/src/emx/src/lib/startup/386/dll0.s:62 (src/mapi/shared-glapi/libglapi.so.0.0.0): Definition of symbol __text (multiply defined)
src/mapi/shared-glapi/libglapi.so.0.0.0: Definition of symbol ___data_start (multiply defined)
src/mapi/shared-glapi/libglapi.so.0.0.0: Definition of symbol ___bss_start (multiply defined)
[2/16] Linking target src/mapi/es1api/libGLESv1_CM.so.1.1.0
FAILED: src/mapi/es1api/libGLESv1_CM.so.1.1.0
c++  -o src/mapi/es1api/libGLESv1_CM.so.1.1.0 src/mapi/es1api/libGLESv1_CM.so.1.1.0.p/.._entry.c.o -shared -fPIC src/mapi/shared-glapi/libglapi.so.0.0.0 src/c11/impl/libmesa_util_c11.a  -pthread -lpthread
D:/Users/dmik/rpmbuild/BUILD/libc-0.1.13/src/emx/src/lib/startup/386/dll0.s:62 (/@unixroot/usr/lib/dll0.o): Definition of symbol __text (multiply defined)
D:\Temp/ccvnLdQd.s:0 (/@unixroot/usr/lib/dll0.o): Definition of symbol __data (multiply defined)
D:\Temp/ccvnLdQd.s:0 (/@unixroot/usr/lib/dll0.o): Definition of symbol ___data_start (multiply defined)
D:\Temp/ccvnLdQd.s:0 (/@unixroot/usr/lib/dll0.o): Definition of symbol ___bss_start (multiply defined)
src/mapi/shared-glapi/libglapi.so.0.0.0: Definition of symbol __data (multiply defined)
D:/Users/dmik/rpmbuild/BUILD/libc-0.1.13/src/emx/src/lib/startup/386/dll0.s:62 (src/mapi/shared-glapi/libglapi.so.0.0.0): Definition of symbol __text (multiply defined)
src/mapi/shared-glapi/libglapi.so.0.0.0: Definition of symbol ___data_start (multiply defined)
src/mapi/shared-glapi/libglapi.so.0.0.0: Definition of symbol ___bss_start (multiply defined)
[3/16] Generating src/git_sha1.h with a custom command
ninja: build stopped: subcommand failed.
« Last Edit: December 10, 2024, 09:53:29 pm by Paul Smedley »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #18 on: December 10, 2024, 11:49:19 pm »
Have you looked at the old port? https://github.com/OS2World/LIB-GRAPHICS-WarpMesaGL
This built with VACPP and has the Presentation Manager fixes. IIRC, the build system was redone.

David McKenna

  • Hero Member
  • *****
  • Posts: 849
  • Karma: +27/-0
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #19 on: December 11, 2024, 12:35:33 am »
 Paul,

  Don't know if it helps, but Ko Myung-Hun just did a new meson: https://github.com/komh/meson-os2/releases/tag/1.6.0

Regards,

Mentore

  • Full Member
  • ***
  • Posts: 232
  • Karma: +11/-0
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #20 on: December 11, 2024, 08:05:45 am »
Paul,

  Don't know if it helps, but Ko Myung-Hun just did a new meson: https://github.com/komh/meson-os2/releases/tag/1.6.0

Regards,

Whoa, didn't find it before. I've got at least two interesting projects which build with meson. Currently I've got no time to work on ArcaOS, but willing to start again asap.
Mentore

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2386
  • Karma: +183/-0
    • View Profile
Re: OS/2 - ArcaOS Santa's List for 2025
« Reply #21 on: December 11, 2024, 08:20:00 am »
Paul,

  Don't know if it helps, but Ko Myung-Hun just did a new meson: https://github.com/komh/meson-os2/releases/tag/1.6.0

Regards,

Looking at the checkins, there don't appear to be any OS/2 specific changes in this repo :(