CCTag icon indicating copy to clipboard operation
CCTag copied to clipboard

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

Open Abelliu1 opened this issue 1 year ago • 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):

image

image

Abelliu1 avatar Oct 29 '24 07:10 Abelliu1

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?

simogasp avatar Oct 29 '24 12:10 simogasp

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

Abelliu1 avatar Oct 29 '24 15:10 Abelliu1

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.

simogasp avatar Oct 29 '24 18:10 simogasp

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

Abelliu1 avatar Oct 30 '24 01:10 Abelliu1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 26 '25 00:10 github-actions[bot]