alicevision/CCTag

[bug]"status::id_reliable" --“status”: is not a class or namespace name

Opened this issue · 4 comments

Describe the bug
I have successfully installed CCTag as third party in x64-windows and used the example to detect concenteric circles. Howerver,when using the example,"status::id_reliable" cannot be complied correctly. Did I miss something?(Even with add cctag namespace,it still doesn't work.)

Desktop (please complete the following and other pertinent information):

  • OS: win11
  • CCTag version: x64-windows@1.0.4

image

image

Please copy/padte the compilation error output here, that would be useful.
And if I understand correctly, you installed cctag with vcpkg and you are trying to compile the detection example in your project using cctag provided by vcpkg as third party library?

Please copy/padte the compilation error output here, that would be useful. And if I understand correctly, you installed cctag with vcpkg and you are trying to compile the detection example in your project using cctag provided by vcpkg as third party library?
yes, you are right.see the below errors:
Snipaste_2024-10-29_23-48-42

try to add

#include <cctag/CCTag.hpp>

among the includes at the beginning. That's where id_reliable is defined.
Also, try to use cctag::status::id_reliable if necessary.

Thanks! It works。
Snipaste_2024-10-30_09-29-08