error: ‘memcpy’ was not declared in this scope

Recently, I have to do something about real-time transmission. After doing it, I found it hard to find and install

He thought he could install it smoothly. He was very depressed when he installed it. Make always reported me wrong

make

This step is a problem.

sdh_ pocket_ reader.cpp:208: error: ‘memcpy’ was not declared in this scope

I don’t know if there are many people who can’t install it because of this situation, but I will make the same mistake. In fact, the solution is very easy. Just add the header file string. H to the program, that is, include & lt; string.h>

The same way. After the modification, the L is successfully installed in make and make install.

Read More: