Question Details

Browse

Cygwin & binary files

By Terry Biscane - Aug. 01, 2008

The general problem is this: I have some binaries and I don't know what to do with them! I've downloaded some binaries (if it helps they are in http://www.robots.ox.ac.uk/~vgg/research/affine/detectors.html

it is the first folder of the updates, the one that says ""Harris&Hessian (also Windows)"") which I need for a project. Anyway, it says there that I need cygwin, so I install it on my Windows XP. And that's where it all stops. On the folder mentioned above there is an application for windows which I run, but does nothing. In a readme file also contained in it, it says ""./extract_features.ln -harhes -i img.png -sift -pca harhessift.basis"" , so I type this in cygwin but says ""no such file or directory"", then I try to change the path, but I can't. The concept is that we have an image and through that binary, an ASCII file with some features of the image is produced, but I can't get that to work. Anyway, sorry for my messy question, but my mind is all messed up, after all this search for this.

Thanks for your help.


Answers

Add Answer
  1. By Stan Dupont on Aug. 01, 2008

    Well, I can see two problems here. Firstly, you could have unpacked it so the file is missing executable rights. Try to do a full list:


    ls -l


    See if ""x"" shows in file permissions.


    Secondly, on my system utility ""file"" reports it is a Linux executable, which, to my knowledge, will not run under cygwin. See for yourself:


    Nikola@computer01 ~

    $ file detect_points.ln

    detect_points.ln: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, statically linked, not stripped


    Nikola@computer01 ~

    $ file /usr/bin/file

    /usr/bin/file.exe: MS-DOS executable PE for MS Windows (console) Intel 80386 32-bit


    There is a difference between something compiled for Cygwin (the ""file"" command itself) and Linux.


    In other words, I don't expect it to run.


    0 Votes
  2. By cnshirui on Aug. 28, 2008

    run setup.ext in the downloaded folder


    0 Votes
Share your knowledge