Open muthiyanbhushan opened 7 years ago
You must use a newer version of GCC. At least GCC 6 or clang newer versions.
These are the commands to update yout gcc version : sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt update sudo apt install gcc-6 sudo apt install g++-6
And to change your default gcc : sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
Hello,
I am new to c++14 and I am trying to install vpp by executing the command
"./install.sh vpp"
But it gives me following error.
tests/CMakeFiles/fill.dir/build.make:62: recipe for target 'tests/CMakeFiles/fill.dir/fill.cc.o' failed make[2]: [tests/CMakeFiles/fill.dir/fill.cc.o] Error 1 CMakeFiles/Makefile2:271: recipe for target 'tests/CMakeFiles/fill.dir/all' failed make[1]: [tests/CMakeFiles/fill.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Cannot install /home/bhushan/vpp/vpp_build.
I am using ubuntu 16.04 on Virtual box.
"gcc --version" gives me below output.
--gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Please, let me know about it.
Thank you.