Skip to content
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

Cannot build the OpenGM #2

Open
Sugar-Coder opened this issue Jul 17, 2021 · 0 comments
Open

Cannot build the OpenGM #2

Sugar-Coder opened this issue Jul 17, 2021 · 0 comments

Comments

@Sugar-Coder
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant