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

Runtime error: boost::bad_any_cast #204

Open
josesec8006 opened this issue Nov 2, 2023 · 1 comment
Open

Runtime error: boost::bad_any_cast #204

josesec8006 opened this issue Nov 2, 2023 · 1 comment

Comments

@josesec8006
Copy link

What is the minimum version of Boost that I must have installed? When crooscompiling for ARM with version 1.68 I get the following runtime error:
Exit: boost::bad_any_cast: failed conversion using boost::any_cast

On my PC I have version 1.74 of Boost and everything works correctly, but when crooscompiling with the version mentioned above it does not work.
The minimum requirements indicate that the version must be equal to or greater than 1.58. However, the precompiled files for cohda included on the vanetza website use versions 1.65.1 or 1.71.0 depending on the file you download.

Thanks in advance

@riebl
Copy link
Owner

riebl commented Nov 7, 2023

You can use the most recent version available on your target system. Vanetza should work with any Boost version beginning with 1.58 but there is absolutely no need to stick with an old Boost release.
I suggest trying a more recent Boost version on ARM, possibly the bug has been fixed meanwhile (if it's not due to Vanetza).

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

2 participants