-
Notifications
You must be signed in to change notification settings - Fork 446
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
Pointtracker on Linux and compiling errors #926
Comments
Make sure to set |
It appears to be set correctly (in the CMakeCache.txt file in the cv/ directory), there is the following line:
I then ran cmake with this command (which is almost certainly wrong): Cmake gave the following output: https://pastebin.com/xXwuBW5S Are there any building instructions for this? I'm not very familiar with cmake at all and am generally just running random console commands at this point. Edit: I edited the CMakeLists file and added the set() with the OpenCV dir, but I still got the same error. Edit 2: I started again with a clean clone of the repo, and added the following like to CMakeLists.txt: What's odd is that the arch package compiles successfully (albeit without webcam support) using the following PKGBUILD:
Edit 3: I cloned the repo again, changed CMakeList.txt as above, and made build and ran cmake .. successfully. Edit 4: I can get it to build with -fpermissive, but whatever that kicks out still doesn't work (I get an "error loading Edit 5: I tried the stable/2.3 branch but cmake didn't seem to detect OpenCV even with the option added to CMakeLists |
So I've tried a few other things (compiling in different ways with and without OpenCV) but I still can't get it to sucessfully compile with OpenCV. If it makes a difference, I'm using OpenCV 4.0.1-6, should I use an older version like 4.0.0, 3.4.5, or 2.4.13? |
That error is unrelated to opencv. Pull from unstable and try again. That pkgbuild should bump |
If you're having problems with loading the app after that, I have some instructions. |
Alright, I just compiled after cloning with:
I set LD_LIBRARY PATH to Terminal output was as follows:
I also tried the opentrack-git AUR package, which downloads from the repo, and it did not work either. And here's the output of If it helps, I have two webcams - a Logitech C310 and a PS3 Eye, both of which are currently working on this system (via UVC and ov534, respectively) |
Thanks for noticing this, especially so soon after the mistake was made 👍. I was able to reproduce this bug and fix it. |
Any version above 4.0 or some newer 3.x should work. I can't guarantee 2.x will work for all modules. |
Thank you for all the help! |
I've installed Opentrack on Arch Linux through the AUR package: https://aur.archlinux.org/packages/opentrack/
I have it working and it seems to be working fine. However, PointTracker does not appear in the list of input trackers. I have two working webcams on the system (/dev/video0 and /dev/video2) There is no notable output when running it in console.
How to I add the Pointtracker plugin? Should I just run this inside of WINE for use with Elite Dangerous?
Edit: It appears that the tracker-pt file is missing from the
/usr/libexec/opentrack/
directory. How do I compile or get this? I can't get Opentrack working in WINE. (the webcam doesn't work)The text was updated successfully, but these errors were encountered: