-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find Qt platform plugin "xcb" #1383
Comments
Sorry for the problem you are experiencing @rhjohnstone. I must confess that I was surprised by your report, so I double checked on a vanilla (virtual) machine running Ubuntu 16.04 LTS (up-to-date with regards to Ubuntu-related updates) and, as I expected, I am able to run OpenCOR 0.5 and the 2017-07-23 snapshot without any problems (both by running OpenCOR normally comes with everything it needs to run on a vanilla version of Ubuntu. So, I am not sure what might be going wrong with your system. If you do
and the the following ones for the 2017-07-23 snapshot:
As you can see, you should have an entry for |
I ran that command, and do indeed get the same output (at least, it was the same number of lines and in a different order, so I assume it was the same), including |
Solved. Based on a suggestion from here for the same problem, I deleted I don't know enough to know why this worked, but it did! |
Glad that you got it to work @rhjohnstone although it is rather frustrating that you had to do that since we need to ship |
Thanks @dbrnz. I wonder if |
@agarny, I'm happy to test a new snapshot. |
@agarny, I've managed to reproduce the problem under Ubuntu 16.04. The 2017-07-23 snapshot worked just fine until I ran the software updater to pull in the latest versions of packages... |
@dbrnz: I hadn't upgraded my Ubuntu 16.04 LTS box since I left (a bit more than a week ago now), but I have just done so and can now confirm the issue. So, it's all good, I will be able to test things locally (thanks @rhjohnstone for agreeing to help, the more the better). |
This reverts commit 9ea4a23.
Ok, I have just tried |
…hines (opencor#1383)." This reverts commit 13f5080.
FTR, I have created an empty-shell version of OpenCOR on Ubuntu 14.04 LTS using GCC/G++ 5.4.1 (i.e. the latest version available). I packaged that version (together with the standard C++ library that is available on Ubuntu 14.04 LTS) and tried it on a vanilla Ubuntu 16.04 LTS and... it didn't work. I got that message about the Qt platform plugin "xcb". So, it seems like it's not only an issue with GCC/G++. From there, I have replaced the standard C++ library that is available on Ubuntu 14.04 LTS with that available on Ubuntu 16.04 LTS. Obviously, OpenCOR works fine with it on Ubuntu 16.04 LTS, but it also works fine on Ubuntu 14.04 LTS. So, the solution seems to be using the standard C++ library that comes with Ubuntu 16.04 LTS and (as before) ship it with OpenCOR, so that OpenCOR can also work on Ubuntu 14.04 LTS. I am therefore going to do this from now on, and update our documentation accordingly. (Note that we should still be able to build OpenCOR on Ubuntu 14.04 LTS for our continuous integration on Travis CI.) (Will do that sometime next week when I am back home.) |
Some more thinking: I am concerned about having to ship the 16.04 standard C++ library to get OpenCOR to work on 14.04. Indeed, I know it works fine on 14.04, but who knows about 14.10, 15.04, 15.10, 16.10 and 17.04! So, in the end, I think it's best to drop our support for 14.04 and now support 16.04 and above, since 16.04 is the latest LTS. This means that we won't be shipping the standard C++ library with OpenCOR anymore. Does that sound good to you @dbrnz? |
Sounds good to me @agarny. |
Using latest snapshot (although also had the same issue with latest stable version) of OpenCOR on Ubuntu 16.04. When I try to run OpenCOR, I get
The text was updated successfully, but these errors were encountered: