Skip to content
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

Running binaries in newer versions of Ubuntu #6

Open
petersmp opened this issue Aug 25, 2016 · 6 comments
Open

Running binaries in newer versions of Ubuntu #6

petersmp opened this issue Aug 25, 2016 · 6 comments

Comments

@petersmp
Copy link

I know that this project hasn't been actively maintained in a while, but it looks like it is doing exactly what I need. However, when I download the binaries in Ubuntu 16.04 (and 14.04), and try to run the binaries, I get the following error:

Illegal instruction (core dumped)

I also tried the 32 bit versions, just to see, and I get a similar error:

Segmentation fault (core dumped)

I also tried to install from source, so I have installed all of the listed dependencies. However, I am not seeing any make file with the code, so I am not sure what (if any) details I need for compiling. I am running it in VirtualBox right now (using the image you provide), but that is painfully slow.

So, I guess the question is: any way of getting this to run natively in 16.04? If not, have you released a different system that does this that I am just not finding?

Thanks

@bhrolenok
Copy link
Member

Unfortunately, the binaries are old enough that compiling from source is the way to go to get things running natively. All of these projects were developed using Qt, which has it's own set of "meta" build programs (moc/qmake) which can be told to create the Makefile's you're looking for. They're generated from the *.pro files in each application's directory. These *.pro files can also be edited, generated, and built using Qt's GUI development software, all of which is open source and freely available.

However...
Development paused on this project far enough in the past that many of the development libraries (OpenCV/PCL) have had significant upgrades in the interim. Even Qt itself has moved from 4.x (which is what we developed on) to 5.x, most likely introducing backwards compatibility issues. So compiling from source may not be just a matter of gathering all the development libraries and hitting the equivalent of "build". If you do go down this route, please let us know if it "just worked" or failed horribly, so that we know what needs to be fixed, and anyone else wishing to get native support for newer platforms knows what to expect.

@bhrolenok
Copy link
Member

You may have already tried this, but there are a number of ways to speed up vbox to make it less painful. I know from experience though that for the highest quality videos and tracking settings this still may be a non-starter.

@petersmp
Copy link
Author

Thanks for the quick replies. I will start working through, though there are going to be some issues. It appears, for example, that the pcl libraries are called by version number, and compilation of the version used (1.6) is currently failing on my machine. I will let you know if I am able to succeed (or if the failure becomes complete).

I have done a few things to speed up the vbox, but (as you mention) there will always be some limitation.

If you (or anyone else that sees this) have suggestions for another free software that can track multiple individuals like this, I would be happy to look into that as an alternative. If not, I may try to update this to run (and if so, I will send you any pull requests). However, this is far enough outside my normal realm I am not sure I will be able to do much.

Thanks again.

@petersmp
Copy link
Author

A quick update: after a few days of poking at this I bailed out: I got an old desktop machine and installed 12.04 on it and am using that to run biotrack. Not the most elegant solution, but it will get me through this project.

@snznpp
Copy link

snznpp commented Jan 18, 2017

Hello!
I have the same problem as petersmp. Have you found any other solutions for running it in ubuntu 16.04?
Cheers,
snznpp

@OleAd
Copy link

OleAd commented Mar 22, 2018

For anyone ending up here, trying to compile Biotrack on newer versions of Linux seems to be a no-go. In addition, the mac binary does not function on High Sierra (models won't load). It seems Ubuntu 12.04, or the supplied image is the easiest approach to getting this working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants