Hi, I have problem when make the opengm library. Could you please tell me which version of opengm you were using? The opengm downloaded from github or the website both were built failed.
(base) sugar@sugar-virtual-machine:~/project/inpainting/opengm-2.3.5/build$ make
Scanning dependencies of target example-segmentation
[ 1%] Building CXX object src/examples/image-processing-examples/CMakeFiles/example-segmentation.dir/interpixel_boundary_segmentation.cxx.o
In file included from /home/sugar/project/inpainting/opengm-2.3.5/include/opengm/functions/function_properties_base.hxx:10,
from /home/sugar/project/inpainting/opengm-2.3.5/include/opengm/functions/explicit_function.hxx:7,
from /home/sugar/project/inpainting/opengm-2.3.5/include/opengm/graphicalmodel/graphicalmodel.hxx:12,
from /home/sugar/project/inpainting/opengm-2.3.5/src/examples/image-processing-examples/interpixel_boundary_segmentation.cxx:11:
/home/sugar/project/inpainting/opengm-2.3.5/include/opengm/utilities/accumulation.hxx: In member function ‘opengm::Accumulation<Value, State, Accumulator>::LabelType opengm::Accumulation<Value, State, Accumulator>::state(size_t) const’:
/home/sugar/project/inpainting/opengm-2.3.5/include/opengm/utilities/accumulation.hxx:95:23: error: no match for call to ‘(const
opengm::FastSequence<long unsigned int>) (size_t&)’
95 | return state_(index);
| ^
make[2]: *** [src/examples/image-processing-examples/CMakeFiles/example-segmentation.dir/build.make:63: src/examples/image-processing-examples/CMakeFiles/example-segmentation.dir/interpixel_boundary_segmentation.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1281: src/examples/image-processing-examples/CMakeFiles/example-segmentation.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Hi, I have problem when make the opengm library. Could you please tell me which version of opengm you were using? The opengm downloaded from github or the website both were built failed.