Anthon Lockwood
Anthon Lockwood
can you do `file /path/to/untrunc`? I once had this issue because I tried to run a 32bit executable on a 64bit system.
Maybe replace '/path/to/untrunc' with the path to untrunc?
You are then in the folder containing the untrunc executable. You can do `pwd` to print the working/current directory.
[untrunc.pro](https://github.com/ponchio/untrunc/blob/master/untrunc.pro) is a project file used by qtcreator. Maybe your compilation failed? If so, try to compile my [fork](https://github.com/anthwlock/untrunc), the compilation is way easier there.
I think `brew install ffmpeg` should do.
The only step needed after you have ffmpeg and its public headers is `make`. If it fails please post it's output
The public headers are what tells the c/c++ compiler what the ffmpeg library has to offer. You don't need these in order to run applications using ffmpeg, but only in...
Please try [this branch](https://github.com/anthwlock/untrunc/tree/clang_friendly). The problem was that g++ defines `_LARGEFILE64_SOURCE,` but clang++ does not.
Ok, does [it work](https://github.com/anthwlock/untrunc/tree/clang_friendly) now?
Replaced all `off64_t` with `off_t` and instead used `-D_FILE_OFFSET_BITS=64`. Now [it should work](https://github.com/anthwlock/untrunc/tree/clang_friendly)!