[Solved] c++: internal compiler error: Killed (program cc1plus)

@[TOC] (solution: C + +: internal compiler error: killed (program cc1plus))

1. Problems

Blogger installs sophus Library in VMware virtual machine, and an error occurs when executing make command, as shown in the following figure

2. Analyze problems

Multi party search to determine that the memory allocated to the Ubuntu system in VMware is too small. (the corresponding Ubuntu system installed on the physical machine is that the swap partition is too small)

3. Problem-solving

Shut down the virtual machine -> Increase virtual machine memory to 8g -> Re execute the make command -> Problem solving

Read More: