You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux, Slackware. Use ccmake to set CMAKE_INSTALL_PREFIX; eg. /opt/museek
When running museeq I get:
Floating point exception
The cuplrit is the IMG() function. If it can't find a file, it returns QPixmap(), an image measuring 0x0 pixels. Some of the code divides by the image width, which causes the crash.
Why it can't find the file is in museeq/images.cpp:
There is something broken, it was introduced by my recent changes to the cmake build system. the DATADIR define in the config header contained the full path before, now it's relative to the CMAKE_INSTALL_PREFIX. I'll submit a fix later to put the full datadir path in there again, would be great if you can test it then.
I pushed a fix to the cmake-fixes branch of my repo and made a PR: #24. I'm having an unrelated build error on Arch right now so I cannot test. Could you see if that fixes it? Thanks!
Linux, Slackware. Use ccmake to set CMAKE_INSTALL_PREFIX; eg. /opt/museek
When running museeq I get:
The cuplrit is the IMG() function. If it can't find a file, it returns
QPixmap()
, an image measuring 0x0 pixels. Some of the code divides by the image width, which causes the crash.Why it can't find the file is in
museeq/images.cpp
:But
DATADIR
is returning the string 'share' only, and not a full path. So it can only find the images if IEventually I found an alternative implementation of DATADIR which I enabled by building with
Is this really the best solution here or is something broken? And if it is the correct fix, should it be more intuitive (eg. on by default?)
The text was updated successfully, but these errors were encountered: