I solved it by building glew 2.2.0 from 
https://sourceforge.net/projects/glew/ using:

make SYSTEM=linux-egl              
cd lib
sudo cp * /usr/lib/x86_64-linux-gnu

Then rebuild hugin.


On Wednesday, March 29, 2023 at 7:41:41 PM UTC+1 Tommy Hughes wrote:

> I decided to build hugin from source to get the latest version as ubuntu 
> is still on version 2021. The build succeeded but hugin fails to start with 
> the following error. I understand this is related to wxWidgets being 
> compiled with EGL support, but I don't know how to proceed from here?
>
> (hugin:5957): Gtk-CRITICAL **: 19:36:35.424: gtk_widget_set_size_request: 
> assertion 'height >= -1' failed 
> /usr/local/share/hugin/data/plugins/woa.py 
>   CAT:Control Points 
>   NAM:Warped Overlap Analysis 
>   fails @api-max 
> /usr/local/share/hugin/data/plugins/top_five.py 
>   CAT:Control Points 
>   NAM:keep 5 CPs per image pair 
>   fails @api-max 
> ERROR: 19:36:35.687688 
> (/home/thomas/src/hugin/hugin.hg/src/hugin1/hugin/GLViewer.cpp:155) 
> SetUpContext(): Error initialising GLEW: Unknown
> error. 
> [1]    5957 segmentation fault (core dumped)  hugin
>
>
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/28b3161c-e1e6-43e0-b79c-0e4ab4d0814dn%40googlegroups.com.

Reply via email to