Package Details: python-moderngl-window 3.1.1-2

Git Clone URL: https://aur.archlinux.org/python-moderngl-window.git (read-only, click to copy)
Package Base: python-moderngl-window
Description: A utility library for ModernGL making window creation and resource loading simple.
Upstream URL: https://github.com/moderngl/moderngl-window
Licenses: MIT
Submitter: groctel
Maintainer: groctel
Last Packager: groctel
Votes: 2
Popularity: 0.000000
First Submitted: 2021-04-04 21:17 (UTC)
Last Updated: 2025-04-01 16:35 (UTC)

Latest Comments

1 2 Next › Last »

groctel commented on 2025-10-18 11:32 (UTC)

@fkr Did @micwoj92's comment in python-pyglm solve your issue?

fkr commented on 2025-10-17 19:22 (UTC) (edited on 2025-10-17 19:33 (UTC) by fkr)

Having installed the newest version of python-pyglm (2025-08-11), I get the same errors as farkaslory described below when trying to install python-moderngl-window, without having touched any PKGBUILD. Each of these errors end as follows:

/usr/lib/python3.13/site-packages/pyglm/__init__.py:1: in <module>
    from . import glm
E   ImportError: /usr/lib/python3.13/site-packages/pyglm/glm.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN3glm21infinitePerspectiveLHIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEES2_S2_S2_

farkaslory commented on 2025-04-23 16:27 (UTC)

As I said the error comes after I have applied your comment as a patch for python-pyglm. python-pyglm builds clean but after that I get the missing undefined symbol error. I didn't have python-pyglm, before this, maybe you have some older files from previous installs that define the aforementioned symbols.

jmll commented on 2025-04-11 17:18 (UTC)

@groctel I also applied the patch from python-pyglm and I can confirm that I'm having the same undefined symbol errors

groctel commented on 2025-04-11 08:47 (UTC)

@farkaslory this should be fixed in the latest python-pyglm patch I submitted as an edit to my comment. It works on my machine but I can't test it on an X11 session right now. Can you test it in yours?

farkaslory commented on 2025-04-04 12:25 (UTC)

After I have modified the python-pyglm PKGBUILD by groctel instruction, I get:

======================== short test summary info =========================
ERROR tests/test_attribute_names.py
ERROR tests/test_camera.py
ERROR tests/test_finders.py
ERROR tests/test_geometry.py
ERROR tests/test_headless.py
ERROR tests/test_loaders_data.py
ERROR tests/test_loaders_program.py
ERROR tests/test_loaders_scene.py
ERROR tests/test_loaders_texture.py
ERROR tests/test_moderngl_window.py
ERROR tests/test_projection.py
ERROR tests/test_resources.py
ERROR tests/test_screenshot.py
ERROR tests/test_shader_source.py
ERROR tests/test_vao.py
ERROR tests/test_windowconfig.py
!!!!!!!!!!!!!!!! Interrupted: 16 errors during collection !!!!!!!!!!!!!!!!
=========================== 16 errors in 0.44s ===========================

Most of the errors come from

ImportError: /usr/lib/python3.13/site-packages/pyglm/glm.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN3glm21infinitePerspectiveLHIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEES2_S2_S2_

groctel commented on 2025-04-01 11:29 (UTC)

I hadn't found a way to do this in many packages. This should be fixed here and in other places :)

micwoj92 commented on 2025-03-17 18:42 (UTC)

Please do not install using pip. This should be checked against system packages.

groctel commented on 2025-03-15 19:30 (UTC)

@micwoj92: This should be fixed

micwoj92 commented on 2025-02-19 22:06 (UTC)

Check fails with:

================================================================================ short test summary info =================================================================================
FAILED tests/test_loaders_scene.py::SceneLoadersTestCase::test_stl - ModuleNotFoundError: No module named 'pywavefront'
FAILED tests/test_loaders_scene.py::SceneLoadersTestCase::test_wavefont_not_found - ModuleNotFoundError: No module named 'pywavefront'
FAILED tests/test_loaders_scene.py::SceneLoadersTestCase::test_wavefront - ModuleNotFoundError: No module named 'pywavefront'