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] multiple definition of visionary::VisionaryControl::kSessionTimeout #1

Open
arrfou99 opened this issue Aug 22, 2024 · 0 comments

Comments

@arrfou99
Copy link

I get a multiple definition error that I never got before which is not clear to me why!

After checking it looks like there are two kSessionTimeout defined where we have this constant defined two times:

constexpr std::chrono::seconds VisionaryControl::kSessionTimeout;

static constexpr std::chrono::seconds kSessionTimeout = std::chrono::seconds(5);

in order to avoid this error I had to remove the line VisionaryControl.cpp and use this in the VisionaryControl.h

 static constexpr std::chrono::seconds kSessionTimeout = std::chrono::seconds(5);
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