<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ssj901217的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/ssj901217</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; ssj901217]]></copyright><item><title><![CDATA[2021-10-28 windows 的git用ssh拉代码提示matching host key type found. Their offer: ssh-rsa]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/121018336</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/121018336</guid><author>ssj901217</author><pubDate>Thu, 28 Oct 2021 16:58:35 +0800</pubDate><description><![CDATA[windows 的git用ssh拉代码，提示以下错误：
Unable to negotiate with 10.106.40.136 port 7999: no matching host key type found. Their offer: ssh-rsa
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.]]></description><category></category></item><item><title><![CDATA[2021-08-06 ubuntu16.04下用命令行编译安卓APK]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/119443369</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/119443369</guid><author>ssj901217</author><pubDate>Fri, 06 Aug 2021 17:44:06 +0800</pubDate><description><![CDATA[ubuntu16.04下用命令行编译安卓APK配置环境下载SDK工具下载SDK版本配置环境编译
配置环境
安装jdk8
sudo apt-get install openjdk-8-jdk

没装有可能遇到这个错误
* What went wrong:
Execution failed for task ':filepicker:compileDebugJavaWithJavac'.
&gt; Could not find tools.jar. Please check that /usr/lib/jvm/]]></description><category></category></item><item><title><![CDATA[GCC编译设置错误和警告]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/105770167</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/105770167</guid><author>ssj901217</author><pubDate>Sun, 26 Apr 2020 15:47:58 +0800</pubDate><description><![CDATA[把所有警告当错误
-Werror
把某一警告当错误
-Werror=
如：-Werror=return-type
忽略某些警告
-Wno
如：-Wno-unused-result
显示所有警告
-Wall
不生成任何警告信息
-w
打印一些额外的警告信息。
-Wextra
/////////一些补充
-Wshadow
当一个局部变量遮盖住了另一个局部变量，或者全局变量时，给出警告。很有用的选项，建...]]></description><category></category></item><item><title><![CDATA[在windows上，用cmake 交叉编译arm程序]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/103985306</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/103985306</guid><author>ssj901217</author><pubDate>Wed, 15 Jan 2020 11:00:58 +0800</pubDate><description><![CDATA[在windows上，用cmake 交叉编译arm程序。生成器用nijia.
CMakeLists.txt
cmake_minimum_required(VERSION 3.6)

project(testApp)

file(WRITE main.cpp "int main(void) { return 0; }")

set(testApp "testApp")

list(
    APPEN...]]></description><category></category></item><item><title><![CDATA[shell批量替换文本中的多种字符串]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/103971828</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/103971828</guid><author>ssj901217</author><pubDate>Tue, 14 Jan 2020 13:51:02 +0800</pubDate><description><![CDATA[需求，需要把文件中，aa替换成AA，bb替换成BB， cc替换成CC, 脚本如下：
SRC_STR=(aa bb cc)
DST_STR=(AA BB CC)
CMAKE_CONFIG=${DST_STR[1]}Config.cmake.in




do_sed(){
	if [ -e $1 ];then
		count=${#SRC_STR[*]}  #数组$SRC_STR的个数
		whil...]]></description><category></category></item><item><title><![CDATA[安卓date设置时间]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/103194656</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/103194656</guid><author>ssj901217</author><pubDate>Fri, 22 Nov 2019 09:18:48 +0800</pubDate><description><![CDATA[可试下以下命令，在锐芯微3128上试过可用。
date  -s20191122.091340
Fri Nov 22 09:13:40 CST 2019


]]></description><category></category></item><item><title><![CDATA[android双网卡，指定发包网卡。]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/97915297</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/97915297</guid><author>ssj901217</author><pubDate>Wed, 31 Jul 2019 14:44:58 +0800</pubDate><description><![CDATA[android 5.1，双网卡，一个为有线，名为eth0，一个为wifi ,名为wlan0。
SO_BINDTODEVICE绑定发出包的网卡为eth0
测试包的资源
https://download.youkuaiyun.com/download/ssj901217/11457266
1、wifi不开，只接有线，路由表中，只有绑定的网卡。
发送的目标为同网段，直接使用ARP查询目标IP对应的MAC地址。然后发...]]></description><category></category></item><item><title><![CDATA[ubnuntu 18.04提示无libmpfr.so.4]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/88098304</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/88098304</guid><author>ssj901217</author><pubDate>Mon, 04 Mar 2019 08:52:53 +0800</pubDate><description><![CDATA[error while loading shared libraries:libmpfr.so.4: cannot open shared object file: No such file or directory.
解决：
sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so...]]></description><category></category></item><item><title><![CDATA[QT stylesheet 样式]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/86004910</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/86004910</guid><author>ssj901217</author><pubDate>Mon, 18 Feb 2019 11:40:02 +0800</pubDate><description><![CDATA[参考
http://blog.youkuaiyun.com/what951006/article/details/51689142
组合框样式
QComboBox {
    font:30px; /*字体大小*/
	color: #FFFFFF; /*字体颜色*/
	padding-left: 1px; /* 设置这个，QComboBox::drop-down的图标才正常。padding是指自身边框到自身内...]]></description><category></category></item><item><title><![CDATA[windows根据端口号查占用的进程名]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/83345707</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/83345707</guid><author>ssj901217</author><pubDate>Wed, 24 Oct 2018 16:08:21 +0800</pubDate><description><![CDATA[例：查看5353端口被哪个进程占了
D:\&amp;amp;gt;netstat -ano | findstr &amp;quot;5353&amp;quot;
  UDP    172.18.0.105:5353      *:*                                    2224
  UDP    192.168.53.1:5353      *:*                                  ...]]></description><category></category></item><item><title><![CDATA[excel在单元格中引用其他单元格里的内容]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/81333668</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/81333668</guid><author>ssj901217</author><pubDate>Wed, 01 Aug 2018 16:46:30 +0800</pubDate><description><![CDATA[=CONCATENATE(“引入A1的内容为：”,A6)]]></description><category></category></item><item><title><![CDATA[cmake指定交叉编译]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80987061</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80987061</guid><author>ssj901217</author><pubDate>Tue, 10 Jul 2018 15:42:44 +0800</pubDate><description><![CDATA[新建文件arm.cmake,内容如下

#指定嵌入式系统的编译输出目录
set(SYSROOT_PATH &amp;amp;amp;quot;/home/suka/rv1108_cvr/out/system&amp;amp;amp;quot;)

#指定交叉编译器路径
set(TOOLSCHAIN_PATH &amp;amp;amp;quot;/home/suka/toolschain/&amp;amp;amp;quot;)
set(TOOLCHAIN_HOST &amp;amp;amp;qu]]></description><category></category></item><item><title><![CDATA[centos 7 安装freeswitch]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/76906545</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/76906545</guid><author>ssj901217</author><pubDate>Thu, 28 Jun 2018 14:17:56 +0800</pubDate><description><![CDATA[安装wget
yum -y install wget
更换阿里源，下载速度会快点
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7...]]></description><category></category></item><item><title><![CDATA[centos7运行opensips出错]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/77097670</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/77097670</guid><author>ssj901217</author><pubDate>Thu, 28 Jun 2018 14:17:02 +0800</pubDate><description><![CDATA[ 



 


1、mysql 连接不上

 

ERROR:db_mysql:db_mysql_connect: driver error(2013): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 4
ERROR:db_mysql:db_mysql_ne...]]></description><category></category></item><item><title><![CDATA[单双通道互转]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80422617</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80422617</guid><author>ssj901217</author><pubDate>Thu, 28 Jun 2018 14:15:25 +0800</pubDate><description><![CDATA[
int stereo2mono(unsigned char *buf_stereo, int stereo_size, int bit)
{
    int i = 0;
    int j = 0;
    switch (bit&amp;gt;&amp;gt;3){
    case 1:
        for (; j &amp;lt; stereo_size; j += 2) {
			buf_stereo[...]]></description><category></category></item><item><title><![CDATA[linphone 音视频开启组播]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80842430</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80842430</guid><author>ssj901217</author><pubDate>Thu, 28 Jun 2018 14:14:25 +0800</pubDate><description><![CDATA[如果有开ICE， ICE功能会优先于组播
如果[nat_policy_default_values]或[nat_policy_X]中的
protocols=stun,ice
有ice，就是有开ICE功能
修改[proxy_default_values]，[proxy_X]删除
nat_policy_ref=的值
[rtp]中增加
audio_multicast_enabled=1

video_m...]]></description><category></category></item><item><title><![CDATA[shell 把包安装内容拷贝到指定路径]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80701054</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80701054</guid><author>ssj901217</author><pubDate>Fri, 15 Jun 2018 09:44:37 +0800</pubDate><description><![CDATA[
#!/bin/sh
AVAHI_FILE_LIST=`dpkg -L avahi-daemon`
DST_DIR=/home/pcshare/erravahi


for full_path in $AVAHI_FILE_LIST
do
	if [ ! -d $full_path ]; then
		#file=${full_path##*/} ##文件
		path=${full_path%/...]]></description><category></category></item><item><title><![CDATA[ubuntu 查看.h属于哪个包]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80688932</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80688932</guid><author>ssj901217</author><pubDate>Thu, 14 Jun 2018 10:33:47 +0800</pubDate><description><![CDATA[如果本地有对应文件 ，如查看nss.h,


:~/rv3128/tool/xbmc/tools/android/depends/nssmdns$ dpkg-query -S /usr/include/nss.h     
libc6-dev:amd64: /usr/include/nss.h

也可以查看命令等

 

如果本地没有对应文件，通过apt-file查询。先安装apt-file


...]]></description><category></category></item><item><title><![CDATA[android通过命令方式启动linphone]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80673806</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80673806</guid><author>ssj901217</author><pubDate>Wed, 13 Jun 2018 08:55:07 +0800</pubDate><description><![CDATA[am start -n org.linphone/org.linphone.LinphoneLauncherActivity

org.linphone为包名

LinphoneLauncherActivity为activity

 

您的支持，是我持续创作的动力！！！！

]]></description><category></category></item><item><title><![CDATA[ubuntu cmake 报找不到CMAKE_CXX_COMPILER 的错误]]></title><link>https://blog.youkuaiyun.com/ssj901217/article/details/80046204</link><guid>https://blog.youkuaiyun.com/ssj901217/article/details/80046204</guid><author>ssj901217</author><pubDate>Mon, 23 Apr 2018 09:43:30 +0800</pubDate><description><![CDATA[错误如下


CMake Error in CMakeLists.txt:

  No CMAKE_CXX_COMPILER could be found.


  Tell CMake where to find the compiler by setting either the environment
  variable &quot;CXX&quot; or the CMake cache entry CMA...]]></description><category></category></item></channel></rss>