Runtime error: boost::bad_any_cast
josesec8006 opened this issue · 1 comments
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
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).