biotracking / biotrack

www.bio-tracking.org
Other
22 stars 12 forks source link

Running binaries in newer versions of Ubuntu #6

Open petersmp opened 8 years ago

petersmp commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 7 years ago

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

OleAd commented 6 years ago

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.