Make [1]: *** [rtppacket. Lo] Error 1: rtppacket. cpp: 51: Error: 'memcpy' was not declared in this scope

Source: Internet
Author: User

Recently I want to do something about real-time transmission, so I want to get a jrtplib and lthread.
I discovered this was hard to find and install.
Resources are available on csdn (only resource points are used). However, I do not recommend that you use these resources. After all, not all users have csdn accounts. Even if you have an account, you may not have resource points, I will give you an address. The above resources are free of charge, and they are very good (in this case, it is much better than csdn <VPC, let alone >_<>)
Http://research.edm.uhasselt.be /~ Jori/page/index. php? N = cs. jthread
This is the website of jrtplib author. Although it is an English website, it is easy to go down to jrtplib and lthread, and there is a menu on the left that can be found without being blind.
I had to find the resources. I thought it would be nice to install the resources. It was very depressing to install the resources. Make told me the following error:
... Jrtplib/. Configure
This step is okay.
... Jrtplib/make
This step causes problems.
Make [1]: *** [rtppacket. Lo] Error 1: rtppacket. cpp: 51: Error: 'memcpy' was not declared in this scope
I don't know if many people will be unable to install jrtplib due to this situation, but the resources on csdn and the website I just mentioned will all have the same error. In fact, the solution is very easy. Just add the header file string. h to rtppack. cpp, that is, # include <string. h>.
In addition, rtcpcompoundpacketbuilder. cpp can also be handled in the same way. After modification, lrtplib is successfully installed in make install. As for lthread, it is not so troublesome and can be installed smoothly.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.