jishnujayakumar/MV-Tractus

Compile error

Closed this issue · 5 comments

Hi, I tried to compile and I have this error: /usr/bin/x86_64-linux-gnu-ld: cannot find -ljson
collect2: error: ld returned 1 exit status
I tried to install this package but did not solve the problem: sudo apt-get install libjson-glib-dev

Hi @marius0210,
Try using the compile command here.
https://github.com/jishnujayakumar/MV-Tractus/blob/master/compile
Or try with -l json

Thanks @jishnujayakumar, I complied the program.
But now when I have this error from ./extract_mvs

root@mb-ThinkPad-L512:/home/mb/MV-Tractus# ./extract_mvs /home/mb/test.mp4
bash: ./extract_mvs: No such file or directory

root@mb-ThinkPad-L512:/home/mb/MV-Tractus# ./extract_mvs /home/mb/test.mp4
Could not open source file /home/mb/test.mp4

Please refer #2 and #3 and see if they answer your question. I think the binary file is not generated, that's why you are getting that error. Compile properly.

I tried all the solution but nothing I have the same problem. You made this project on Ubuntu 16.04 and -ljson how do you installed?
I think that your last commit in compiler don't work properly.

We have tested this on 5-6 systems and they worked out really well. Please follow the instructions in the README carefully. I am sorry as I cannot help without exactly knowing what's going wrong at your end but I think there is something wrong with your setup or some library is not linked properly.