Tag Archives: Linux application development

Win10 system [createfile() error: 5] problem solving

When you press the shitf key on the keyboard, and then click the right mouse button to open the PowerShell window, the following error pops up:

createfile() error: 5 is a permission problem in the win10 system. To solve this problem, you need to close the relevant permissions in the registry. The specific operations are as follows:
(1) press the win + R shortcut key on the keyboard, open it and enter the command: regedit, See the following figure for details

(2) Then click OK to open the registry: regedit and find the following option HKEY_ LOCAL_ Machine \ software \ Microsoft \ windows \ CurrentVersion \ policies \ system, modify the key value under the path: enablelua, and change 1 to 0 to solve the problem

g++: internal compiler error: Killed (program cc1plus)

make compile time, prompt g++: internal compiler error: directed at program cc1plus , with the following detailed error message:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
.......
Error 4

The is shown in figure 1:

figure 1 compiler error message


Google, the unified answer is because memory is not enough , free looked at the system memory usage, it was really occupied. Since the device is the company’s uniform compilation platform (used by several colleagues), this is not surprising. As shown in figure 2:

figure 2 free – h details


can be solved by the following solution:
(1) sudo dd if=/dev/zero of=/swapfile bs=64M count=16 (the size of count is the size of the increased swap space, 64M is the block size, So the space size is bs*count=1024MB)
(2)sudo mkswap /swapfile (format the space just now as swap format) (3)sudo swapon /swapfile (use the swap space just created)







The