CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY 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/libprotobuf.dir/__/src/google/protobuf/any.pb.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. Terminated make[2]: *** [source_subfolder/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format_lite.cc.o] Error 143 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/libprotobuf.dir/__/src/google/protobuf/any.cc.o] Error 4 make[1]: *** [source_subfolder/cmake/CMakeFiles/libprotobuf.dir/all] Error 2 make: *** [all] Error 2 ERROR: Exiting with code: 5