-
Notifications
You must be signed in to change notification settings - Fork 16
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
does not start on ubuntu #21
Comments
First, I don't recommend to run it under root. |
I followed these commands! still the same (do you need to do something else? cd vlfeat cd ../build |
root@80-78-247-58:/var/www/html/mods/build# cmake .. |
OK, then you should go into build directory and run the compiled file, not .cpp ./mods examples/cat.png examples/cat2.png out1.png out2.png k1.txt k2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu.ini |
-bash: ./mods: No such file or directory |
Then you haven't compiled it (I don't see logs from running make command), or you are not in the correct directory |
Of course, there is no mods file, there is "fatal error". |
ubuntu 20.04 |
sudo apt install python3-opencv - installed this package |
The instructions are for ubuntu 14.04, which is stated in the readme. |
No, what you have installed is python version. Instead you need C++ libraries and headers, as MODS is C++ algorithm. |
I installed everything according to the instructions
root@80-78-247-58:/var/www/html/mods# ./mods.cpp examples/cat.png examples/1.png 3.png 2.png k1.txt k2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu.ini
./mods.cpp: line 1: /------------------------------------------------------/: No such file or directory
./mods.cpp: line 2: /bin: Is a directory
./mods.cpp: line 3: /------------------------------------------------------/: No such file or directory
./mods.cpp: line 33: //#define: No such file or directory
./mods.cpp: line 47: using: command not found
./mods.cpp: line 49: const: command not found
./mods.cpp: line 49: //number: No such file or directory
./mods.cpp: line 51: syntax error near unexpected token
(' ./mods.cpp: line 51:
//inline long getMilliSecs()'root@80-78-247-58:/var/www/html/mods#
root@80-78-247-58:/var/www/html/mods# ./mods examples/cat.png examples/1.png out1.png out2.png k1.txt k2.txt m.txt l.txt 0 0 examples/cat.txt config_iter_mods_cviu.ini iters_mods_cviu.ini
-bash: ./mods: No such file or directory
The text was updated successfully, but these errors were encountered: