-
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
Please add Linux support #1
Comments
I'm on it. |
Awesome! =) |
I have succesfully managed to compile and run the software under Linux now. I will update the repository tomorrow. |
Uh... I managed to get it work on my new Linux machine, but not on my old one... So now I am downloading a virtualbox image of a Linux version which is old, but not insanely old to see if it will compile and work there. Then hopefully I can add the binaries here. |
Great work on this! Will there be support for the macs in the future? :) |
Ehm ehm. But in all seriousness, thanks, and I hope there will be! But I don't really have a mac, so it will be a bit difficult. |
Yeah dont sweat it, just be proud of what you already have accomplished! Ill fire up the old pc and use that for the tracking part :) |
Thanks! It should be trivial to port it, since it's pretty much a Linux code. I am having trouble with libc versions, opencv versions and more fun stuff. |
I managed to compile it, but it seems like the Linux repositories for different Linux versions have vastly different versions of opencv with vastly different APIs. So I will need to bundle openCV with it somehow. Tried linking it statically, but that failed, tried including the libraries, but they were dependant on a very new version of libc... Now I am trying to compile opencv from source to get the libraries dependent on an older versions of libc for better compatibility... Then I'll try to either link it statically or somehow dynamically while still including the libraries in the .zip . |
I got it working on Arch by installing the |
@f0x52 Thank you! Me too. I got this working on Kali and Ubuntu using (more or less) the approach you describe. But I CAN'T for the love of God manage to compile in a way that would allow me to distribute the whole thing without forcing the user to install opencv. I can't manage to link opencv statically. Do you have any idea how to do it? |
Maybe an install script/makefile is the way to go? At least that's what gocv uses and it works very well every time and on different systems. I'm not sure how difficult it is to implement. |
@christoph1703 The thing is that the code is dependant on a newer version of OpenCV than the one that can be obtained by apt-get on some relatively new-ish Linux distros, such as Ubuntu 16.04 . This would force the users to compile openCV from source, which I tried on a virtual machine I literally had to leave it overnight to even complete. I guess I could use an install script, which would copy the dynamic libraries to where they belong. I will take a look at gocv. Thank you for the comment! |
Hmmm actually I can take the opencv compilation/installation makefile I found somewhere and then just edit it to install the prebuilt libraries. Yea, probably the best way. I'll try it soon. |
Good luck, I hope everything will work! Makefile is in my opinion the best way to go! |
I've opened pullrequest #9, which adds a cmake file, and instructions on how to build on Ubuntu and MacOS. This will not solve your problems with older linux versions, though |
@HansH Wait, so it is now working under MacOS? AMAZING! I just got it working on Ubuntu 16-19 without the need for installation. Updating everything shortly. I had to compile everything under an old version on Ubuntu and then set RPATH in CMAKE to be relative. Then I collected the necessary libraries using LDD and some bash scripting. |
@HansH Thank you for your amazing work. I've merged your pull request. I have added a Linux binary release now. I have successfully tested this release on Ubuntu 16.04, 18.04 and 19.04. Closing the issue as solved. |
No description provided.
The text was updated successfully, but these errors were encountered: