build fails with cmake error

  • Dears,

    Try to build Librelec , but build fails with below error


    Error when bootstrapping CMake:

    Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.

    Please specify one using environment variable CXX.

    The C++ flags are "-march=native -O2 -Wall -pipe -I/LE/ -Wno-format-security".

    They can be changed using the environment variable CXXFLAGS.

    See cmake_bootstrap.log for compilers attempted.

    Sorry i forgot to install g++ compiler, installed then build went successfully after i edit

    to put /usr/bin/g++ on it.


    /LE/ /usr/bin/g++ "[email protected]"