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
How to install on ubuntu #1117
Comments
Feel free to test my debian package made for Debian testing. You will find it in this place. |
Hello, thank you all for bringing open track to linux. I would like to request a hint if somebody can help please. Not a programmer, nor do i have any knowledge on how to do all these Build making and compiling. i did "compiled" i guess and installed openCV 3.4.12 which i gathered supposed to be required. Then i preceded with all the steps from wiki I now currently have in my home directory(or folder) But then the wiki ends So i would like to ask how do you install it. This must sound funny to you but i have no clue. :-) also |
@p-s-t |
Thank you for your answer "/your path/install/opentrack/bin from terminal type ./opentrack" After that open track just launched :) I feel silly i did not just try that. Did not occurred to me it was executable. But please don't run away yet. Can we solve this for others too. Can i please request change of this wiki line to something like: "The resulting build output will be placed in the install/ directory. from terminal type ./opentrack" |
@p-s-t |
Freetrack is an output plugin. Its functionality on Linux is entirely replaced by the Wine plugin (also supports the X-Plane plugin). |
I think i will just continue here Got a feeling this needs to be somehow specified when compiling. Is that correct ? Also i did tried that .deb package you mentioned. In hope to find it included in that one. |
Dear all, thanks for all your work in writing and testing this software. Please may I add, as a linux novice, that having spent a half day following various guides trying to compile this (heaps of hurdles; realising I needed cmake not make, installing Qt5, etc, etc, still getting nowhere), I would deeply appreciate a step-by-step idiot's-guide to compiling this source code on linux, then installing it. My deepest thanks to @Attigliuzzo, whose deb package I shall now try, having found this discourse! My thanks again. |
Thank @rackhamlerouge9 for testing my package, i have not compiled it with the wine plugin because it requires to install 32bit stuffs. Anyway you can follow my guide:
It isn't updated but it will be a good starting point, to build your package you can use checkinstall. |
Many thanks @Attigliuzzo
For reference, I'm running Lubuntu 20.04.2 on a Teclast F6 Pro laptop.
I'm dreadfully sorry I didn't know how to get or use ccmake, so I just use apt-get install on your package, and when it told me a dependency I searched online for it:
Your package needed:
https://software.pureos.net/package/bin/landing/libopencv-video4.5which required me to install
https://software.pureos.net/package/bin/landing/libopencv-dnn4.5
https://software.pureos.net/package/bin/landing/libprotobuf23
https://software.pureos.net/package/bin/landing/libopencv-calib3d4.5
https://software.pureos.net/package/bin/landing/libopencv-features2d4.5
https://software.pureos.net/package/bin/landing/libopencv-flann4.5https://software.pureos.net/package/bin/landing/libopencv-features2d4.5
https://software.pureos.net/package/bin/landing/libopencv-imgproc4.5
https://software.pureos.net/package/bin/landing/libopencv-core4.5
I include the links here because I could not find them in my default repository. It was a bit of a slog, but using the "sudo apt-get install" command it told me at each stage the needed dependancies until I had the above list.
Following your instructions I got:
Building CXX object qxt-mini/CMakeFiles/opentrack-qxt-mini.dir/x11-keymap.cpp.o
/home/al/Downloads/opentrack-opentrack-2.3.13/qxt-mini/qxtglobalshortcut_x11.cpp:40:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
40 | #include <qpa/qplatformnativeinterface.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
I did try installing your .deb file, but while the opentrack icon appeared, it would not run.
I'm very much open to suggestions if you have any, but most of all I'm grateful someone else thinks there needs to be a debian package!
Yours sincerely and with thanks,
Al
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Sunday, July 18th, 2021 at 9:06 AM, Attigliuzzo ***@***.***> wrote:
Thank ***@***.***(https://github.com/rackhamlerouge9) for testing my package, i have not compiled it with the wine plugin because it requires to install 32bit stuffs. Anyway you can follow my guide:
> 1- install git, make a dir and launch: git clone https://github.com/opentrack/opentrack
> 2- install following packages:
> 3- create a directory in ../opentrack/build, then cd build
> 4- ccmake .. will tell about missing deps. install any missing deps, empty the build folder and re-launch ccmake ..
> 5- press "c" to to continue and then "t", edit any items like the install path:
> SDK_ENABLE_LIBEVDEV on ---> not available, already integrated
> CMAKE_INSTALL_PREFIX /usr/local/opentrack
> 6- cmake .
> 7- make -j5
> 8- make install
It isn't updated but it will be a good starting point, to build your package you can use checkinstall.
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#1117 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ASM6TTTLE227H7MSPG3EKSLTYKDPNANCNFSM4O5AEMSQ).
|
Hi @rackhamlerouge9, I read you miss the header "qplatformnativeinterface.h", so searching from the main site of ubuntu packages you will need to install the "qtbase5-private-dev" package. If you don't want to waste your time, i remember that in the benchmark sim forum a guy built opentrack for ubuntu. This is the page, and this is the direct link to the file. Another guide here. |
@Attigliuzzo ,
You are a saint! I shall try again as you advise and failing that will go down the route of the package and guide to which you so kindly linked. Unfortunately I'm on nights this week so this will have to be a job for next weekend. I hope that when it works I can make a Lubuntu bootable USB with Flightgear installed on it and configured to connect to a server, and post it with a joystick and head-tracker to a pilot friend so he can teach me to fly via the internet. There is such potential still lying dormant at the moment!
Thank you again,
Al
Sent from ProtonMail mobile
…-------- Original Message --------
On 20 Jul 2021, 07:52, Attigliuzzo wrote:
Hi ***@***.***(https://github.com/rackhamlerouge9),
despite ubuntu is a folk of Debian isn't always possible to satisfy cross dependecies, the use of ccmake is simple it is useful to configure your system before compile your code.
Without right libraries installed my opentrack won't run.
I read you miss the header "qplatformnativeinterface.h", so searching from the main [site of ubuntu packages](https://packages.ubuntu.com/search?mode=exactfilename&suite=hirsute§ion=all&arch=any&keywords=qplatformnativeinterface.h&searchon=contents) you will need to install the "qtbase5-private-dev" package.
If you don't want to waste your time, i remember that in the benchmark sim forum a guy built opentrack for ubuntu. This is [the page](https://www.benchmarksims.org/forum/showthread.php?16825-ANN-opentrack-2-0-beta-1-released!&p=558250#post558250), and this is the [direct link](https://www.magentacloud.de/lnk/jwBpmS02) to the file. Another guide [here](https://www.benchmarksims.org/forum/showthread.php?41827-UNOFFICIAL-Running-BMS-on-Linux-WINE-with-opentrack-HOWTO).
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#1117 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ASM6TTVUQVU66RYC7ES6XV3TYUMMLANCNFSM4O5AEMSQ).
|
@nkv123 ,
I'm so sorry, I am replying by email and had thought @attigluzzio had written your very kind and patient guidance! You were absolutely right, of course, about my needing to learn of the ubuntu packages guide. Mind: blown. Thank you so much :D
Al
Sent with [ProtonMail](https://protonmail.com/) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Tuesday, July 20th, 2021 at 8:53 AM, AD Mackenzie ***@***.***> wrote:
@Attigliuzzo ,
You are a saint! I shall try again as you advise and failing that will go down the route of the package and guide to which you so kindly linked. Unfortunately I'm on nights this week so this will have to be a job for next weekend. I hope that when it works I can make a Lubuntu bootable USB with Flightgear installed on it and configured to connect to a server, and post it with a joystick and head-tracker to a pilot friend so he can teach me to fly via the internet. There is such potential still lying dormant at the moment!
Thank you again,
Al
Sent from ProtonMail mobile
-------- Original Message --------
On 20 Jul 2021, 07:52, Attigliuzzo < ***@***.***> wrote:
> Hi ***@***.***(https://github.com/rackhamlerouge9),
> despite ubuntu is a folk of Debian isn't always possible to satisfy cross dependecies, the use of ccmake is simple it is useful to configure your system before compile your code.
> Without right libraries installed my opentrack won't run.
>
> I read you miss the header "qplatformnativeinterface.h", so searching from the main [site of ubuntu packages](https://packages.ubuntu.com/search?mode=exactfilename&suite=hirsute§ion=all&arch=any&keywords=qplatformnativeinterface.h&searchon=contents) you will need to install the "qtbase5-private-dev" package.
>
> If you don't want to waste your time, i remember that in the benchmark sim forum a guy built opentrack for ubuntu. This is [the page](https://www.benchmarksims.org/forum/showthread.php?16825-ANN-opentrack-2-0-beta-1-released!&p=558250#post558250), and this is the [direct link](https://www.magentacloud.de/lnk/jwBpmS02) to the file. Another guide [here](https://www.benchmarksims.org/forum/showthread.php?41827-UNOFFICIAL-Running-BMS-on-Linux-WINE-with-opentrack-HOWTO).
> Regards
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, [view it on GitHub](#1117 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ASM6TTVUQVU66RYC7ES6XV3TYUMMLANCNFSM4O5AEMSQ).
|
Hello everyone, i am using ubuntu 18.04
Are there any installation instructions for ubuntu?
Is there a ppa, docker or snap for this?
The text was updated successfully, but these errors were encountered: