danini / graph-cut-ransac

The Graph-Cut RANSAC algorithm proposed in paper: Daniel Barath and Jiri Matas; Graph-Cut RANSAC, Conference on Computer Vision and Pattern Recognition, 2018. It is available at http://openaccess.thecvf.com/content_cvpr_2018/papers/Barath_Graph-Cut_RANSAC_CVPR_2018_paper.pdf
Other
431 stars 93 forks source link

make error #9

Closed greenjokers closed 5 years ago

greenjokers commented 5 years ago

hi danini, I have followed the build instructions, but when i run make,I get image but I already have the cpp in the folder,why?

csufangyu commented 5 years ago

you should install "ppl",you can run sudo apt-get install libcpprest-dev

Zhengjun-Du commented 5 years ago

I also encountered this problem, and I use command "sudo apt-get install libcpprest-dev", but which dosn`t work. how to solve it?

danini commented 5 years ago

To be honest, I have not used the algorithm from linux, but you can easily replace each parallel_for cycle by a simple for cycle or using OpenMP. Then you can remove ppl library.

Zhengjun-Du commented 5 years ago

thank you danini, before your reply I have solved this problem, from your code , I find that the code is writing with VS2015 or higher version. I do replace each parallel_for cycle by a simple for cycle. I don`t konw what if it will decrease efficiency apparently.