I’m a beginner to Flutter Development. I was trying to build linux application, But I’m getting error that I’m not able to fix. I have tried everything seting the environment. Have installed every package need for flutter dev.

Every time i try build the app i get this error " CMakeLists.txt:3 Could not find compiler set in environment variable CXX:" if any flutter developer here please help :pray:

I realize this is an old post and you may have figured it out, but I stumbled across this looking to solve a similar error. Installing the following packages solved it for me:

sudo dnf install make automake gcc gcc-c++