Issue with Eclipse build for RRF2.05.1
-
I am attempting to build RRF2.05.1. I downloaded from the duet3 github, imported to eclipse (version 2018-09) and had some errors, worked through most of them but am stuck on one in particular. The error is line 353 of RRFLibraries/src/RTOSIface/RTOSIface.h which is the following:
static_assert(std::atomic_uint8_t::is_always_lock_free);
error is:
'is_always_lock_free' is not a member of 'std::atomic_uint8_t {aka std::atomic<unsigned char>}'I looked up the error and the function exists for c++17 and newer, I tried adding -std=c++17, -std=c++11, and -stdc++20 to the Cross GCC Compiler/Miscellaneous/Other flags and to Cross G++ Compiler/Miscellaneous/Other flags found in Properties/C/C++ Build/Settings/Tool Settings. I also tried freshening and rebuilding the eclipse index, and restarting. There are other errors present, but they are all make errors or recipe for target failed, and I am assuming they are because of the above described error. Thanks in advance for help.
-
@RL_berk I uninstalled and reinstalled. Worked fine after that.
-
-