If I log sf::VideoMode::getFullscreenModes().width and sf::VideoMode::getFullscreenModes().height, they're reporting 19, which are the correct values. Sf::RenderWindow window(sf::VideoMode::getFullscreenModes(), "SFML window", sf::Style::Fullscreen) I can reproduce the issue with the following code Note that this does not happen when the displays are mirrored. It's just two 1920x1080 monitors side by side. I've also gotten the taskbar area to show through instead of the titlebar area, but I don't have a screenshot of this as I can't seem to reproduce this one reliably. In other words, if I alt tab and then reenter the program, it then fixes the issue / behaves as it should. If I alt tab and then reenter the program, the fullscreen covers the entire screen. When I go into fullscreen, the titlebar area clips through to show the desktop background. Note that this is with Linux Mint Cinnamon 19.1, I haven't tried any other desktop environment. What's frustrating is that I tested the multi-monitor patches prior to 2.5.1 being released, and I don't remember running into this. 2.5.1 is infinitely better than the old behavior, but there's still one weird thing going on for me. It seems like it never ends with the fullscreen multi-monitor issues on Linux. I'm assuming the proper directory here would be the sfeMovie/ffmpeg directory? I have done this, and it no longer complains about that, but it had no effect. Here's a screenshot of what cmake looks like after configuring.įFMPEG_ROOT is not set, which I imagine is a problem, but when I go to manually set it cmake says that it's deprecated and I need to explicitly reenable it. I'd like to distribute the ffmpeg and sfeMovie shared libraries alongside the executable binary. Thing is, that file exists and is in /usr/local/lib ![]() I can compile the project, but when I launch it, I get the error: "error while loading shared libraries: libavformat.so.56: cannot open shared object file: No such file or directory" Here is a link to the blank repo I am trying to integrate sfeMovie with Now I am trying to link against this in a new cmake project. ![]() I have compiled working binaries of sfeMovie and the examples without issue, linking against SFML 2.5.1 and the bundled ffmpeg in the sfeMovie repo. I am attempting to break out the MinimalistDemo example in sfeMovie into an independent cmake project on Linux (Windows too after I get it working on Linux). Quite frankly, I am baffled by cmake and always have been.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |