Update README.md with Ubuntu setup instructions#147
Conversation
|
Sorry it's taken me so long to get to this. Lots of good stuff here. Going through this process on a new Ubuntu install, I ran into a couple of things I wanted to ask you about. First, rather than manually copying wwWidgets libraries, would it be better to use make install, as you did later on, i.e., instead of these commands (from my original version, not your changes): Would something like this be better? Second, to clone libVLC, you use: Is there any advantage compared with the following commands (a bit more familiar for me)? |
The Regarding the: The I was also considering potentially writing a I have had to reinstall my OS and lost my Ubuntu install, so I have a chance to try this again fresh. |
1490dbf to
fd74b0e
Compare
|
|
||
| # WSL2 Install Ubuntu Desktop, OpenGL, and setup the DISPLAY | ||
| sudo apt install ubuntu-desktop mesa-utils | ||
| export DISPLAY=localhost:0 |
There was a problem hiding this comment.
Without mesa-utils we seg. fault somewhere in OpenGL code. After we install mesa-utils and setup the DISPLAY env. var. we get:
user@DESKTOP:~/repos/flysight-viewer-qt/build$ ./FlySightViewer
qt.qpa.xcb: could not connect to display localhost:0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted
I'm now installing ubuntu-desktop expecting it to fix the remaining issues.
|
I'm redoing these instructions on WSL2 now and I'm hitting the wslgl issue 1214 now which I need to side-step using: |
71ec5a3 to
5615868
Compare
|
Rebased and squashed the commits. |
5615868 to
ab04498
Compare
|
I'm slogging through this again myself on a new Ubuntu install. I'm running into trouble when making VLC-Qt, as CMake isn't able to find the Qt package configuration file. Any chance this sounds familiar? |
I had trouble following the existing instructions on my Ubuntu 20.04 installation and have updated the README.md with what I found worked for me.
Please review and let me know if there is a better way to set this up.
I'm thinking that it might be worth considering including the source dependencies as submodules.