← Back to team overview

hugin-devs team mailing list archive

[Bug 2007178] Re: Replace GLEW with epoxy

 

For ImageTransformsGPU.cpp you need to include <windows.h> 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.
Depending on the selected meson backend different code is generated.
The backend vs and ninja are both using the some compiler and linker, but produce a different sized library.
The library generated by the vs backend is crashing.
But when building with the ninja backend epoxy is working.

So now I need to clean up the modified code.

-- 
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 description:
  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 using epoxy.

  Patch (not sure the best way to work with Launchpad and/or Sourceforge...):
  https://sourceforge.net/p/hugin/hugin/merge-requests/2/

  A draft that has only been tested on Linux and at the moment uses
  PKG_SEARCH_MODULE to find epoxy. So, may work on macOS (libepoxy is
  available in Homebrew) but more work for Windows and other supporting
  scripts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2007178/+subscriptions



References