-
Notifications
You must be signed in to change notification settings - Fork 29
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
build instructions for Ubuntu 22.04 #190
Comments
Thanks for this script. Tested this build method on Ubuntu 20.04. You also need to install packages bison, libcrypto++, libssl-dev, gcc-multilib, libopencv-dev, qttools5-dev for a working build. There may be other deps I missed but anyway. I haven't tested installing or running the app yet, I'll do that tomorrow. |
I got the gui running, but it claims trackir is connected but it cannot open it due to permissions issue. But this message is wrong - the problem is that gui can't open library in probeTir() function. I'll continue investigating why it can't load it. |
Problem was that libusb-1.0.0-dev was missing and libtir was not built at all. After installing it and checking ./configure gets trackir support, i was able to build deb package with checkinstall and run ltr_gui. For some reason the ltr_gui is not included in the debian package, but I was able to run it from source directory. 3D view also shows only gray - looks like the model can't be loaded for some reason. |
Thanks for your effort with this build script - it gave me another avenue to try when ltr_gui from the universal package wouldn't work for me (just shows loads of signal connection failures which is a different issue) When trying to build this on Pop!-os 22.04 I get problems including QHelpEngine (it seems to be inside a QtHelp dir) and libs for QtHelp. (-lQtHelp ?) Trying to build the failed elements by hand leads to an executable that won't run (src/qt_gui/ltr_gui: symbol lookup error: src/qt_gui/ltr_gui: undefined symbol: ltr_int_ps3_set_ctrl_val) so I clearly screwed something up. I tried looking at the Makefile to add these tweaks, but wow is it complicated! I failed. I'm giving up for now, but I figured any info might help. I hope it doesn't include any false leads. |
build script worked but run ltr_gui give error: |
Starting ltr_gui overwrites config file without asking and breaks itself. At least on my system you need to set [Global]/Prefix to point to /usr/local/bin/ or otherwise nothing works. After running ltr_gui you need to fix the config file manually. It's very confusing. |
try adding |
Trying again on vanilla Ubuntu 22.04, I've built with the necessary include/link directives for QtHelp I mentioned above. |
Is that in linuxtrack1.conf? |
Yes, in linuxtrack1.conf. ltr_gui writes it automatically. Did you install the package with make install or checkinstall? That should install the libs in correct locations. |
Well, I dum. I hadn't run 'make install'. They gui starts up just fine now. Thank you! Unfortunately, it seg faults when I try to select 'TrackIR' though. :/ |
it might be that i broke something on my side, as to make it compile i did a bunch of tweaks, plus few code changes were needed.. without having a physical trackIR device i feel like i cannot help more - i could do more if i can reproduce the segfault. if you see guys some way for me to reproduce it without the hardware then please tell me, i can try helping. |
CmdrHope commented [on 13 Jun] mkdir -p $HOME/Code After a reboot I could connect my TrackIR 5, run Linuxtrack and it seems to work like a charm. |
It seems it works without any problems after jaspi72s steps. For Linux Mint 21 I only needed to change winehq repos: https://wiki.winehq.org/Ubuntu Thanks |
Hi, I tried to build it. The configure command seems to work, but with 'make' I get the error message
I use Mint 21 as OS (64-bit architecture). Thanks in advance for any incoming help. |
build process doesn't work, after autoconf: configure.ac:26: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete any ideas? |
i did some tweaks to make all the software compile and (at least) GUI works with newest Ubuntu. Not tested further due to lack of hardware.
it will ask you few times for
sudo
, e.g. toapt install
orudev
rules.Hope it will help you, PRs welcomed!
The text was updated successfully, but these errors were encountered: