CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY protobuf_BUILD_LIBPROTOC g++: internal compiler error: Terminated (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_field_base.cc.o] Error 4 make[2]: *** Waiting for unfinished jobs.... g++: internal compiler error: Terminated (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum.cc.o] Error 4 g++: internal compiler error: Terminated (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/csharp/csharp_enum_field.cc.o] Error 4 make[1]: *** [source_subfolder/cmake/CMakeFiles/libprotoc.dir/all] Error 2 make: *** [all] Error 2 ERROR: Exiting with code: 5