Open martinezjavier opened 5 years ago
Hi @martinezjavier,
Certainly, I never tried eViacam on Wayland, thus not sure about its compatibility.
eViacam uses some "low-level" Xlib calls to work. Just guessing, but perhaps these calls to DefaultScreen and DisplayHeight and DisplayWidth, and/or the Display* type castings do not work under Wayland as expected. I suggest checking how the Display type is defined in both cases and whether these functions are supported on Wayland. Hope it helps.
Hello @cmauri,
I'm trying to make
eviacam
work on Fedora 29, but when building from source using the latestv2.1.3
tag the process receives a SIGSEGV and gets killed.The problem is in the call to
DisplayHeight()
inCMouseControl::GetScreenSize()
:I see that
m_pDisplay
is set though, to thepDisplay
argument received by theCMouseControl::CMouseControl()
constructor:So I don't really understand why
DisplayHeight()
causes a NULL pointer deference sincem_pDisplay
seems to be set correctly.Maybe is a red herring, but I'm using Wayland + XWayland for X clients. Do you know if
eviacam
is supposed to work on this setup or should only under X?In case is useful, the
wxWidgets
backend is GTK3.Any hints on how to further debug this?