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

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

Open
Abelliu1 opened this issue Oct 29, 2024 · 4 comments
Labels
build:windows anything related to the windows build

Comments

@Abelliu1
Copy link

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

@simogasp
Copy link
Member

simogasp commented Oct 29, 2024

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 simogasp added the build:windows anything related to the windows build label Oct 29, 2024
@Abelliu1
Copy link
Author

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

@simogasp
Copy link
Member

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.

@Abelliu1
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build:windows anything related to the windows build
Projects
None yet
Development

No branches or pull requests

2 participants