[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-09-23 Thread tmodes
** Changed in: hugin Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/2007178 Title: Replace GLEW with epoxy Status in Hugin: Fix Released Bug descr

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-24 Thread Chris Mayo
Thanks. That works for me. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/2007178 Title: Replace GLEW with epoxy Status in Hugin: Fix Committed Bug description: GLEW is installed for either

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-24 Thread tmodes
I committed the changes to the repository. But I made the choice of GLEW or epoxy user configurable in the CMake build. ** Changed in: hugin Status: New => Fix Committed ** Changed in: hugin Milestone: None => 2023.0beta1 -- You received this bug notification because you are a member

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-21 Thread tmodes
For ImageTransformsGPU.cpp you need to include before gl.h. Then the glut call work (removing an error reporting is a no-go). But when I use the released epoxy lib (compiled with MSVC) I'm getting the crashes. After more testing it appears there is a bug in libepoxy build system or in meson. D

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-20 Thread Chris Mayo
I installed MSYS2 and built with that, most of the work was hacking Hugin CMakeLists to find the MSYS2 packages. MSYS2 has an epoxy package, and supports pkg-config, the actual code changes from the last patch required below (I also modified win_bundle.cmake but that was a quick MSYS2 hack). The

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-18 Thread tmodes
I tried to test it on Windows. First I needed several more changes to get it to compile. But it does not work: nona --gpu is only printing "Attempting to dlopen() while in the dynamic linker." and then crashes. Opening the fast preview crashes Hugin without feedback/further information. -- You

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-15 Thread Chris Mayo
For Building on Windows, yes it does need Meson [1]. If Python 3 is installed: pip install meson Apparently meson can generate Visual Studio project files with `--backend vs` option [2] (also xcode). [1] https://github.com/anholt/libepoxy/issues/65#issuecomment-277750480 [2] https://mesonbuild.c

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-14 Thread tmodes
First I need to check how to build on Windows. The readme does not provide instructions specific for Windows. It seems epoxy needs 2! different build systems (currently not used by Hugin or its dependencies) which would be a high obstacle for building such a small library. Second this lib is new f

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-13 Thread Bruno Postle
I haven't tested the patch, just noting that epoxy is available on fedora -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/2007178 Title: Replace GLEW with epoxy Status in Hugin: New Bug descri

[Hugin-devs] [Bug 2007178] Re: Replace GLEW with epoxy

2023-02-13 Thread Chris Mayo
** Description changed: GLEW is installed for either GLX or EGL, making it impossible to switch to EGL if some applications need GLX. epoxy also does not need to be initialised, making startup faster. - GTK, Firefox and Libreoffice are among those that have switched to epoxy. + GTK, Firefox a