I have a fix for this but oddly enough the CWP forums refuse to let me post it on here with a 403 forbidden error. If you want this fixed reply to this forum topic and I will help you get it done. It's not hard, but it just looks like CWP does NOT want you/me/anyone posting code here for fixing issues with their platform. To those out there that are gonna say it....yes I tried using the CODE enclosures.....they don't work.
In general the problem has to do with GCC and G++ being too old (4.5 I believe) and needs to be updated to 7. But that isn't enough, you also have to rip out the old remnants of the failed install the botched up.
I honestly don't understand why this has been an issue for so long as it's not hard to fix. It did take me a whole week to track down though.
If you are having issues with this reply to this forum topic and I will help you with it. CWP is not on a fast track to fix this.