"make: *** [all] Error 2" during build
Hi, i followed instructions, but i got these errors:
[ 32%] Built target tl_generate_common [ 36%] Built target tdnet [ 36%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/utils.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions. make[2]: *** [CMakeFiles/tdcore.dir/td/mtproto/utils.cpp.o] Error 4 make[1]: *** [CMakeFiles/tdcore.dir/all] Error 2 make: *** [all] Error 2
It is likely that you have not enough RAM for compilation. gcc needs 4.5 GB+. You can try clang, which needs less than 2 GB.
Try to purchase additional memory for 16GB and compile with gcc or clang https://github.com/tdlib/td/issues/6 Instructions for some assemblies https://github.com/isopen/docker/tree/master/tdlib If you have new types of instructions, then write to me about this
Yeah. Bacause i used a vps. Tnx