作者 潘浩彬

合并分支 'dev' 到 'master'

Dev



查看合并请求 !25
正在显示 90 个修改的文件 包含 2018 行增加1201 行删除

要显示太多修改。

为保证性能只显示 90 of 90+ 个文件。

... ... @@ -7,27 +7,73 @@ linux_kernel
project_build/AUTEL_道通PSDK
project_build/GDU_普宙PSDK
project_build/ZY_珠海紫燕PSDK
project_build/Only_Serial/*
!project_build/Only_Serial/application
!project_build/Only_Serial/CMakeLists.txt
# project_build/Only_Serial/*
# !project_build/Only_Serial/application
# !project_build/Only_Serial/CMakeLists.txt
project_build/DJI_大疆PSDK/*
!project_build/DJI_大疆PSDK/samples
project_build/DJI_大疆PSDK/samples/sample_c++
# project_build/DJI_大疆PSDK/*
# !project_build/DJI_大疆PSDK/samples
# project_build/DJI_大疆PSDK/samples/sample_c++
project_build/DJI_大疆PSDK/samples/sample_c/platform/*
!project_build/DJI_大疆PSDK/samples/sample_c/platform/linux
# project_build/DJI_大疆PSDK/samples/sample_c/platform/*
# !project_build/DJI_大疆PSDK/samples/sample_c/platform/linux
project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/*
!project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/application
!project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/hal
!project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/CMakeLists.txt
# project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/*
# !project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/application
# !project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/hal
# !project_build/DJI_大疆PSDK/samples/sample_c/platform/linux/all/CMakeLists.txt
project_build/Payload-SDK-release-v3.11.0/*
project_build/Attention_提示程序
\ No newline at end of file
# project_build/Attention_提示程序
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
*.so*
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# 执行程序
*.exe
*.out
*.app
build
# 编译文件
*.bin
*.dir
Upgrade_Package
# 存档文件
*.png
*.jpg
*.mp4
*.h264
*.pdf
\ No newline at end of file
... ...
... ... @@ -136,8 +136,14 @@
"dji_platform.h": "c",
"util_misc.h": "c",
"jzsdk_smt_code.h": "c",
"volume.h": "c"
"volume.h": "c",
"jzsdk_data_transmisson.h": "c",
"jzsdk_monitor.h": "c",
"*.bak": "c",
"ziyan_sdk_config.h": "c",
"test_payload_cam_emu_base.h": "c"
},
"Codegeex.GenerationPreference": "automatic",
"C_Cpp.dimInactiveRegions": false
"C_Cpp.dimInactiveRegions": false,
"Codegeex.RepoIndex": true
}
\ No newline at end of file
... ...
# 编译链的配置
#1、编译链与设备类型的选择
set(DEVICE_NAME JZ_H150T)
set(DEVICE_NAME JZ_U3D)
#上一行为禁止修改行
message("**************************JZSDK构建编译开始***************************\n")
... ... @@ -30,6 +30,8 @@ elseif("${DEVICE_NAME}" STREQUAL "TF_A1")
set(MAKE_COMPILER ARM_CORTEXA9_LINUX)
elseif("${DEVICE_NAME}" STREQUAL "JZ_C1")
set(MAKE_COMPILER ARM_X86_64_ARRCH64)
elseif("${DEVICE_NAME}" STREQUAL "JZ_ST")
set(MAKE_COMPILER ARM_X86_64_ARRCH64)
endif()
if(${MAKE_COMPILER} STREQUAL "ARM_CORTEXA9_LINUX")
... ...
... ... @@ -11,6 +11,7 @@ set(LIB_RK_MMP VERSION_SWITCH_OFF)
set(LIB_RK_RGB VERSION_SWITCH_OFF)
set(LIB_USB VERSION_SWITCH_OFF)
set(LIB_KT_IRC VERSION_SWITCH_OFF)
set(LIB_SAT_IRC VERSION_SWITCH_OFF)
add_definitions(-D COMPILE_MODE_MODULE) #设置代码为编译模式
... ... @@ -95,11 +96,18 @@ if(${MEDIA_PROC_MODULE} STREQUAL "VERSION_SWITCH_ON")
message("加载USB模块")
set(LIB_USB VERSION_SWITCH_ON)
if(${IRC_MODULE} STREQUAL "VERSION_SWITCH_ON")
if(${LIB_KT_MODULE} STREQUAL "VERSION_SWITCH_ON")
message("加载昆腾红外相机模块")
set(LIB_KT_IRC VERSION_SWITCH_ON)
endif()
if(${LIB_SATIRC_MODULE} STREQUAL "VERSION_SWITCH_ON")
message("加载飒特红外相机模块")
set(LIB_SAT_IRC VERSION_SWITCH_ON)
endif()
endif()
endif()
... ...
... ... @@ -52,6 +52,12 @@ set(WIRINGPI_MODULE VERSION_SWITCH_OFF)
# OpenCV库
set(IMAGEPROCESSING_MODULE VERSION_SWITCH_OFF)
# 鲲腾库
set(LIB_KT_MODULE VERSION_SWITCH_OFF)
# 飒特库
set(LIB_SATIRC_MODULE VERSION_SWITCH_OFF)
########################## 通用库加载 ###########################################
# 添加信息模块
... ... @@ -358,6 +364,29 @@ elseif("${DEVICE_NAME}" STREQUAL "JZ_C1")
message("C1基础配置完毕\n")
elseif("${DEVICE_NAME}" STREQUAL "JZ_ST")
# 添加Gimbal 云台处理模块
set(GIMBAL_MODULE VERSION_SWITCH_ON)
# 添加IRCUT 引脚处理模块
set(IRCUT_MODULE VERSION_SWITCH_ON)
# 添加MediaProc 媒体管理模块
set(MEDIA_PROC_MODULE VERSION_SWITCH_ON)
# 添加红外相机模块
set(IRC_MODULE VERSION_SWITCH_ON)
# 添加飒特模块
set(LIB_SATIRC_MODULE VERSION_SWITCH_ON)
#设备独立配置源文件
file(GLOB_RECURSE DEVICE_CONFOG_SRC ${ROOT_DIRS}JZsdk_Config/DeviceSample/JZ_ST/*.c)
list(APPEND ALL_SRC_FILES ${DEVICE_CONFOG_SRC})
message("ST基础配置完毕\n")
endif()
message("***********************模组模块配置完毕*********************************\n")
\ No newline at end of file
... ...
... ... @@ -189,4 +189,18 @@ if(${LIB_KT_IRC} STREQUAL "VERSION_SWITCH_ON")
endif()
#飒特 IRC库
if(${LIB_SAT_IRC} STREQUAL "VERSION_SWITCH_ON")
add_definitions(-DMACRO_SATIRC_MODULE)
message("STIRC库已加载\n")
include_directories(${ROOT_DIRS}/ThirdParty/SatIrcLib/include)
target_link_libraries(
${PROJECT_NAME}
${ROOT_DIRS}/ThirdParty/SatIrcLib/aarch64-none-linux-gnu/lib/libsatir.so
)
endif()
message("**************************动态库加载完毕***************************\n")
\ No newline at end of file
... ...
... ... @@ -46,7 +46,7 @@
#define TF_A1 0x1010
#define JZ_C1 0x1011
#define JZ_ST 0x1012
/***********************************
*
... ...
... ... @@ -24,6 +24,15 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/
//时间结构体
typedef struct {
U16_t year;
U8_t month;
U8_t day;
U8_t hour;
U8_t minute;
U8_t second;
}t_JZdateTime;
//GPS时间
... ...
... ... @@ -38,6 +38,11 @@ typedef uint16_t U16_t;
typedef uint32_t U32_t;
typedef uint64_t U64_t;
#define JZ_U8 U8_t
#define JZ_U16 U16_t
#define JZ_U32 U32_t
#define JZ_U64 U64_t
// typedef unsigned long T_JZsdkReturnCode;
// typedef unsigned char U8_t;
// typedef unsigned short U16_t;
... ... @@ -47,6 +52,9 @@ typedef uint64_t U64_t;
typedef double F64_t;
typedef float F32_t;
#define JZ_F64 F64_t
#define JZ_F32 F32_t
#define JZSDK_SINGLE_THREAD 0 //jz单线程
#define JZSDK_MULTI_THREAD 1 //jz多线程
... ...
/* 头文件 ------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "JZsdk_Logger.h"
#include <time.h>
#include "JZsdk_logger.h"
#include "JZsdkLib.h"
#include <pthread.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <sys/types.h>
#define JZSDK_LOG_NAME "JZLOG"
#define JZSDK_LOG_INDEX_FILE_NAME "/root/sdcard/JZLOG/thelast"
#define JZSDK_LOG_PATH "/root/sdcard/JZLOG/"
#define JZSDK_LOG_MAX_COUNT 20
static char logFilePath[128];
#include <stdarg.h>
#define LOG_GRADE JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO
static T_JZsdkLoggerConsole *UserLogPrintConsole = NULL; //用户日志输出控制台
static T_JZsdkLoggerConsole *UserLogRecordConsole = NULL; //用户日志输出控制台
/* 全局变量 ------------------------------------------------------------------*/
static struct timeval g_start_time;
static FILE *logFile = NULL;
static FILE *logFileCnt = NULL;
static int Logger_init_flag = JZ_FLAGCODE_OFF;
/* 函数声明 ------------------------------------------------------------------*/
long long get_total_ram() {
FILE *file;
char line[128];
long long total_ram = 0;
file = fopen("/proc/meminfo", "r");
if (!file) {
perror("Error opening /proc/meminfo");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "MemTotal:", 9) == 0) {
sscanf(line, "MemTotal: %lld kB", &total_ram);
break;
}
}
fclose(file);
return total_ram;
}
long long get_current_rss(pid_t pid) {
FILE *file;
char line[128];
long long vmrss = 0;
char path[64];
snprintf(path, sizeof(path), "/proc/%d/status", pid);
file = fopen(path, "r");
if (!file) {
perror("Error opening /proc/[pid]/status");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "VmRSS:", 6) == 0) {
sscanf(line, "VmRSS: %lld kB", &vmrss);
break;
}
}
fclose(file);
return vmrss;
}
static void *MonitorTask(void *arg)
{
//获取程序的pid号
pid_t pid = getpid(); // 获取当前进程的 PID
long long total_ram; //最大ram内存
long long current_rss; //RSS内存
double memory_percentage; //内存百分比
// 获取系统总 RAM
total_ram = get_total_ram();
while (1)
{
printf("当前进程pid号%d\n",pid);
// 获取当前进程的内存使用量
current_rss = get_current_rss(pid);
// 计算内存百分比
if (total_ram > 0)
{
memory_percentage = (double)current_rss / total_ram * 100;
} else {
memory_percentage = 0;
}
// 打印结果
printf("Program current memory usage: %lld KB\n", current_rss);
JZSDK_LOG_INFO("Monitor:(%.2f%% of total RAM)", memory_percentage);
delayS(10);
}
}
static int Log_Monitor()
{
pthread_t work_mode_task;
pthread_attr_t task_attribute; //线程属性
pthread_attr_init(&task_attribute); //初始化线程属性
pthread_attr_setdetachstate(&task_attribute, PTHREAD_CREATE_DETACHED); //设置线程属性
int timer = pthread_create(&work_mode_task,&task_attribute,MonitorTask,NULL); //线程
if(timer != 0)
{
printf("创建计时线程失败!\n");
}
}
T_JZsdkReturnCode createJZLOGFolder()
{
const char *path = "/root/sdcard/JZLOG";
// 使用系统命令检测路径是否存在
if(JZsdk_check_directory_exists_posix(path) == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
else
{
JZsdk_Osal_Mkdir(path);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
}
int ReadLogNumFromFile()
{
const char *path = JZSDK_LOG_INDEX_FILE_NAME;
int logNum = 0;
FILE *file = fopen(path, "r");
if (file == NULL)
{
// 如果文件不存在,则创建并设置LogNum为0
file = fopen(path, "w");
fprintf(file, "%d", logNum);
}
else
{
// 从文件中读取LogNum,并自增1
fscanf(file, "%d", &logNum);
logNum++;
fclose(file);
// 将新的LogNum写回文件中
file = fopen(path, "w");
fprintf(file, "%d", logNum);
}
fclose(file);
return logNum;
}
T_JZsdkReturnCode JZsdk_LoggerInit()
T_JZsdkReturnCode JZsdk_Logger_AddPrintConsole(T_JZsdkLoggerConsole *console)
{
int ret;
unsigned int logFileIndex = 0;
unsigned int currentLogFileIndex;
JZsdk_Osal_Mkdir(JZSDK_LOG_PATH);
char systemCmd[64]; // 用于存储系统命令
char folderName[JZSDK_FILE_NAME_SIZE_MAX];
time_t currentTime = time(NULL);
struct tm *localTime = localtime(&currentTime);
if (localTime == NULL) {
printf("Get local time error.\r\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
if (access(JZSDK_LOG_NAME, F_OK) != 0) {
sprintf(folderName, "mkdir %s", JZSDK_LOG_NAME);
ret = system(folderName);
if (ret != 0) {
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "rb+");
if (logFileCnt == NULL)
if (console == NULL)
{
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "wb+");
if (logFileCnt == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
else
{
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0)
{
printf("Seek log count file error, ret: %d\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fread((uint16_t *) &logFileIndex, 1, sizeof(uint16_t), logFileCnt);
if (ret != sizeof(uint16_t))
{
printf("Read log file index error.\r\n");
}
printf("JZsdk_Logger_AddPrintConsole: Invalid parameter\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
currentLogFileIndex = logFileIndex;
logFileIndex++;
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0)
{
printf("Seek log file error, ret: %d\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fwrite((unsigned int *) &logFileIndex, 1, sizeof(unsigned int), logFileCnt);
if (ret != sizeof(unsigned int))
{
printf("Write log file index error.\r\n");
fclose(logFileCnt);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
fclose(logFileCnt);
//filePath : /root/sdcard/Logs/_%04d_%04d%02d%02d_%02d-%02d-%02d.log
sprintf(logFilePath, "%s%04d_%04d%02d%02d_%02d-%02d-%02d.log", JZSDK_LOG_PATH, currentLogFileIndex,
localTime->tm_year + 1900, localTime->tm_mon + 1, localTime->tm_mday,
localTime->tm_hour, localTime->tm_min, localTime->tm_sec);
logFile = fopen(logFilePath, "wb+");
if (logFile == NULL)
{
printf("Open filepath time error.");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
if (logFileIndex >= JZSDK_LOG_MAX_COUNT)
{
sprintf(systemCmd, "rm -rf %s_%04d*.log", JZSDK_LOG_PATH, currentLogFileIndex - JZSDK_LOG_MAX_COUNT);
ret = system(systemCmd);
if (ret != 0) {
printf("Remove file error, ret:%d.\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
sprintf(systemCmd, "ln -sfrv %s " JZSDK_LOG_NAME "/latest.log", logFilePath);
system(systemCmd);
//打开初始化完成的flag
Logger_init_flag = JZ_FLAGCODE_ON;
//设立监控
Log_Monitor();
JZSDK_LOG_INFO("%s", logFilePath);
JZSDK_LOG_INFO("log初始化完成");
UserLogPrintConsole = (T_JZsdkLoggerConsole *)malloc(sizeof(T_JZsdkLoggerConsole));
memcpy(UserLogPrintConsole, console, sizeof(T_JZsdkLoggerConsole));
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZsdk_LoggerDeInit()
{
if (logFile != NULL)
{
fclose(logFile);
}
}
T_JZsdkReturnCode writeToLogFile(const char *data)
T_JZsdkReturnCode JZsdk_Logger_AddRecordConsole(T_JZsdkLoggerConsole *console)
{
if (logFile == NULL)
if (console == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
printf("JZsdk_Logger_AddRecordConsole: Invalid parameter\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
fprintf(logFile, "%s", data); // 写入新的数据
fflush(logFile);
}
T_JZsdkReturnCode HexToLogFile(const char *data)
{
if (logFile == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
fprintf(logFile, "%x ", data[0]); // 写入新的数据
fflush(logFile);
UserLogRecordConsole = (T_JZsdkLoggerConsole *)malloc(sizeof(T_JZsdkLoggerConsole));
memcpy(UserLogRecordConsole, console, sizeof(T_JZsdkLoggerConsole));
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
{
// 将日志级别转换为相应的字符串
const char *JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "";
... ... @@ -333,79 +55,73 @@ void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
default:
break;
}
// 使用可变参数处理传入的格式化字符串和可变参数
va_list args;
va_start(args, fmt);
//格式化日志消息
char logMessage[512];
JZ_U8 logMessage[256];
memset(logMessage, 0, sizeof(logMessage));
vsnprintf(logMessage, sizeof(logMessage), fmt, args);
va_end(args);
struct timeval current_time;
gettimeofday(&current_time, 0);
//获取当前的时间
JZ_U64 current_time = 0;
T_JZsdkOsalHandler *osalHandle = JZsdk_Platform_GetOsalHandler();
if (osalHandle != NULL)
{
osalHandle->GetTimeUs(&current_time);
}
long seconds = current_time.tv_sec - g_start_time.tv_sec;
long microseconds = current_time.tv_usec - g_start_time.tv_usec;
double elapsed = seconds + microseconds*1e-6;
JZ_F64 elapsed = current_time / 1000000.0;
// 执行具体的日志输出操作
char finalLogMessage[612];
JZ_U8 finalLogMessage[300];
memset(finalLogMessage, 0, sizeof(finalLogMessage));
snprintf(finalLogMessage, 612, "[%s][%.4f]%s\n", JZSDK_LOGGER_CONSOLE_LOG_LEVEL, elapsed, logMessage);
printf("%s",finalLogMessage);
snprintf(finalLogMessage, 300, "[%s][%.4f]%s\n", JZSDK_LOGGER_CONSOLE_LOG_LEVEL, elapsed, logMessage);
if (UserLogPrintConsole != NULL)
{
if (level <= UserLogPrintConsole->consoleLevel && UserLogPrintConsole->func != NULL)
{
UserLogPrintConsole->func(finalLogMessage, strlen(finalLogMessage));
}
}
else
{
printf("%s",finalLogMessage);
}
//写入日志
if (Logger_init_flag == JZ_FLAGCODE_ON && level <= LOG_GRADE)
if (UserLogRecordConsole != NULL)
{
writeToLogFile(finalLogMessage);
}
if(level <= UserLogRecordConsole->consoleLevel && UserLogRecordConsole->func != NULL)
{
UserLogRecordConsole->func(finalLogMessage, strlen(finalLogMessage));
}
}
return;
}
void JZsdk_User_OutputHex(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
{
// 将日志级别转换为相应的字符串
const char *JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "";
switch (level) {
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_DEBUG:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "DEBUG";
break;
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "INFO";
break;
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_WARN:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "WARNING";
break;
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_ERROR:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "ERROR";
break;
default:
break;
}
// 使用可变参数处理传入的格式化字符串和可变参数
va_list args;
va_start(args, fmt);
//格式化日志消息
char logMessage[10];
memset(logMessage, 0, sizeof(logMessage));
vsnprintf(logMessage, sizeof(logMessage), fmt, args);
va_end(args);
// 执行具体的日志输出操作
char finalLogMessage[512];
memset(finalLogMessage, 0, sizeof(finalLogMessage));
snprintf(finalLogMessage, 612, "%s", logMessage);
printf("%x ",finalLogMessage[0]);
//写入日志
HexToLogFile(finalLogMessage);
}
\ No newline at end of file
... ...
/**
********************************************************************
* @file JZsdk_Logger.h
* 用于给h150s logger显示文件
*
*
*********************************************************************
*/
... ... @@ -17,8 +17,9 @@
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
typedef enum {
... ... @@ -39,13 +40,30 @@ typedef enum {
method is lower than this level, the level interface will not be
printed successfully. */
} E_JZsdkConsoleLogLevel;
/* Exported types ------------------------------------------------------------*/
/**
* @brief The console method that needs to be registered.
* @note Before registering the console method, you need to test the methods that need to be registered to ensure
* that they can be used normally.
*/
typedef T_JZsdkReturnCode (*JZsdk_ConsoleFunc)(const JZ_U8 *data, JZ_U16 dataLen);
/**
* @brief Logger console content.
*/
typedef struct {
JZsdk_ConsoleFunc func;
JZ_U8 consoleLevel;
bool isSupportColor;
} T_JZsdkLoggerConsole;
/* Exported functions --------------------------------------------------------*/
void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...);
T_JZsdkReturnCode JZsdk_LoggerInit();
void JZsdk_User_OutputHex(E_JZsdkConsoleLogLevel level, const char *fmt, ...);
T_JZsdkReturnCode JZsdk_Logger_AddPrintConsole(T_JZsdkLoggerConsole *console);
T_JZsdkReturnCode JZsdk_Logger_AddRecordConsole(T_JZsdkLoggerConsole *console);
T_JZsdkReturnCode JZsdk_LoggerInit();
/* Exported constants --------------------------------------------------------*/
#define JZSDK_LOG_DEBUG(fmt, ...) \
... ... @@ -59,7 +77,6 @@ void JZsdk_User_OutputHex(E_JZsdkConsoleLogLevel level, const char *fmt, ...);
#define JZSDK_LOG_OUTPUTHEX(fmt, ...) \
JZsdk_User_OutputHex(JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO, "" fmt , ##__VA_ARGS__)
#ifdef __cplusplus
}
#endif
... ...
#include "JZsdk_Logger.h"
#include "JZsdkLib.h"
#include <unistd.h>
#include <time.h>
#define JZSDK_LOG_PATH "/root/sdcard/JZLOG/" //sd卡存放路径
#define JZSDK_LOG_INDEX_PATH "/root/JZLOG/" //sd卡存放序号文件路径
#define JZSDK_LOG_INDEX_FILE_NAME "/root/JZLOG/thelast" //sd卡存放序号文件路径
#define JZSDK_LOG_SD_INDEX_FILE_NAME "/root/sdcard/JZLOG/thelast" //sd卡存放序号文件路径
#define JZ_LOG_FOLDER_NAME_MAX_SIZE (32)
#define JZ_LOG_MAX_COUNT (10)
#define JZ_SYSTEM_CMD_STR_MAX_SIZE (64)
#define JZSDK_LOG_MAX_COUNT 20
#define LOG_GRADE JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO //日志等级!
/* 全局变量 ------------------------------------------------------------------*/
static struct timeval g_start_time;
static FILE *logFile = NULL;
static FILE *logFileCnt = NULL;
static int Logger_init_flag = JZ_FLAGCODE_OFF;
/* 函数声明 ------------------------------------------------------------------*/
static T_JZsdkReturnCode createJZLOGFolder()
{
// 使用系统命令检测路径是否存在
if(JZsdk_check_directory_exists_posix(JZSDK_LOG_PATH) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZsdk_Osal_Mkdir(JZSDK_LOG_PATH);
}
if(JZsdk_check_directory_exists_posix(JZSDK_LOG_INDEX_PATH) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZsdk_Osal_Mkdir(JZSDK_LOG_INDEX_PATH);
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static T_JZsdkReturnCode JzUser_PrintConsole(const JZ_U8 *data, JZ_U16 dataLen)
{
dataLen = dataLen;
printf("%s", data);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static T_JZsdkReturnCode JzUser_LocalWrite(const JZ_U8 *data, JZ_U16 dataLen)
{
JZ_U32 realLen;
if (logFile == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
realLen = fwrite(data, 1, dataLen, logFile);
fflush(logFile);
if (realLen == dataLen)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
else
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
static T_JZsdkReturnCode JzUser_LocalWriteFsInit(const JZ_U8 *path)
{
JZ_U8 filePath[JZSDK_FILE_PATH_SIZE_MAX];
JZ_U8 systemCmd[JZ_SYSTEM_CMD_STR_MAX_SIZE];
JZ_U8 folderName[JZ_LOG_FOLDER_NAME_MAX_SIZE];
time_t currentTime = time(NULL);
struct tm *localTime = localtime(&currentTime);
uint16_t logFileIndex = 0;
uint16_t currentLogFileIndex;
uint8_t ret;
if (localTime == NULL)
{
printf("Get local time error.\r\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
//1、检查sd卡的计数文件是否存在, 如果不存在,则移除系统的计数文件
if (JZsdk_check_file_exists(JZSDK_LOG_SD_INDEX_FILE_NAME) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "rm -f %s", JZSDK_LOG_INDEX_FILE_NAME);
ret = system(systemCmd);
}
//2、打开计数文件,获取当前日志文件序号,并更新日志文件序号
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "rb+");
if (logFileCnt == NULL)
{
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "wb+");
if (logFileCnt == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
else
{
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0)
{
printf("Seek log count file error.\r\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fread((uint16_t *) &logFileIndex, 1, sizeof(uint16_t), logFileCnt);
if (ret != sizeof(uint16_t))
{
printf("Read log file index error.\r\n");
}
}
currentLogFileIndex = logFileIndex;
logFileIndex++;
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0) {
printf("Seek log file error, ret: %d\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fwrite((uint16_t *) &logFileIndex, 1, sizeof(uint16_t), logFileCnt);
if (ret != sizeof(uint16_t)) {
printf("Write log file index error.\r\n");
fclose(logFileCnt);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
fclose(logFileCnt);
//移除sd卡的计数文件
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "rm -f %sthelast", JZSDK_LOG_PATH);
ret = system(systemCmd);
if (ret != 0) {
JZSDK_LOG_ERROR("Remove file error, ret:%d.\r\n", ret);
}
//复制日志计数文件到sd卡
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "cp %s %s", JZSDK_LOG_INDEX_FILE_NAME, JZSDK_LOG_PATH);
ret = system(systemCmd);
if (ret != 0) {
JZSDK_LOG_ERROR("Copy file error, ret:%d.\r\n", ret);
}
//开始打开log文件
sprintf(filePath, "%s_%04d_%04d%02d%02d_%02d-%02d-%02d.log", path, currentLogFileIndex,
localTime->tm_year + 1900, localTime->tm_mon + 1, localTime->tm_mday,
localTime->tm_hour, localTime->tm_min, localTime->tm_sec);
logFile = fopen(filePath, "wb+");
if (logFile == NULL) {
JZSDK_LOG_ERROR("Open filepath time error.");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
if (logFileIndex >= JZ_LOG_MAX_COUNT)
{
//把多余的日志删除
sprintf(systemCmd, "rm -rf %s_%04d*.log", path, currentLogFileIndex - JZ_LOG_MAX_COUNT);
ret = system(systemCmd);
if (ret != 0) {
printf("Remove file error, ret:%d.\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZsdk_LoggerInit()
{
T_JZsdkReturnCode ReturnCode;
unsigned int logFileIndex = 0;
unsigned int currentLogFileIndex;
T_JZsdkLoggerConsole printfConsole = {
.func = JzUser_PrintConsole,
.consoleLevel = JZSDK_LOGGER_CONSOLE_LOG_LEVEL_DEBUG,
.isSupportColor = true,
};
T_JZsdkLoggerConsole localRecordConsole = {
.func = JzUser_LocalWrite,
.consoleLevel = JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO,
.isSupportColor = true,
};
//1、检测日志文件夹是否存在,不存在则创建
ReturnCode = createJZLOGFolder();
if(ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("createJZLOGFolder error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ReturnCode = JzUser_LocalWriteFsInit(JZSDK_LOG_PATH);
if(ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("file system init error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ReturnCode = JZsdk_Logger_AddPrintConsole(&printfConsole);
if (ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("JZsdk Logger AddPrintConsole error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ReturnCode = JZsdk_Logger_AddRecordConsole(&localRecordConsole);
if (ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("JZsdk Logger AddRecordConsole error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
//设立监控
JZsdk_Log_Monitor_Init();
JZSDK_LOG_INFO("Log init success.");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZsdk_LoggerDeInit()
{
if (logFile != NULL)
{
fclose(logFile);
logFile = NULL;
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
\ No newline at end of file
... ...
#include "JZsdkLib.h"
#include "./JZsdk_monitor.h"
#include <pthread.h>
static long long get_total_ram()
{
FILE *file;
char line[128];
long long total_ram = 0;
file = fopen("/proc/meminfo", "r");
if (!file) {
perror("Error opening /proc/meminfo");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "MemTotal:", 9) == 0) {
sscanf(line, "MemTotal: %lld kB", &total_ram);
break;
}
}
fclose(file);
return total_ram;
}
static long long get_current_rss(pid_t pid)
{
FILE *file;
char line[128];
long long vmrss = 0;
char path[64];
snprintf(path, sizeof(path), "/proc/%d/status", pid);
file = fopen(path, "r");
if (!file) {
perror("Error opening /proc/[pid]/status");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "VmRSS:", 6) == 0) {
sscanf(line, "VmRSS: %lld kB", &vmrss);
break;
}
}
fclose(file);
return vmrss;
}
static void *MonitorTask(void *arg)
{
//获取程序的pid号
pid_t pid = getpid(); // 获取当前进程的 PID
long long total_ram; //最大ram内存
long long current_rss; //RSS内存
double memory_percentage; //内存百分比
// 获取系统总 RAM
total_ram = get_total_ram();
while (1)
{
printf("当前进程pid号%d\n",pid);
// 获取当前进程的内存使用量
current_rss = get_current_rss(pid);
// 计算内存百分比
if (total_ram > 0)
{
memory_percentage = (double)current_rss / total_ram * 100;
} else {
memory_percentage = 0;
}
// 打印结果
printf("Program current memory usage: %lld KB\n", current_rss);
JZSDK_LOG_INFO("Monitor:(%.2f%% of total RAM)", memory_percentage);
delayS(10);
}
}
T_JZsdkReturnCode JZsdk_Log_Monitor_Init()
{
pthread_t work_mode_task;
pthread_attr_t task_attribute; //线程属性
pthread_attr_init(&task_attribute); //初始化线程属性
pthread_attr_setdetachstate(&task_attribute, PTHREAD_CREATE_DETACHED); //设置线程属性
int timer = pthread_create(&work_mode_task,&task_attribute,MonitorTask,NULL); //线程
if(timer != 0)
{
printf("创建计时线程失败!\n");
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
... ...
/**
********************************************************************
* @file JZsdk_monitor.h
*
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_MONITOR_H
#define JZSDK_MONITOR_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode JZsdk_Log_Monitor_Init();
/* Exported constants --------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif
/************************ (C) COPYRIGHT JZSDK Innovations *******END OF FILE******/
... ...
... ... @@ -316,6 +316,10 @@ static T_JZsdkReturnCode DeviceSample_init(int mode)
JZC1_Init(mode);
#endif
//萨特相机加载
#if DEVICE_VERSION == JZ_ST
JZ_ST_Init(mode);
#endif
}
... ...
... ... @@ -199,7 +199,24 @@ extern "C" {
#define UART_DEV1_BITRATE (115200)
#define UART_DEV2_NUM NULL
#define UART_DEV2_BITRATE (115200)
#define UART_DEV2_BITRATE (0)
#define COMM_4G_UART_NUM NULL
#define COMM_4G_UART_BITRATE (0)
#define GIMBAL_UART_NUM NULL
#define GIMBAL_UART_BITRATE (0)
#define NET_WORK_IPADDR "192.168.5.3"
#define NET_WORK_TARGET_IPADDR "192.168.5.10"
#define NET_WORK_NETMASK "255.255.255.0"
#elif DEVICE_VERSION == JZ_ST
#define UART_DEV1_NUM "/dev/ttyS6"
#define UART_DEV1_BITRATE (115200)
#define UART_DEV2_NUM NULL
#define UART_DEV2_BITRATE (0)
#define COMM_4G_UART_NUM NULL
#define COMM_4G_UART_BITRATE (0)
... ...
... ... @@ -26,6 +26,7 @@
#include "DeviceSample/JZ_U3_series/JZ_U30/JZ_u30.h"
#include "DeviceSample/JZC1/JZC1.h"
#include "DeviceSample/JZ_ST/JZ_ST.h"
#include "TF_A1/TF_a1.h"
... ...
// #include "JZsdkLib.h"
// #include "BaseConfig.h"
// #include <pthread.h>
// #include <math.h>
#include "JZsdkLib.h"
#include "BaseConfig.h"
#include <pthread.h>
#include <math.h>
// #include "IRCUT/ircut.h"
#include "IRCUT/ircut.h"
// #include "MediaProc/IRC_funtion/SatIrcLibProc/Sat_Irc.h"
#include "MediaProc/IRC_funtion/SatIrcLibProc/Sat_Irc.h"
// #ifdef RTK_MPP_STATUS_ON
// #include "MediaProc/MultProc/RTK_mmp/RTK_mmp.h"
// #include "MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.h"
// #include "MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.h"
// #include "MediaProc/Camera/Camera.h"
#ifdef RTK_MPP_STATUS_ON
#include "MediaProc/MultProc/RTK_mmp/RTK_mmp.h"
#include "MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.h"
#include "MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.h"
#include "MediaProc/Camera/Camera.h"
// #ifdef RTK_RGA_STATUS_ON
#endif
// #include "MediaProc/RgaProc/RK_Rga/RK_Rga.h"
#ifdef RTK_RGA_STATUS_ON
// #endif
#include "MediaProc/RgaProc/RK_Rga/RK_Rga.h"
// #include "MediaProc/MediaProc.h"
// #include "UI_control/UI_control.h"
// #include "CommonMod/PowerManger/PowerManger.h"
#endif
// typedef struct ST_RgaInfo
// {
// //源图像
// RK_RgaImage *src_img;
#include "MediaProc/MediaProc.h"
#include "UI_control/UI_control.h"
#include "CommonMod/PowerManger/PowerManger.h"
// //裁剪图像
// RK_RgaImage *corp_img;
typedef struct ST_RgaInfo
{
//源图像
RK_RgaImage *src_img;
// //目标图像
// RK_RgaImage *dst_img;
//裁剪图像
RK_RgaImage *corp_img;
// //放大倍数
// int scale;
//目标图像
RK_RgaImage *dst_img;
// }ST_RgaInfo;
//放大倍数
int scale;
}ST_RgaInfo;
// typedef struct T_JZST_info
// {
// /*************************************************************/
// //红外相机的编码器信息
// T_rtk_mmp_enc_info *IRC_enc_info;
// //红外相机的rga信息
// ST_RgaInfo *IRC_rga_info;
typedef struct T_JZST_info
{
/*************************************************************/
//红外相机的编码器信息
T_rtk_mmp_enc_info *IRC_enc_info;
// /*************************************************************/
// //光学相机的解码器信息
// T_rtk_mmp_dec_info *Opt_dec_info;
//红外相机的rga信息
ST_RgaInfo *IRC_rga_info;
// //光学相机的编码器信息
// T_rtk_mmp_enc_info *Opt_enc_info;
/*************************************************************/
//光学相机的解码器信息
T_rtk_mmp_dec_info *Opt_dec_info;
// //光学相机的相机信息
// JZsdk_CameraInfo *Opt_Camera_info;
//光学相机的编码器信息
T_rtk_mmp_enc_info *Opt_enc_info;
// //光学相机的rga信息
// ST_RgaInfo *Opt_rga_info;
// /*************************************************************/
// //融合相机的编码器信息
// T_rtk_mmp_enc_info *Fuse_enc_info;
//光学相机的相机信息
JZsdk_CameraInfo *Opt_Camera_info;
// }T_JZST_info;
//光学相机的rga信息
ST_RgaInfo *Opt_rga_info;
/*************************************************************/
//融合相机的编码器信息
T_rtk_mmp_enc_info *Fuse_enc_info;
}T_JZST_info;
// #define JZ__IRC_WIDTH 320
// #define JZ__IRC_HEIGHT 256
// #define JZ__IRC_FRAMERATE 25
// #define JZ__IRC_INDEX VIDEOMGMT_STREAMING_FLOW_INDEX_FIRST
// #define JZ__IRC_BPS 4000000
#define JZ_IRC_WIDTH 320
#define JZ_IRC_HEIGHT 256
#define JZ_IRC_FRAMERATE 25
#define JZ_IRC_INDEX VIDEOMGMT_STREAMING_FLOW_INDEX_FIRST
#define JZ_IRC_BPS 500000
// static T_JZST_info g_JZST_info;
static T_JZST_info g_JZST_info;
// T_JZsdkReturnCode JZST_SetNextFrame_IDR(unsigned int index)
// {
// if (index == JZ__IRC_INDEX)
// {
// RTK_mmp_enc_SetNextFrame_IDR(g_JZST_info.IRC_enc_info);
// }
// // else if (index == JZ_C1_OPT_INDEX)
// // {
// // RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Opt_enc_info);
// // }
// // else if (index == JZ_C1_FUSE_INDEX)
// // {
// // RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Fuse_enc_info);
// // }
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
T_JZsdkReturnCode JZST_SetNextFrame_IDR(unsigned int index)
{
if (index == JZ_IRC_INDEX)
{
RTK_mmp_enc_SetNextFrame_IDR(g_JZST_info.IRC_enc_info);
}
// else if (index == JZ_C1_OPT_INDEX)
// {
// RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Opt_enc_info);
// }
// else if (index == JZ_C1_FUSE_INDEX)
// {
// RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Fuse_enc_info);
// }
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
//数据推送函数
static T_JZsdkReturnCode JZST_PushFrame(int CameraIndex, unsigned char* data, unsigned int data_len)
{
int currentIndex = VideoMgmt_GetVideoStreamFlowIndexNum(); //获取当前视频流索引
//无视频流
if (currentIndex == 0)
{
//不推送视频
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
//红外相机
if (currentIndex == JZ_IRC_INDEX && CameraIndex == JZ_IRC_INDEX)
{
//推送数据到流转模块
VideoMgmt_Single_FrameIn(data, data_len);
}
// //光学相机
// if(CameraIndex == JZ_C1_OPT_INDEX && currentIndex == JZ_C1_OPT_INDEX)
// {
// //推送数据到流转模块
// VideoMgmt_Single_FrameIn(data, data_len);
// }
// //组合视频流
// if (currentIndex == JZ_C1_FUSE_INDEX && CameraIndex == JZ_C1_FUSE_INDEX)
// {
// //推送数据到流转模块
// VideoMgmt_Single_FrameIn(data, data_len);
// }
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static T_JZsdkReturnCode rgb32_to_yuv420sp(uint8_t *rgb32, uint8_t *yuv420sp, int width, int height)
{
int frame_size = width * height;
uint8_t *y_plane = yuv420sp; // Y分量
uint8_t *uv_plane = yuv420sp + frame_size; // UV交错分量(NV12)
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
// 假设RGB32内存布局为[B,G,R,A](小端序常见)
int idx = (y * width + x) * 4;
uint8_t B = rgb32[idx];
uint8_t G = rgb32[idx + 1];
uint8_t R = rgb32[idx + 2];
// uint8_t A = rgb32[idx + 3]; // Alpha通道忽略
// 计算YUV(BT.601标准)
int Y = 0.257 * R + 0.504 * G + 0.098 * B + 16;
int U = -0.148 * R - 0.291 * G + 0.439 * B + 128;
int V = 0.439 * R - 0.368 * G - 0.071 * B + 128;
// 写入Y分量
y_plane[y * width + x] = (uint8_t)fmin(fmax(Y, 0), 255);
// 仅偶数行和偶数列采样UV分量(420下采样)
if (y % 2 == 0 && x % 2 == 0) {
int uv_idx = (y / 2) * (width / 2) + (x / 2);
uv_plane[uv_idx * 2] = (uint8_t)fmin(fmax(U, 0), 255); // U
uv_plane[uv_idx * 2 + 1] = (uint8_t)fmin(fmax(V, 0), 255); // V
}
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static void *JZ_ircDataThread(void *args)
{
#ifdef SATIRC_LIB_STATUS_ON
U8_t *buf = NULL;
int PixelNum = JZ_IRC_WIDTH * JZ_IRC_HEIGHT;
buf = (U8_t *)malloc(JZ_IRC_WIDTH * JZ_IRC_HEIGHT * 4);
U8_t *yuv420sp = (U8_t *)malloc(JZ_IRC_WIDTH * JZ_IRC_HEIGHT * 3 / 2);
int test_i = 0;
int color = 0;
JZSDK_LOG_INFO("红外相机线程启动!");
// }
// //数据推送函数
// static T_JZsdkReturnCode JZST_PushFrame(int CameraIndex, unsigned char* data, unsigned int data_len)
// {
// int currentIndex = VideoMgmt_GetVideoStreamFlowIndexNum(); //获取当前视频流索引
// //无视频流
// if (currentIndex == 0)
// {
// //不推送视频
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// //红外相机
// if (currentIndex == JZ__IRC_INDEX && CameraIndex == JZ__IRC_INDEX)
// {
// //推送数据到流转模块
// VideoMgmt_Single_FrameIn(data, data_len);
// }
// // //光学相机
// // if(CameraIndex == JZ_C1_OPT_INDEX && currentIndex == JZ_C1_OPT_INDEX)
// // {
// // //推送数据到流转模块
// // VideoMgmt_Single_FrameIn(data, data_len);
// // }
// // //组合视频流
// // if (currentIndex == JZ_C1_FUSE_INDEX && CameraIndex == JZ_C1_FUSE_INDEX)
// // {
// // //推送数据到流转模块
// // VideoMgmt_Single_FrameIn(data, data_len);
// // }
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// static T_JZsdkReturnCode rgb32_to_yuv420sp(uint8_t *rgb32, uint8_t *yuv420sp, int width, int height)
// {
// int frame_size = width * height;
// uint8_t *y_plane = yuv420sp; // Y分量
// uint8_t *uv_plane = yuv420sp + frame_size; // UV交错分量(NV12)
// for (int y = 0; y < height; y++) {
// for (int x = 0; x < width; x++) {
// // 假设RGB32内存布局为[B,G,R,A](小端序常见)
// int idx = (y * width + x) * 4;
// uint8_t B = rgb32[idx];
// uint8_t G = rgb32[idx + 1];
// uint8_t R = rgb32[idx + 2];
// // uint8_t A = rgb32[idx + 3]; // Alpha通道忽略
// // 计算YUV(BT.601标准)
// int Y = 0.257 * R + 0.504 * G + 0.098 * B + 16;
// int U = -0.148 * R - 0.291 * G + 0.439 * B + 128;
// int V = 0.439 * R - 0.368 * G - 0.071 * B + 128;
// // 写入Y分量
// y_plane[y * width + x] = (uint8_t)fmin(fmax(Y, 0), 255);
// // 仅偶数行和偶数列采样UV分量(420下采样)
// if (y % 2 == 0 && x % 2 == 0) {
// int uv_idx = (y / 2) * (width / 2) + (x / 2);
// uv_plane[uv_idx * 2] = (uint8_t)fmin(fmax(U, 0), 255); // U
// uv_plane[uv_idx * 2 + 1] = (uint8_t)fmin(fmax(V, 0), 255); // V
// }
// }
// }
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// static void *JZ__ircDataThread(void *args)
// {
// #ifdef SATIRC_LIB_STATUS_ON
// U8_t *buf = NULL;
// int PixelNum = JZ__IRC_WIDTH * JZ__IRC_HEIGHT;
// buf = (U8_t *)malloc(JZ__IRC_WIDTH * JZ__IRC_HEIGHT * 4);
// U8_t *yuv420sp = (U8_t *)malloc(320 * 256 * 3 / 2);
// int test_i = 0;
// int color = 0;
// while (1)
// {
// //每25张更换一次颜色
// if (test_i % 25 == 0)
// {
// color++;
// if (color == 12)
// {
// color = 0;
// }
FILE *fp = fopen("image.h264", "wb");
while (1)
{
delayMs(1000/JZ_IRC_FRAMERATE);
//每25张更换一次颜色
if (test_i % 25 == 0)
{
color++;
if (color == 12)
{
color = 0;
}
// SatIrc_SetColorPalette(color); //可以测0~11
// }
SatIrc_SetColorPalette(color); //可以测0~11
}
// //获取红外数据
// memset(buf, 0, JZ__IRC_WIDTH * JZ__IRC_HEIGHT * 4);
// SatIrc_GetIRImage(buf, PixelNum);
//获取红外数据
memset(buf, 0, JZ_IRC_WIDTH * JZ_IRC_HEIGHT * 4);
SatIrc_GetIRImage(buf, PixelNum);
// //将红外数据转换为yuv
// memset(yuv420sp, 0, 320 * 256 * 3 / 2);
// rgb32_to_yuv420sp(buf, yuv420sp, JZ__IRC_WIDTH, JZ__IRC_HEIGHT);
//将红外数据转换为yuv
memset(yuv420sp, 0, 320 * 256 * 3 / 2);
rgb32_to_yuv420sp(buf, yuv420sp, JZ_IRC_WIDTH, JZ_IRC_HEIGHT);
// //将红外数据送去编码器
// unsigned char *h264Data = NULL;
// unsigned int h264DataLen = 0;
//将红外数据送去编码器
unsigned char *h264Data = NULL;
unsigned int h264DataLen = 0;
// MppPacket Packet = NULL;
MppPacket Packet = NULL;
// //进行编码
// RTK_mmp_enc_data_to_h264(g_JZST_info.IRC_enc_info, yuv420sp, 320 * 256 * 3 / 2, &Packet);
//进行编码
RTK_mmp_enc_data_to_h264(g_JZST_info.IRC_enc_info, yuv420sp, 320 * 256 * 3 / 2, &Packet);
// h264DataLen = mpp_packet_get_length(Packet);
// h264Data = (unsigned char *)mpp_packet_get_pos(Packet);
h264DataLen = mpp_packet_get_length(Packet);
h264Data = (unsigned char *)mpp_packet_get_pos(Packet);
// //释放掉packet
// mpp_packet_deinit(&Packet);
// //将h264数据推送
// JZST_PushFrame(1, h264Data, h264DataLen);
// delayMs(1000/JZ__IRC_FRAMERATE);
// }
// #endif // #ifdef SATIRC_LIB_STATUS_ON
// }
// static T_JZsdkReturnCode JZ__IrcCameraInit()
// {
// T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// //初始化红外参数
// ret = IRC_ParamInit(JZ__IRC_HEIGHT, JZ__IRC_WIDTH, JZ__IRC_FRAMERATE, IRC_DEAL_MODE_SAT);
// if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// JZSDK_LOG_ERROR("红外参数初始化失败!");
// return ret;
// }
// //初始化红外相机
// T_JZsdkReturnCode = SatIrc_init();
// if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// JZSDK_LOG_ERROR("红外相机初始化失败!");
// return ret;
// }
// //初始化接收相机数据的线程
// T_JZsdkOsalHandler *osal_handle = JZsdk_Platform_GetOsalHandler();
// T_JZTaskHandle JZ__ircDataTask = NULL;
// osal_handle->TaskCreate("JZ__ircDataThread", JZ__ircDataThread, 8192, NULL, JZ__ircDataTask);
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// T_JZsdkReturnCode JZ__Init(int mode)
// {
// //网口初始化
// if (mode == APP_UART)
// {
// //网口初始化
// JZsdk_NetWork_Init();
// }
// T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// #ifdef RTK_MPP_STATUS_ON
// //初始化相机流管理器
// T_JZsdkVideoMgmtHandler VideoMgmtHandler = {
// .SetNextFrame_IDR = JZST_SetNextFrame_IDR,
// };
// VideoMgmt_Init(VideoMgmtHandler);
// //初始化红外的编码器
// g_JZST_info.IRC_enc_info = (T_rtk_mmp_dec_info *)malloc(sizeof(T_rtk_mmp_dec_info));
// //配置参数
// g_JZST_info.IRC_enc_info->Input_fmt = MPP_FMT_YUV420SP;
// g_JZST_info.IRC_enc_info->encType = MPP_VIDEO_CodingAVC;
// g_JZST_info.IRC_enc_info->width = JZ__IRC_WIDTH;
// g_JZST_info.IRC_enc_info->height = JZ__IRC_HEIGHT;
// g_JZST_info.IRC_enc_info->FrameNum = JZ__IRC_FRAMERATE;
// g_JZST_info.IRC_enc_info->IDR_gop = 5;
// g_JZST_info.IRC_enc_info->bps_target = JZ__IRC_BPS;
// g_JZST_info.IRC_enc_info->hor_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->width, 16);
// g_JZST_info.IRC_enc_info->ver_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->height, 16);
// //初始化编码器
// RTK_mmp_enc_init(g_JZST_info.IRC_enc_info);
// //初始化红外相机
// ret = JZ__IrcCameraInit();
// if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// JZSDK_LOG_ERROR("红外相机初始化失败!");
// }
// //设置默认推送红外摄像头
// VideoMgmt_VideoStreamFlowIndex(JZ__IRC_INDEX);
//释放掉packet
mpp_packet_deinit(&Packet);
//将h264数据推送
JZST_PushFrame(JZ_IRC_INDEX, h264Data, h264DataLen);
fwrite(h264Data, h264DataLen, 1, fp);
fflush(fp);
JZSDK_LOG_DEBUG("红外相机线程执行中!, 长度 %d", h264DataLen);
test_i++;
}
fclose(fp);
#endif // #ifdef SATIRC_LIB_STATUS_ON
}
static T_JZsdkReturnCode JZ_IrcCameraInit()
{
T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
//初始化红外参数
ret = IRC_ParamInit(JZ_IRC_HEIGHT, JZ_IRC_WIDTH, JZ_IRC_FRAMERATE, IRC_DEAL_MODE_SAT);
if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_ERROR("红外参数初始化失败!");
return ret;
}
//初始化红外相机
ret = SatIrc_init();
if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_ERROR("红外相机初始化失败!");
return ret;
}
//初始化接收相机数据的线程
T_JZsdkOsalHandler *osal_handle = JZsdk_Platform_GetOsalHandler();
T_JZTaskHandle JZ_ircDataTask = NULL;
osal_handle->TaskCreate("JZ_ircDataThread", JZ_ircDataThread, 8192, NULL, &JZ_ircDataTask);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZ_ST_Init(int mode)
{
//网口初始化
if (mode == APP_UART)
{
//网口初始化
JZsdk_NetWork_Init();
}
T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
#ifdef RTK_MPP_STATUS_ON
//初始化相机流管理器
T_JZsdkVideoMgmtHandler VideoMgmtHandler = {
.SetNextFrame_IDR = JZST_SetNextFrame_IDR,
};
VideoMgmt_Init(VideoMgmtHandler);
//初始化红外的编码器
g_JZST_info.IRC_enc_info = (T_rtk_mmp_enc_info *)malloc(sizeof(T_rtk_mmp_enc_info));
//配置参数
g_JZST_info.IRC_enc_info->Input_fmt = MPP_FMT_YUV420SP;
g_JZST_info.IRC_enc_info->encType = MPP_VIDEO_CodingAVC;
g_JZST_info.IRC_enc_info->width = JZ_IRC_WIDTH;
g_JZST_info.IRC_enc_info->height = JZ_IRC_HEIGHT;
g_JZST_info.IRC_enc_info->FrameNum = JZ_IRC_FRAMERATE;
g_JZST_info.IRC_enc_info->IDR_gop = 5;
g_JZST_info.IRC_enc_info->bps_target = JZ_IRC_BPS;
g_JZST_info.IRC_enc_info->hor_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->width, 16);
g_JZST_info.IRC_enc_info->ver_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->height, 16);
//初始化编码器
RTK_mmp_enc_Init(g_JZST_info.IRC_enc_info);
//初始化红外相机
ret = JZ_IrcCameraInit();
if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_ERROR("红外相机初始化失败!");
}
//设置默认推送红外摄像头
VideoMgmt_VideoStreamFlowIndex(JZ_IRC_INDEX);
// return ret;
return ret;
#endif
// #endif
// }
\ No newline at end of file
JZSDK_LOG_INFO("红外相机初始化完成");
}
\ No newline at end of file
... ...
/**
********************************************************************
* @file JZST.h
* JZST.h的头文件
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZST_H
#define JZST_H
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
/* Includes ------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
T_JZsdkReturnCode JZ_ST_Init(int mode);
#ifdef __cplusplus
}
#endif
#endif
... ...
... ... @@ -7,34 +7,35 @@
#define VERSION_CHOOSE_H
#include "JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.h"
//1~10行 除了D可以修改版本选择 禁止动任何东西
#define DEVICE_VERSION JZ_H150T
#define DEVICE_VERSION JZ_U3D
//禁止修改行 选择是串口程序 还是 psdk程序
#define APP_VERSION APP_PSDK
//禁止修改行 板子型号
#define PLATFORM_VERSION PLATFORM_H3
#define PLATFORM_VERSION PLATFORM_V3S
//禁止修改行 串口连接程序的软件版本号
#define MAJOR_VERSION 01
#define MINOR_VERSION 03
#define MODIFY_VERSION 11
#define DEBUG_VERSION 01
#define MAJOR_VERSION_TEN_POSITION 0
#define MAJOR_VERSION_ONE_POSITION 1
#define MINOR_VERSION_TEN_POSITION 0
#define MINOR_VERSION_ONE_POSITION 3
#define MODIFY_VERSION_TEN_POSITION 1
#define MODIFY_VERSION_ONE_POSITION 1
#define DEBUG_VERSION_TEN_POSITION 0
#define DEBUG_VERSION_ONE_POSITION 3
//禁止修改行 滤波方式 该项目目前已被移除
#define FILTERING_TYPE HIGH_PASS_FILTERING
//禁止修改行固件属地 目前 国内版/海外版, 该选项目前已被移除
#define FIRMWARE_ORIGIN DOMESTIC_VERSION
//禁止修改行指定特殊固件
//禁止修改行31 特殊版本号
#define SPECIAL_VERSION SPECIAL_NORMAL
//禁止修改行 全志编解码库
#define ALLWINNER_CEDAR VERSION_SWITCH_OFF
//版本号
#define MAJOR_VERSION (MAJOR_VERSION_TEN_POSITION*10+MAJOR_VERSION_ONE_POSITION)
#define MINOR_VERSION (MINOR_VERSION_TEN_POSITION*10+MINOR_VERSION_ONE_POSITION)
#define MODIFY_VERSION (MODIFY_VERSION_TEN_POSITION*10+MODIFY_VERSION_ONE_POSITION)
#define DEBUG_VERSION (DEBUG_VERSION_TEN_POSITION*10+DEBUG_VERSION_ONE_POSITION)
//禁止修改行 是否开启连接超时, 该项目目前已被移除
#define CONNECTION_TIMED_OUT VERSION_SWITCH_OFF
//这个开关可以方便日常代码编写的跳转功能
#ifdef COMPILE_MODE_MODULE
... ... @@ -63,6 +64,11 @@
#define KTIRC_LIB_STATUS_ON
#endif
//是否加载satirclib
#ifdef MACRO_SATIRC_MODULE
#define SATIRC_LIB_STATUS_ON
#endif
//是否加载usb模块
#ifdef MACRO_USB_MODULE
#define USB_CONFIG_STATUS_ON
... ... @@ -93,6 +99,7 @@
#define LIGHTING_STATUS_ON
#endif
#else //这里用于方便调试使用,不是实际加载的模组
//是否开启音频库功能
... ...
... ... @@ -2970,8 +2970,6 @@ static T_JZsdkReturnCode RecvDeal_SearchLight_Control(int Port, char *getbuf)
**********/
static T_JZsdkReturnCode RecvDeal_SearchLight_Lumen(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,设置灯光亮度",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -2979,6 +2977,8 @@ static T_JZsdkReturnCode RecvDeal_SearchLight_Lumen(int Port, char *getbuf)
int LeftLumen = getbuf[9]; //左灯亮度
int RightLumen = getbuf[10]; //右灯亮度
JZSDK_LOG_INFO("%s,设置灯光亮度 %d %d",JZsdk_DefineCode_GetPortName(Port), LeftLumen, RightLumen);
T_JZsdkReturnCode ret = UIcontrol_Set_SearchLightLumen(Port, 1, LeftLumen, RightLumen);
if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
... ... @@ -4071,7 +4071,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Mode(int Port, char *getbuf)
**********/
static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Lumen(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到灯光亮度",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到灯光亮度",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -4093,7 +4093,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Lumen(int Port, char *getbuf
**********/
static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Temperature(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到探照灯温度",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到探照灯温度",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -4216,7 +4216,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainGimbalPitchFineTuning(int Port, char *ge
**********/
static T_JZsdkReturnCode RecvDeal_ObtainWaringlight_Status(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到警灯状态",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到警灯状态",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -4238,7 +4238,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainWaringlight_Status(int Port, char *getbu
**********/
static T_JZsdkReturnCode RecvDeal_ObtainWaringlight_Color(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到警灯颜色",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到警灯颜色",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ...
... ... @@ -306,6 +306,53 @@ T_JZsdkReturnCode AudioDeal_StopDeal()
/**************
*
* 获取文件的时长信息
*
* ***********/
T_JZsdkReturnCode AudioDeal_GetAudio_DurationInfo(JZ_U8 *FilePath, JZ_U32 *Duration)
{
int ret;
AVFormatContext *fmt_ctx = NULL;
fmt_ctx = avformat_alloc_context();
if (!fmt_ctx) {
JZSDK_LOG_ERROR("无法分配AVFormatContext");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = avformat_open_input(&fmt_ctx, FilePath, NULL, NULL);
if (ret < 0) {
JZSDK_LOG_ERROR("无法打开音频文件");
goto cleanUp;
}
// if (avformat_find_stream_info(fmt_ctx, NULL) < 0) {
// JZSDK_LOG_ERROR("检索音频流信息失败");
// goto cleanUp;
// }
// if (fmt_ctx->duration <= 0) {
// JZSDK_LOG_ERROR("无效的音频时长");
// goto cleanUp;
// }
// *Duration = (uint32_t)(fmt_ctx->duration / AV_TIME_BASE);
avformat_close_input(&fmt_ctx);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
cleanUp:
if (fmt_ctx) {
avformat_close_input(&fmt_ctx);
}
*Duration = 0; // 确保失败时Duration被清零
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
/**************
*
* 获取音频库的处理状态
*
* ***********/
... ...
... ... @@ -105,6 +105,7 @@ T_JZsdkReturnCode AudioDeal_SetFilterMode(int mode);
T_JZsdkReturnCode AudioDeal_GetFilterMode();
T_JZsdkReturnCode AudioDeal_Mp3DataStop();
T_JZsdkReturnCode AudioDeal_GetAudio_DurationInfo(JZ_U8 *FilePath, JZ_U32 *Duration);
#ifdef __cplusplus
}
... ...
... ... @@ -141,6 +141,56 @@ extern "C" {
anequalizer=c0 f=3700 w=1400 g=-24 t=0|c1 f=3700 w=1400 g=-24 t=0"
#define FILTER_FORMAL_2_M30_TTS "equalizer=f=31:t=q:w=2.0:g=-48, \
equalizer=f=62:t=q:w=2.0:g=-36, \
equalizer=f=125:t=q:w=2.0:g=-30, \
equalizer=f=250:t=q:w=2.0:g=-26, \
equalizer=f=500:t=q:w=2.0:g=-20, \
equalizer=f=1000:t=q:w=2.0:g=-12, \
equalizer=f=2000:t=q:w=2.0:g=-8, \
equalizer=f=4000:t=q:w=2.0:g=+0, \
equalizer=f=8000:t=q:w=2.0:g=+0, \
equalizer=f=16000:t=q:w=2.0:g=+0, \
compand=attacks=0:decays=0.3:points=-60/-60|-30/-20|-20/-15|-10/-10|0/-5:gain=5, \
lowpass=f=6000:width_type=q:w=1.8, \
highpass=f=80:width_type=q:w=1.2, \
volume=0.98, \
anequalizer=c0 f=3800 w=1200 g=-5 t=0|c1 f=3800 w=1200 g=-10 t=0, \
anequalizer=c0 f=3100 w=600 g=-3 t=0|c1 f=3100 w=600 g=-3 t=0"
#define FILTER_FORMAL_2_M30_1 "equalizer=f=31:t=q:w=2.0:g=-48, \
equalizer=f=62:t=q:w=2.0:g=-36, \
equalizer=f=125:t=q:w=2.0:g=-30, \
equalizer=f=250:t=q:w=2.0:g=-26, \
equalizer=f=500:t=q:w=2.0:g=-20, \
equalizer=f=1000:t=q:w=2.0:g=-12, \
equalizer=f=2000:t=q:w=2.0:g=-8, \
equalizer=f=4000:t=q:w=2.0:g=+0, \
equalizer=f=8000:t=q:w=2.0:g=+0, \
equalizer=f=16000:t=q:w=2.0:g=+0, \
compand=attacks=0:decays=0.3:points=-60/-60|-30/-20|-20/-15|-10/-10|0/-5:gain=5, \
lowpass=f=6000:width_type=q:w=1.8, \
highpass=f=80:width_type=q:w=1.2, \
volume=0.98, \
anequalizer=c0 f=3800 w=1200 g=-22 t=0|c1 f=3800 w=1200 g=-22 t=0, \
anequalizer=c0 f=3100 w=600 g=-16 t=0|c1 f=3100 w=600 g=-16 t=0"
#define FILTER_FORMAL_2_M30_2 "equalizer=f=31:t=q:w=2.0:g=-48, \
equalizer=f=62:t=q:w=2.0:g=-36, \
equalizer=f=125:t=q:w=2.0:g=-30, \
equalizer=f=250:t=q:w=2.0:g=-26, \
equalizer=f=500:t=q:w=2.0:g=-20, \
equalizer=f=1000:t=q:w=2.0:g=-12, \
equalizer=f=2000:t=q:w=2.0:g=-8, \
equalizer=f=4000:t=q:w=2.0:g=+0, \
equalizer=f=8000:t=q:w=2.0:g=+0, \
equalizer=f=16000:t=q:w=2.0:g=+0, \
compand=attacks=0:decays=0.3:points=-60/-60|-30/-20|-20/-15|-10/-10|0/-5:gain=5, \
lowpass=f=6000:width_type=q:w=1.8, \
highpass=f=80:width_type=q:w=1.2, \
volume=0.98, \
anequalizer=c0 f=4000 w=1400 g=-28 t=0|c1 f=4000 w=1400 g=-28 t=0, \
anequalizer=c0 f=3700 w=1400 g=-24 t=0|c1 f=3700 w=1400 g=-24 t=0"
/*00 35
02 37
... ... @@ -193,13 +243,13 @@ typedef enum FilterList{
//h10t的滤波器跟其他的不一样,所以单独定义
#if DEVICE_VERSION == JZ_H10T
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_1_M30_2
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_1_M30_TTS
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_2_M30_2
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_2_M30_TTS
#else
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_1_M30_1
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_1_M30_TTS
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_2_M30_1
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_2_M30_TTS
#endif
/* Exported types ------------------------------------------------------------*/
... ...
#include "JZsdkLib.h"
#include <sys/time.h> // 对于 settimeofday 可能需要这个头文件
#include <time.h>
#include <unistd.h>
#include <string.h>
#include "Attribute.h"
// 每个月的天数表(索引0为占位)
const uint8_t days_in_month[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
static T_JZsdkAttributeGpsTime g_GpsTime = 0;
static T_JZsdkAttributeGpsDate g_GpsDate = 0;
static T_JZsdkAttributeGpsPosition g_GpsPositino = {0};
... ... @@ -15,19 +19,138 @@ static T_JZsdkAttributeGpsPosition g_GpsPositino = {0};
// static int GpsMinute = 0;
// static int GpsSecond = 0;
void * Attribute_Task(void *arg)
{
t_JZdateTime dt;
const time_t GPS_EPOCH_OFFSET = 315964800; // 1980-01-06 -> 1970-01-01的秒数
const uint8_t GPS_LEAP_SECONDS = 18; // GPS-UTC闰秒差(需动态更新)
//每60s更新一次psdk时间
while (1)
{
//获取gps时间
T_JZsdkAttributeGpsTime gpsTime = Attribute_GetGpsTime();
JZsdk_convert_gpstime(gpsTime, &dt);
JZSDK_LOG_INFO("GPS Time: %u seconds\n", gpsTime);
JZSDK_LOG_INFO("Converted: %04u-%02u-%02u %02u:%02u:%02u\n",
dt.year, dt.month, dt.day,
dt.hour, dt.minute, dt.second);
//将gps时间转换为unix时间
time_t gps_utc = gpsTime + GPS_EPOCH_OFFSET - GPS_LEAP_SECONDS;
//获取系统时间
struct timeval tv;
if (gettimeofday(&tv, NULL) != 0) {
JZSDK_LOG_ERROR("获取系统时间失败");
delayS(10);
continue;
}
// 计算时间差
time_t time_diff = labs(gps_utc - tv.tv_sec);
// 超阈值时更新系统时间
if (time_diff > 60)
{
JZSDK_LOG_INFO("时间差超过60秒: GPS=%u, 系统=%ld", gpsTime, tv.tv_sec);
struct timeval new_tv = { .tv_sec = gps_utc, .tv_usec = 0 };
if (settimeofday(&new_tv, NULL) == 0) {
JZSDK_LOG_INFO("系统时间更新成功");
} else {
JZSDK_LOG_ERROR("系统时间更新失败(需root权限)");
}
}
delayS(20);
}
return NULL;
}
static T_JZsdkReturnCode is_system_utc()
{
// 方法1:检查 /etc/localtime 是否链接到 UTC
char cmd[256];
snprintf(cmd, sizeof(cmd), "readlink /etc/localtime | grep -q UTC");
if (system(cmd) == 0) {
JZSDK_LOG_INFO("系统时区为 UTC (检测到 /etc/localtime 链接)");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
// 方法2:检查 /etc/timezone 文件内容
FILE *tz_file = fopen("/etc/timezone", "r");
if (tz_file) {
char tz[32] = {0};
fgets(tz, sizeof(tz), tz_file);
fclose(tz_file);
if (strstr(tz, "UTC") || strstr(tz, "Etc/UTC")) {
JZSDK_LOG_INFO("系统时区为 UTC (检测到 /etc/timezone)");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
static T_JZsdkReturnCode set_system_utc()
{
// 1. 检查 root 权限
if (geteuid() != 0) {
JZSDK_LOG_ERROR("修改时区需要 root 权限");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
// 2. 更新 /etc/localtime
system("rm -f /etc/localtime");
system("ln -sf /usr/share/zoneinfo/UTC /etc/localtime");
// 3. 更新 /etc/timezone(如果存在)
system("echo 'UTC' > /etc/timezone 2>/dev/null");
// 4. 通知系统时区变更(如果使用 systemd)
system("timedatectl set-timezone UTC 2>/dev/null");
// 5. 验证是否成功
return is_system_utc();
}
static T_JZsdkReturnCode Attribute_ChangeTimezone()
{
if (is_system_utc() == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_INFO("系统已是 UTC,无需修改");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode ret = set_system_utc();
if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_INFO("系统时区已永久修改为 UTC");
} else {
JZSDK_LOG_ERROR("修改时区失败");
}
return ret;
}
T_JZsdkReturnCode Attribute_Init()
{
T_JZsdkOsalHandler *OsalHandle = JZsdk_Platform_GetOsalHandler();
//系统时区修改
//Attribute_ChangeTimezone();
int year = 0;
int month = 0;
int day = 0;
int hour = 0;
int minute = 0;
int second = 0;
//将进程修改为UTC时区
setenv("TZ", "UTC", 1); // 强制使用UTC时区
tzset(); // 生效时区设置
Attribute_GetTime_ByI(&year, &month, &day, &hour, &minute, &second);
JZSDK_LOG_INFO("%d-%d-%d %d:%d:%d", year, month, day, hour, minute, second);
//创建任务
T_JZTaskHandle taskHandle = NULL;
OsalHandle->TaskCreate("attribute_task",Attribute_Task, 4096, NULL, &taskHandle);
JZSDK_LOG_INFO("Attribute_Init_Complete");
... ... @@ -161,33 +284,68 @@ T_JZsdkReturnCode Attribute_GetGpsXYZ_ByF(float *x, float *y, float *z)
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
/************************
*
* 获取显示的时间
*
*
* ***********************/
T_JZsdkReturnCode Attribute_GetTime_ByI(int *year, int *month, int *day, int *hour, int *minute, int *second)
// 判断是否为闰年
static bool is_leap_year(uint16_t year) {
return (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0);
}
// 计算日期
static void calculate_date(uint32_t total_days, t_JZdateTime *date) {
// GPS起始时间:1980年1月6日
date->year = 1980;
date->month = 1;
date->day = 6;
while (total_days > 0) {
// 计算当前年是否是闰年
uint16_t days_in_year = is_leap_year(date->year) ? 366 : 365;
if (total_days >= days_in_year) {
total_days -= days_in_year;
date->year++;
} else {
// 处理月份
uint8_t month = date->month;
while (total_days > 0 && month <= 12) {
uint8_t dim = days_in_month[month];
// 闰年2月特殊处理
if (month == 2 && is_leap_year(date->year)) dim++;
if (total_days >= dim) {
total_days -= dim;
month++;
} else {
date->day += total_days;
total_days = 0;
if (date->day > dim) {
date->day -= dim;
month++;
}
}
}
date->month = month;
break;
}
}
}
T_JZsdkReturnCode JZsdk_convert_gpstime(T_JZsdkAttributeGpsTime gpstime, t_JZdateTime *result)
{
// 转换为time_t(注意:这里假设TimeStamp是以秒为单位的Unix时间戳)
// 如果TimeStamp是以毫秒为单位的,你需要将其除以1000
time_t time_t_TimeStamp = (time_t)g_GpsTime; // 注意:这里可能会有截断,如果TimeStamp非常大
// 使用localtime将time_t转换为tm结构体
struct tm *tm_info = localtime(&time_t_TimeStamp);
if (tm_info == NULL)
{
JZSDK_LOG_ERROR("时间转化失败");
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
*year = tm_info->tm_year + 1900;
*month = tm_info->tm_mon + 1;
*day = tm_info->tm_mday;
*hour = tm_info->tm_hour;
*minute = tm_info->tm_min;
*second = tm_info->tm_sec;
//JZSDK_LOG_INFO("获得年份: %d, 月份: %d, 日期: %d, 小时:%d, 分:%d 秒:%d", *year, *month, *day, *hour, *minute, *second);
}
\ No newline at end of file
const U32_t SECONDS_PER_DAY = 86400;
const U32_t SECONDS_PER_HOUR = 3600;
const U8_t SECONDS_PER_MINUTE = 60;
// 计算时分秒
U32_t total_days = gpstime / SECONDS_PER_DAY;
U32_t remaining = gpstime % SECONDS_PER_DAY;
result->hour = remaining / SECONDS_PER_HOUR;
remaining %= SECONDS_PER_HOUR;
result->minute = remaining / SECONDS_PER_MINUTE;
result->second = remaining % SECONDS_PER_MINUTE;
// 计算年月日
calculate_date(total_days, result);
}
... ...
... ... @@ -35,6 +35,9 @@ T_JZsdkAttributeGpsDate Attribute_GetGpsDate();
T_JZsdkReturnCode Attribute_GetGpsXYZ_ByF(float *x, float *y, float *z);
T_JZsdkReturnCode Attribute_GetTime_ByI(int *year, int *month, int *day, int *hour, int *minute, int *second);
T_JZsdkReturnCode Attribute_GetGpsXYZ_ByStr(unsigned char *latitude, unsigned char *longitude, float *z);
T_JZsdkReturnCode Attribute_Init();
T_JZsdkReturnCode JZsdk_convert_gpstime(T_JZsdkAttributeGpsTime gpstime, t_JZdateTime *result);
#ifdef __cplusplus
... ...
... ... @@ -6,6 +6,7 @@
#include "./DeviceMessage/DeviceMessage.h"
#include "DeviceInfo/DeviceInfo.h"
#include "DeviceInfo/HardwareInfo/HardwareInfo.h"
#include "DeviceInfo/Attribute/Attribute.h"
#include "JZsdk_Hal.h"
... ... @@ -53,6 +54,9 @@ T_JZsdkReturnCode DeviceInfo_Init()
//设备信息自打印
//DeviceMessage_PrintDeviceInfo();
//设备属性初始化
Attribute_Init();
JZSDK_LOG_INFO("MODULE_DEVICE_INFO_INIT_COMPLETE");
}
... ...
... ... @@ -9,6 +9,7 @@
#include "../SerialNumberProc/SerialProc.h"
#include "Gimbal/Gimbal.h"
#include "UI_control/Psdk_UI_io.h"
#include "DeviceInfo/Attribute/Attribute.h"
#ifdef MEGAPHONE_CONFIG_STATUS_ON
#include "Megaphone/Megaphone.h"
... ... @@ -242,12 +243,15 @@ static T_JZsdkReturnCode DeviceMessage_Enter_Default(unsigned char *message)
memset(gps_y_str,0,sizeof(gps_y_str));
Attribute_GetGpsXYZ_ByStr(gps_x_str,gps_y_str,&gps_z);
Attribute_GetTime_ByI( &gps_year,&gps_month,&gps_day,&gps_hour,&gps_minute,&gps_second);
T_JZsdkAttributeGpsTime gpsTime = Attribute_GetGpsTime();
t_JZdateTime dt;
JZsdk_convert_gpstime(gpsTime, &dt);
memset(new_message,0,sizeof(new_message));
memset(old_message,0,sizeof(old_message));
snprintf(new_message,MESSAGE_MAX_LEN,"GPS:%s %s\n%d-%d-%d %d:%d:%d\n",gps_x_str,gps_y_str,gps_year,gps_month,gps_day,gps_hour,gps_minute,gps_second);
snprintf(new_message,MESSAGE_MAX_LEN,"GPS:%s %s\n%d-%d-%d %d:%d:%d\n",gps_x_str,gps_y_str,dt.year,dt.month,dt.day,dt.hour,dt.minute,dt.second);
snprintf(old_message,MESSAGE_MAX_LEN,"%s",message);
snprintf(message,MESSAGE_MAX_LEN,"%s%s",old_message,new_message);
... ... @@ -355,8 +359,19 @@ static T_JZsdkReturnCode DeviceMessage_Enter_Debug(unsigned char *message)
}
#endif
//显示gps时间
//获取gps时间
T_JZsdkAttributeGpsTime gpsTime = Attribute_GetGpsTime();
t_JZdateTime dt;
JZsdk_convert_gpstime(gpsTime, &dt);
memset(new_message,0,sizeof(new_message));
memset(old_message,0,sizeof(old_message));
snprintf(new_message,MESSAGE_MAX_LEN,"%d-%d-%d-%d-%d-%d\n",dt.year,dt.month,dt.day,dt.hour,dt.minute,dt.second);
snprintf(old_message,MESSAGE_MAX_LEN,"%s",message);
snprintf(message,MESSAGE_MAX_LEN,"%s%s",old_message,new_message);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
... ...
... ... @@ -55,6 +55,7 @@ T_JZsdkReturnCode IRC_ParamInit(int height, int width, int frameRate, IRC_DealMo
#endif
}
JZSDK_LOG_INFO("IRC参数初始化完成");
return ret;
}
... ...
... ... @@ -25,7 +25,7 @@ extern "C" {
/* Exported functions --------------------------------------------------------*/
#if DEVICE_VERSION == JZ_C1
#if DEVICE_VERSION == JZ_C1 || DEVICE_VERSION == JZ_ST
#define FIRST_WIDTH 320
#define FIRST_HEIGHT 256
... ...
... ... @@ -939,6 +939,45 @@ T_JZsdkReturnCode Megaphone_Init()
/*********
*
* 喊话器初始化 仅tts
*
**********/
T_JZsdkReturnCode Megaphone_Init_OnlyTTs()
{
if (MegaphoneStatusFlag == JZ_FLAGCODE_ON)
{
JZSDK_LOG_ERROR("喊话器已初始化");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
JZsdk_Malloc((void **)&g_MegaphoneInfo, sizeof(struct MegaphoneInfo));
//音量初始化
Megaphone_Volume_Init();
//TTS功能初始化
Megaphone_TTS_Init();
//根据语言信息设置默认语言
E_LanguageInfo LanguageInfo = LanguageInfo_Get_LanguageInfo();
if (LanguageInfo == LANGUAGE_INFO_CHINESE)
{
int language = 0x01;
Megaphone_TTS_param(JZ_FLAGCODE_SET, MEGAPHONE_TTS_TONE, &language);
}
else
{
int language = 0x11;
Megaphone_TTS_param(JZ_FLAGCODE_SET, MEGAPHONE_TTS_TONE, &language);
}
MegaphoneStatusFlag = JZ_FLAGCODE_ON;
}
/*********
*
* 喊话器参数
*
**********/
... ...
... ... @@ -78,6 +78,7 @@ extern struct MegaphoneInfo *g_MegaphoneInfo;
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode Megaphone_Init();
T_JZsdkReturnCode Megaphone_Init_OnlyTTs();
T_JZsdkReturnCode Megaphone_TTS_Play(unsigned char *str, unsigned int str_len, int ReplyFlag);
T_JZsdkReturnCode Megaphone_TTS_param(int flagcode, enum MegaphoneTTSParam paramflag, int *value);
T_JZsdkReturnCode Megaphone_Amplifier_param(int flagcode, int *value);
... ...
... ... @@ -15,7 +15,7 @@
#include "Megaphone/Megaphone.h"
#define AUDIO_DIR "/root/sdcard/audio"
#define RECODE_DIR "/root/sdcard/record"
#define RECODE_DIR "/root/record"
//创建一个歌曲节点
static struct AudioMange_Node *g_AudioList = NULL;
... ... @@ -204,7 +204,7 @@ static T_JZsdkReturnCode AudioFile_FreeAudioList()
* 音频文件链表刷新
*
**********/
T_JZsdkReturnCode AudioFile_FlushAudioList()
static T_JZsdkReturnCode AudioFile_FlushAudioList_1()
{
if (g_AudioList_flush_Flag == JZ_FLAGCODE_ON)
{
... ... @@ -301,6 +301,8 @@ T_JZsdkReturnCode AudioFile_FlushAudioList()
snprintf(cmd, sizeof(cmd), "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 %s", fileDir);
JZsdk_RunSystemCmd_ReturnResult(cmd, &(audioInfo.Time));
//AudioDeal_GetAudio_DurationInfo(fileDir, &(audioInfo.Time));
audioInfo.FileNameLen = len;
// 创建新节点
... ... @@ -336,6 +338,130 @@ T_JZsdkReturnCode AudioFile_FlushAudioList()
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
/*********
*
* 音频文件链表刷新(稳定版)
*
**********/
static T_JZsdkReturnCode AudioFile_FlushAudioList_2()
{
if (g_AudioList_flush_Flag == JZ_FLAGCODE_ON)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
g_AudioList_flush_Flag = JZ_FLAGCODE_ON;
// 创建完整路径缓冲区
char fullpath[PATH_MAX];
struct dirent *entry;
struct stat fileStat;
DIR *dir = NULL;
/* 创建audio目录(如果不存在) */
if (JZsdk_check_directory_exists_posix(AUDIO_DIR) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZsdk_Osal_Mkdir(AUDIO_DIR);
}
/* 安全打开目录 */
if (!(dir = opendir(AUDIO_DIR))) {
JZSDK_LOG_ERROR("打开音频目录失败: %s", strerror(errno));
goto cleanup;
}
/* 清理旧链表 */
if (g_AudioList) {
AudioFile_FreeAudioList();
}
/* 遍历目录条目 */
while ((entry = readdir(dir)) != NULL) {
const char *filename = entry->d_name;
// 跳过特殊目录
if (strcmp(filename, ".") == 0 || strcmp(filename, "..") == 0)
continue;
// 构建完整路径
snprintf(fullpath, sizeof(fullpath), "%s/%s", AUDIO_DIR, filename);
// 获取文件状态
if (lstat(fullpath, &fileStat) < 0) {
JZSDK_LOG_WARN("无法获取文件状态: %s", fullpath);
continue;
}
// 跳过非常规文件(目录/符号链接等)
if (!S_ISREG(fileStat.st_mode)) {
continue;
}
// 扩展名检查(优化版)
const char *ext = strrchr(filename, '.');
if (!ext) continue;
static const char *valid_ext[] = {
"mp3", "wav", "flac", "m4a", "mp2", "wma", "aac",
"MP3", "WAV", "FLAC", "M4A", "MP2", "WMA", "AAC"
};
bool valid = false;
for (size_t i = 0; i < sizeof(valid_ext)/sizeof(valid_ext[0]); i++) {
if (strcasecmp(ext+1, valid_ext[i]) == 0) {
valid = true;
break;
}
}
if (!valid) continue;
/* 创建音频信息结构 */
struct AudioMange_audio_struct audioInfo = {
.FileName = {0},
.FileSize = (uint32_t)fileStat.st_size,
.Time = 0
};
strncpy(audioInfo.FileName, filename, sizeof(audioInfo.FileName)-1);
unsigned char fileDir [256];
snprintf(fileDir, sizeof(fileDir), "/root/sdcard/audio/%s", filename);
//写入文件大小
JZsdk_Fs_ReadFileSize(fileDir, &(audioInfo.FileSize));
JZSDK_LOG_INFO("读取到大小:%d",audioInfo.FileSize);
// //写入时长信息
// unsigned char cmd[256];
// snprintf(cmd, sizeof(cmd), "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 %s", fileDir);
// JZsdk_RunSystemCmd_ReturnResult(cmd, &(audioInfo.Time));
// JZSDK_LOG_INFO("读取到时长:%d",audioInfo.Time);
/* 创建链表节点 */
struct AudioMange_Node *newNode = NULL;
if (Jzsdk_Create_AndioMange_Node(&newNode, audioInfo) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_ERROR("创建节点失败: %s", filename);
continue;
}
/* 添加到链表 */
Jzsdk_AddAudioNodeToCircularList(&g_AudioList, &g_AudioListtail, &newNode);
g_AudioList_Num++;
}
cleanup:
if (dir) closedir(dir);
g_AudioList_flush_Flag = JZ_FLAGCODE_OFF;
JZsdk_PrintfAuidoNode_AudioList(g_AudioList);
JZSDK_LOG_INFO("刷新歌曲列表已完成");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode AudioFile_FlushAudioList()
{
AudioFile_FlushAudioList_1();
}
/*********
*
... ...
... ... @@ -9,13 +9,21 @@
#include "version_choose.h"
#include "JZsdkLib.h"
#define RECODE_DIR "/root/record/"
T_JZsdkReturnCode Espeak_init()
{
char dict_path[]="/root";//设置资源库路径
char wav_save_path[]="/root/sdcard/record/";//设置生成音频路径
char wav_save_path[]=RECODE_DIR;//设置生成音频路径
tts_init(dict_path,wav_save_path);//初始化
printf("espeak_init\n");
//检查record文件夹是否存在
if (JZsdk_check_directory_exists_posix(RECODE_DIR) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZsdk_RunSystemCmd("mkdir /root/record");
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
... ...
... ... @@ -248,8 +248,9 @@ static T_JZsdkReturnCode TTS_FILE_GenerateAndPlay(struct t_Megaphone_tts_param *
//获取音源,以及规则
TTS_GetSoundSource(tone, name_tts, name_path, rule);
//如果是方言和男生,则去掉字母
if (tone == 0x31 || tone == 0x32 || tone == 0x33 || tone == 0x34 || tone == 0x35 || tone == 0x36 || tone == 0x02)
//如果是方言和男生,则去掉字母 或者追加音色里有男生
if (tone == 0x31 || tone == 0x32 || tone == 0x33 || tone == 0x34 || tone == 0x35 || tone == 0x36 || tone == 0x02
|| tts_add_mode == 2)
{
remove_letters(argv);
}
... ...
... ... @@ -46,27 +46,59 @@ extern "C" {
#define MAX_VOLUME (61)
#define MAX_TTS_VOLUME (69)
// #define MAX_VOLUME 100
// #define MAX_TTS_VOLUME 100
#elif DEVICE_VERSION == JZ_H10
#define MAX_VOLUME (65)
#define MAX_TTS_VOLUME (70)
// #define MAX_VOLUME (65)
// #define MAX_TTS_VOLUME (70)
//2025 4 10 改滤波 降低到u85%
// 55 58 串口音量118.4 飞机文本115-116,放歌118.1
// 54 57 串口文本,117-118 飞机文本115.3,歌117.6
#define MAX_VOLUME (54)
#define MAX_TTS_VOLUME (57)
#elif DEVICE_VERSION == JZ_H10T
#define MAX_VOLUME (83)
#define MAX_TTS_VOLUME (83)
// #define MAX_VOLUME (83)
// #define MAX_TTS_VOLUME (83)
//70 74 串口文本 116.3-117.5 飞机放歌116.6-117.0
//2025 4 10 改滤波 降低到u56%
#define MAX_VOLUME (70)
#define MAX_TTS_VOLUME (74)
#elif DEVICE_VERSION == JZ_U3
#define MAX_VOLUME (74)
#define MAX_TTS_VOLUME (82)
// #define MAX_VOLUME (74)
// #define MAX_TTS_VOLUME (82)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (63)
#define MAX_TTS_VOLUME (70)
#elif DEVICE_VERSION == JZ_U3D
#define MAX_VOLUME (73)
#define MAX_TTS_VOLUME (81)
// #define MAX_VOLUME (73)
// #define MAX_TTS_VOLUME (81)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (63)
#define MAX_TTS_VOLUME (70)
#elif DEVICE_VERSION == JZ_U30
#define MAX_VOLUME (74)
#define MAX_TTS_VOLUME (82)
// #define MAX_VOLUME (74)
// #define MAX_TTS_VOLUME (82)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (63)
#define MAX_TTS_VOLUME (70)
#elif DEVICE_VERSION == JZ_U3S
#define MAX_VOLUME (74)
#define MAX_TTS_VOLUME (82)
// #define MAX_VOLUME (74)
// #define MAX_TTS_VOLUME (82)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (63)
#define MAX_TTS_VOLUME (70)
#elif DEVICE_VERSION == TF_A1
#define MAX_VOLUME (75)
#define MAX_TTS_VOLUME (82)
... ...
#include "JZsdkLib.h"
#include "Megaphone.h"
#include "./VolumeLimit.h"
#include "DeviceInfo/DeviceInfo.h"
//喊话器的ui音量
... ... @@ -121,7 +122,7 @@ static T_JZsdkReturnCode Megaphone_SetTTSvolume()
{
if (value > 0)
{
value = 20 + value * 10/8;
value = 20 + value * 8/10;
}
}
... ... @@ -172,7 +173,7 @@ T_JZsdkReturnCode Megaphone_SetVolume(int value, int mode)//设置音量,音
{
if (value > 0)
{
value = 20 + value * 10/8;
value = 20 + value * 8/10;
}
}
... ... @@ -258,77 +259,142 @@ static T_JZsdkReturnCode Megaphone_MaxVolume_Init()
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
if (DEVICE_VERSION == JZ_H1T)
#if DEVICE_VERSION == JZ_H1T
//检索版本号,从2板子改成1板子的h1t改动
if (HardwareInfo_GetVersion(0) == 0x01
&& HardwareInfo_GetVersion(1) == 0x02
&& HardwareInfo_GetVersion(2) == 0x00
&& HardwareInfo_GetVersion(3) == 0x00
)
{
JZSDK_LOG_INFO("H1t二代");
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
//检索版本号,振膜更换版本
else if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 5
&& HardwareInfo_GetVersion(2) == 15
&& HardwareInfo_GetVersion(3) == 0
)
{
JZSDK_LOG_INFO("音量为振膜更换版本");
g_Max_volume = MAX_VOLUME * 89 / 100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 89 / 100;
}
//最初的h1t板子音量
else
{
//旧板子71 78 的时候 新板子75 84
JZSDK_LOG_INFO("音量为最初h1t硬件");
// g_Max_volume = MAX_VOLUME * 71/75;
// g_TTS_Max_volume = MAX_TTS_VOLUME * 78/84;
g_Max_volume = MAX_VOLUME * 115/100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 115/100;
}
#elif DEVICE_VERSION == JZ_H1E
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 5
&& HardwareInfo_GetVersion(2) == 15
&& HardwareInfo_GetVersion(3) == 0
)
{
JZSDK_LOG_INFO("音量为振膜更换版本");
g_Max_volume = MAX_VOLUME * 90 / 100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 90 / 100;
}
else
{
//检索版本号,从2板子改成1板子的h1t改动
if (HardwareInfo_GetVersion(0) == 0x01
&& HardwareInfo_GetVersion(1) == 0x02
&& HardwareInfo_GetVersion(2) == 0x00
&& HardwareInfo_GetVersion(3) == 0x00
)
{
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
//检索版本号,振膜更换版本
else if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 04
&& HardwareInfo_GetVersion(2) == 21
&& HardwareInfo_GetVersion(3) == 0x00
)
{
g_Max_volume = MAX_VOLUME * 100 / 94;
g_TTS_Max_volume = MAX_TTS_VOLUME * 100 / 94;
}
//最初的h1t板子音量
else
{
g_Max_volume = 70;
g_TTS_Max_volume = 78;
}
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
#elif DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 5
&& HardwareInfo_GetVersion(2) == 15
&& HardwareInfo_GetVersion(3) == 0
)
{
JZSDK_LOG_INFO("音量为振膜更换版本");
g_Max_volume = MAX_VOLUME * 85 / 100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 85 / 100;
}
else
{
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
#elif DEVICE_VERSION == JZ_H10
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 5
&& HardwareInfo_GetVersion(2) == 15
&& HardwareInfo_GetVersion(3) == 0
)
{
JZSDK_LOG_INFO("音量为振膜更换版本");
g_Max_volume = MAX_VOLUME * 85 / 100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 85 / 100;
}
else if(DEVICE_VERSION == JZ_H1E)
else
{
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 04
&& HardwareInfo_GetVersion(2) == 21
&& HardwareInfo_GetVersion(3) == 0x00
)
{
g_Max_volume = MAX_VOLUME * 100 / 94;
g_TTS_Max_volume = MAX_TTS_VOLUME * 100 / 94;
}
else
{
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
#elif DEVICE_VERSION == JZ_H10T
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 5
&& HardwareInfo_GetVersion(2) == 15
&& HardwareInfo_GetVersion(3) == 0
)
{
JZSDK_LOG_INFO("音量为振膜更换版本");
g_Max_volume = MAX_VOLUME * 85 / 100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 85 / 100;
}
else if (DEBUG_VERSION == JZ_H150S / JZ_H150T)
else
{
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 04
&& HardwareInfo_GetVersion(2) == 21
&& HardwareInfo_GetVersion(3) == 0x00
)
{
g_Max_volume = MAX_VOLUME * 100 / 94;
g_TTS_Max_volume = MAX_TTS_VOLUME * 100 / 94;
}
else
{
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
#elif DEVICE_VERSION == JZ_U3S || DEVICE_VERSION == JZ_U3 || DEVICE_VERSION == JZ_U30 || DEVICE_VERSION == JZ_U3D
//检索版本号,振膜更换版本
if (HardwareInfo_GetVersion(0) == 25
&& HardwareInfo_GetVersion(1) == 5
&& HardwareInfo_GetVersion(2) == 15
&& HardwareInfo_GetVersion(3) == 0
)
{
JZSDK_LOG_INFO("音量为振膜更换版本");
g_Max_volume = MAX_VOLUME * 95 / 100;
g_TTS_Max_volume = MAX_TTS_VOLUME * 95 / 100;
}
else
{
JZSDK_LOG_INFO("音量为最初硬件");
g_Max_volume = MAX_VOLUME;
g_TTS_Max_volume = MAX_TTS_VOLUME;
}
#endif
JZSDK_LOG_INFO("MaxV:%d MaxTTS_V:%d",g_Max_volume, g_TTS_Max_volume);
... ...
... ... @@ -40,6 +40,14 @@ X、没记录忘了
5、修改了串口数据接收的打印的内容,以减少打印的量
# 版本0.0.2.19 2025年5月15日
1、修改了滤波的参数
2、修改了音量参数
3、修改了日志的写入方式
4、给灯控的亮度加入的日志显示
# 版本0.0.2.20 2025年5月16日
1、在2.19的基础上,增加了因为振膜改动,给h1e h1t增加了振膜的硬件号烧录
# 待更新计划
更好的功放控制手段
... ...
... ... @@ -31,7 +31,7 @@ T_JZsdkReturnCode Megphone_Attention()
AudioDeal_Init();
//喊话器初始化
Megaphone_Init();
Megaphone_Init_OnlyTTs();
//播放声音
AttentionVoice_IndependencePlay();
... ...
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"C"
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
... ... @@ -18,6 +17,8 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o"
... ... @@ -32,7 +33,7 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_U3_series/JZ_U3/JZ_u3.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_U3_series/JZ_U3/JZ_u3.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c.o"
... ... @@ -77,32 +78,14 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c.o"
... ... @@ -127,42 +110,14 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c.o"
)
set(CMAKE_C_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_C
"MACRO_AUDIODEAL_MODULE"
"MACRO_MEDIA_PROC_MODULE"
"MACRO_LIGHTING_MODULE"
"MACRO_MEGAPHONE_MODULE"
"MACRO_WIRINGPI_MODULE"
)
# The include file search paths:
... ... @@ -170,45 +125,6 @@ set(CMAKE_C_TARGET_INCLUDE_PATH
"../../../JZsdk_Common"
"../../../JZsdk_Config"
"../../../JZsdk_hal"
"../../../ThirdParty/wiringPi"
"../../../Module/Megaphone"
"../../../Module/Ircut"
"../../../Module/Gimbal"
"../../../Module/Lighting"
"../../../Module/UI_control"
"../../../Module/Camera"
"../../../Module/COMMONManager"
"../../../Module/TestAPP"
"../../../Module/ImageProcessing"
"../../../Module/SerialManagement"
"../../../Module"
"../../../ThirdParty/iFLYTEK_TTS/include"
"../../../ThirdParty/Espeak/include"
"../../../ThirdParty/AlsaLib/include"
"../../../ThirdParty/opus/include"
"../../../ThirdParty/ffmpeg_6_0/include"
"../../../ThirdParty/x264_2245/include"
"../../../ThirdParty/fdk_aac_2_0_3/include"
)
set(CMAKE_DEPENDS_CHECK_CXX
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"MACRO_AUDIODEAL_MODULE"
"MACRO_MEDIA_PROC_MODULE"
"MACRO_MEGAPHONE_MODULE"
"MACRO_WIRINGPI_MODULE"
)
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../../../JZsdk_Common"
"../../../JZsdk_Config"
"../../../JZsdk_hal"
"../../../ThirdParty/wiringPi"
"../../../Module/Megaphone"
"../../../Module/Ircut"
"../../../Module/Gimbal"
... ...
file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/application/main.c.o"
"CMakeFiles/ATTENTION_APP.dir/application/Megaphone_Attention.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_U3_series/JZ_U3/JZ_u3.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdkLib.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DefineCode.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.c.o"
... ... @@ -13,6 +13,8 @@ file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o"
... ... @@ -56,33 +58,14 @@ file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Alsa/Pcm_AlsaPlay.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDeal.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDealThread/AudioDealThread.c.o"
... ... @@ -122,38 +105,11 @@ file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c.o"
"ATTENTION_APP.pdb"
"ATTENTION_APP"
)
# Per-language clean rules from dependency scanning.
foreach(lang C CXX)
foreach(lang C)
include(CMakeFiles/ATTENTION_APP.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
... ...
... ... @@ -2,16 +2,9 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.5
# compile C with /usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-gcc
# compile CXX with /usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-g++
C_FLAGS = -pthread -std=gnu99 -lm -ldl -lstdc++ -D COMPILE_MODE_MODULE
C_DEFINES = -DMACRO_AUDIODEAL_MODULE -DMACRO_MEDIA_PROC_MODULE -DMACRO_MEGAPHONE_MODULE -DMACRO_WIRINGPI_MODULE
C_DEFINES = -DMACRO_AUDIODEAL_MODULE -DMACRO_LIGHTING_MODULE -DMACRO_MEGAPHONE_MODULE
C_INCLUDES = -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Common -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Config -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_hal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/wiringPi -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Megaphone -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Ircut -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Gimbal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Lighting -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/UI_control -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Camera -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/COMMONManager -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/TestAPP -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/ImageProcessing -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/SerialManagement -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/AlsaLib/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/include
CXX_FLAGS = -D COMPILE_MODE_MODULE
CXX_DEFINES = -DMACRO_AUDIODEAL_MODULE -DMACRO_MEDIA_PROC_MODULE -DMACRO_MEGAPHONE_MODULE -DMACRO_WIRINGPI_MODULE
CXX_INCLUDES = -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Common -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Config -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_hal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/wiringPi -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Megaphone -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Ircut -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Gimbal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Lighting -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/UI_control -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Camera -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/COMMONManager -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/TestAPP -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/ImageProcessing -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/SerialManagement -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/AlsaLib/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/include
C_INCLUDES = -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Common -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Config -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_hal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Megaphone -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Ircut -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Gimbal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Lighting -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/UI_control -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Camera -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/COMMONManager -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/TestAPP -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/ImageProcessing -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/SerialManagement -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/AlsaLib/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/include
... ...
/usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-g++ -pthread CMakeFiles/ATTENTION_APP.dir/application/main.c.o CMakeFiles/ATTENTION_APP.dir/application/Megaphone_Attention.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdkLib.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DefineCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode/JZsdk_ReturnCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComParsion.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_MemoryAdapter/JZsdk_MemoryAdapter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Mutex/JZsdk_Mutex.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Osal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Semaphore/JZsdk_Semaphore.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Task/JZsdk_Task.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Timer/JZsdk_Timer.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/Lwrb/lwrb.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1_RecvDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend_type1/HalSend_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_Hal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_haldata_deal/JZsdk_data_transmisson.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_network/JZsdk_network.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart_UartDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_usb_bulk/JZsdk_usb_bulk.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/Attribute/Attribute.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceMessage/DeviceMessage.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/HardwareInfo/HardwareInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/LanguageInfo/LanguageInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/ActivateMAT/ActivateMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/Country_Code.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/FirewareOriginMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/SerialProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_DataDeal/Gimbal_DataDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_MotorFineTuning/MotorFineTuning.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_SpecialUart/Gimbal_SpecialUart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/H3_ircut/H3_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Alsa/Pcm_AlsaPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDealThread/AudioDealThread.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/AudioFile_Stream_Deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/File_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/pcm_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/FF_Filter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/SoxFiliter/SoxFilter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/NoiseReduction/NoiseReduction.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Resample/pcm_Resample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Megaphone.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/AudioFile_PlayDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/Megaphone_AudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/RealTimeMP2/Megaphone_RealTimeMP2.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFilePlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFileSave.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/RealTimeVoice/Megaphone_RealTimeVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PlayBack/Megaphone_PlayBack.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PowerSimulation/Meg_PowerSimulation.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/cnTTS/cnTTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Espeak_tts/Espeak_tts.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Megaphone_TTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Volume/volume.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/CommonMod.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/HeartBeat/HeartBeat.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PowerManger/PowerManger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PresetTask/PresetTask.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/Upgrade/Upgrade.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Dji_Control/DJI_VideoDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Psdk_UI_io.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/UI_control.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c.o -o ATTENTION_APP -L/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf -rdynamic -lmsc ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libportaudio.so.2 ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libTTS_Player.so ../../../ThirdParty/AlsaLib/lib/arm-cortexa9-linux-gnueabihf/libasound.so.2.0.0 ../../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf/libopus.so ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavcodec.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavdevice.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavfilter.so.9 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavformat.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavutil.so.58 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libpostproc.so.57 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswresample.so.4 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswscale.so.7 ../../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf/libx264.so.157 ../../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf/libfdk-aac.so.2 -Wl,-rpath,/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf
/usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-gcc -pthread -std=gnu99 -lm -ldl -lstdc++ -pthread CMakeFiles/ATTENTION_APP.dir/application/main.c.o CMakeFiles/ATTENTION_APP.dir/application/Megaphone_Attention.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_U3_series/JZ_U3/JZ_u3.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdkLib.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DefineCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode/JZsdk_ReturnCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComParsion.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_MemoryAdapter/JZsdk_MemoryAdapter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Mutex/JZsdk_Mutex.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Osal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Semaphore/JZsdk_Semaphore.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Task/JZsdk_Task.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Timer/JZsdk_Timer.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/Lwrb/lwrb.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1_RecvDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend_type1/HalSend_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_Hal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_haldata_deal/JZsdk_data_transmisson.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_network/JZsdk_network.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart_UartDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_usb_bulk/JZsdk_usb_bulk.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/Attribute/Attribute.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceMessage/DeviceMessage.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/HardwareInfo/HardwareInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/LanguageInfo/LanguageInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/ActivateMAT/ActivateMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/Country_Code.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/FirewareOriginMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/SerialProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_DataDeal/Gimbal_DataDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_MotorFineTuning/MotorFineTuning.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_SpecialUart/Gimbal_SpecialUart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/H3_ircut/H3_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Alsa/Pcm_AlsaPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDealThread/AudioDealThread.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/AudioFile_Stream_Deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/File_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/pcm_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/FF_Filter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/SoxFiliter/SoxFilter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/NoiseReduction/NoiseReduction.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Resample/pcm_Resample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Megaphone.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/AudioFile_PlayDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/Megaphone_AudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/RealTimeMP2/Megaphone_RealTimeMP2.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFilePlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFileSave.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/RealTimeVoice/Megaphone_RealTimeVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PlayBack/Megaphone_PlayBack.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PowerSimulation/Meg_PowerSimulation.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/cnTTS/cnTTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Espeak_tts/Espeak_tts.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Megaphone_TTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Volume/volume.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/CommonMod.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/HeartBeat/HeartBeat.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PowerManger/PowerManger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PresetTask/PresetTask.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/Upgrade/Upgrade.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Dji_Control/DJI_VideoDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Psdk_UI_io.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/UI_control.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o -o ATTENTION_APP -L/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf -rdynamic -lmsc ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libportaudio.so.2 ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libTTS_Player.so ../../../ThirdParty/AlsaLib/lib/arm-cortexa9-linux-gnueabihf/libasound.so.2.0.0 ../../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf/libopus.so ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavcodec.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavdevice.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavfilter.so.9 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavformat.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavutil.so.58 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libpostproc.so.57 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswresample.so.4 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswscale.so.7 ../../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf/libx264.so.157 ../../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf/libfdk-aac.so.2 -Wl,-rpath,/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf
... ...
CMAKE_PROGRESS_1 =
CMAKE_PROGRESS_2 = 1
CMAKE_PROGRESS_3 =
CMAKE_PROGRESS_4 = 2
CMAKE_PROGRESS_5 = 3
CMAKE_PROGRESS_6 =
CMAKE_PROGRESS_7 = 4
CMAKE_PROGRESS_8 = 5
CMAKE_PROGRESS_9 =
CMAKE_PROGRESS_10 = 6
CMAKE_PROGRESS_11 = 7
CMAKE_PROGRESS_12 =
CMAKE_PROGRESS_13 = 8
CMAKE_PROGRESS_14 = 9
CMAKE_PROGRESS_15 =
CMAKE_PROGRESS_16 = 10
CMAKE_PROGRESS_17 = 11
CMAKE_PROGRESS_18 =
CMAKE_PROGRESS_19 = 12
CMAKE_PROGRESS_20 = 13
CMAKE_PROGRESS_21 =
CMAKE_PROGRESS_22 = 14
CMAKE_PROGRESS_23 = 15
CMAKE_PROGRESS_24 =
CMAKE_PROGRESS_25 = 16
CMAKE_PROGRESS_26 = 17
CMAKE_PROGRESS_27 =
CMAKE_PROGRESS_28 = 18
CMAKE_PROGRESS_29 = 19
CMAKE_PROGRESS_30 =
CMAKE_PROGRESS_31 = 20
CMAKE_PROGRESS_32 = 21
CMAKE_PROGRESS_33 =
CMAKE_PROGRESS_34 = 22
CMAKE_PROGRESS_35 = 23
CMAKE_PROGRESS_36 =
CMAKE_PROGRESS_37 = 24
CMAKE_PROGRESS_38 = 25
CMAKE_PROGRESS_39 =
CMAKE_PROGRESS_40 = 26
CMAKE_PROGRESS_41 = 27
CMAKE_PROGRESS_42 =
CMAKE_PROGRESS_43 = 28
CMAKE_PROGRESS_44 = 29
CMAKE_PROGRESS_45 =
CMAKE_PROGRESS_46 = 30
CMAKE_PROGRESS_47 = 31
CMAKE_PROGRESS_48 =
CMAKE_PROGRESS_49 = 32
CMAKE_PROGRESS_50 = 33
CMAKE_PROGRESS_51 =
CMAKE_PROGRESS_52 = 34
CMAKE_PROGRESS_53 = 35
CMAKE_PROGRESS_54 =
CMAKE_PROGRESS_55 = 36
CMAKE_PROGRESS_56 = 37
CMAKE_PROGRESS_57 =
CMAKE_PROGRESS_58 = 38
CMAKE_PROGRESS_59 = 39
CMAKE_PROGRESS_60 =
CMAKE_PROGRESS_61 = 40
CMAKE_PROGRESS_62 = 41
CMAKE_PROGRESS_63 =
CMAKE_PROGRESS_64 = 42
CMAKE_PROGRESS_65 = 43
CMAKE_PROGRESS_66 =
CMAKE_PROGRESS_67 = 44
CMAKE_PROGRESS_68 = 45
CMAKE_PROGRESS_69 =
CMAKE_PROGRESS_70 = 46
CMAKE_PROGRESS_71 = 47
CMAKE_PROGRESS_72 =
CMAKE_PROGRESS_73 = 48
CMAKE_PROGRESS_74 = 49
CMAKE_PROGRESS_75 =
CMAKE_PROGRESS_76 = 50
CMAKE_PROGRESS_3 = 2
CMAKE_PROGRESS_4 = 3
CMAKE_PROGRESS_5 = 4
CMAKE_PROGRESS_6 = 5
CMAKE_PROGRESS_7 = 6
CMAKE_PROGRESS_8 = 7
CMAKE_PROGRESS_9 = 8
CMAKE_PROGRESS_10 = 9
CMAKE_PROGRESS_11 = 10
CMAKE_PROGRESS_12 = 11
CMAKE_PROGRESS_13 = 12
CMAKE_PROGRESS_14 = 13
CMAKE_PROGRESS_15 = 14
CMAKE_PROGRESS_16 =
CMAKE_PROGRESS_17 = 15
CMAKE_PROGRESS_18 = 16
CMAKE_PROGRESS_19 = 17
CMAKE_PROGRESS_20 = 18
CMAKE_PROGRESS_21 = 19
CMAKE_PROGRESS_22 = 20
CMAKE_PROGRESS_23 = 21
CMAKE_PROGRESS_24 = 22
CMAKE_PROGRESS_25 = 23
CMAKE_PROGRESS_26 = 24
CMAKE_PROGRESS_27 = 25
CMAKE_PROGRESS_28 = 26
CMAKE_PROGRESS_29 = 27
CMAKE_PROGRESS_30 = 28
CMAKE_PROGRESS_31 =
CMAKE_PROGRESS_32 = 29
CMAKE_PROGRESS_33 = 30
CMAKE_PROGRESS_34 = 31
CMAKE_PROGRESS_35 = 32
CMAKE_PROGRESS_36 = 33
CMAKE_PROGRESS_37 = 34
CMAKE_PROGRESS_38 = 35
CMAKE_PROGRESS_39 = 36
CMAKE_PROGRESS_40 = 37
CMAKE_PROGRESS_41 = 38
CMAKE_PROGRESS_42 = 39
CMAKE_PROGRESS_43 = 40
CMAKE_PROGRESS_44 = 41
CMAKE_PROGRESS_45 = 42
CMAKE_PROGRESS_46 =
CMAKE_PROGRESS_47 = 43
CMAKE_PROGRESS_48 = 44
CMAKE_PROGRESS_49 = 45
CMAKE_PROGRESS_50 = 46
CMAKE_PROGRESS_51 = 47
CMAKE_PROGRESS_52 = 48
CMAKE_PROGRESS_53 = 49
CMAKE_PROGRESS_54 = 50
CMAKE_PROGRESS_55 = 51
CMAKE_PROGRESS_56 = 52
CMAKE_PROGRESS_57 = 53
CMAKE_PROGRESS_58 = 54
CMAKE_PROGRESS_59 = 55
CMAKE_PROGRESS_60 = 56
CMAKE_PROGRESS_61 = 57
CMAKE_PROGRESS_62 =
CMAKE_PROGRESS_63 = 58
CMAKE_PROGRESS_64 = 59
CMAKE_PROGRESS_65 = 60
CMAKE_PROGRESS_66 = 61
CMAKE_PROGRESS_67 = 62
CMAKE_PROGRESS_68 = 63
CMAKE_PROGRESS_69 = 64
CMAKE_PROGRESS_70 = 65
CMAKE_PROGRESS_71 = 66
CMAKE_PROGRESS_72 = 67
CMAKE_PROGRESS_73 = 68
CMAKE_PROGRESS_74 = 69
CMAKE_PROGRESS_75 = 70
CMAKE_PROGRESS_76 = 71
CMAKE_PROGRESS_77 =
CMAKE_PROGRESS_78 = 51
CMAKE_PROGRESS_79 = 52
CMAKE_PROGRESS_80 =
CMAKE_PROGRESS_81 = 53
CMAKE_PROGRESS_82 = 54
CMAKE_PROGRESS_83 =
CMAKE_PROGRESS_84 = 55
CMAKE_PROGRESS_85 = 56
CMAKE_PROGRESS_86 =
CMAKE_PROGRESS_87 = 57
CMAKE_PROGRESS_88 = 58
CMAKE_PROGRESS_89 =
CMAKE_PROGRESS_90 = 59
CMAKE_PROGRESS_91 = 60
CMAKE_PROGRESS_78 = 72
CMAKE_PROGRESS_79 = 73
CMAKE_PROGRESS_80 = 74
CMAKE_PROGRESS_81 = 75
CMAKE_PROGRESS_82 = 76
CMAKE_PROGRESS_83 = 77
CMAKE_PROGRESS_84 = 78
CMAKE_PROGRESS_85 = 79
CMAKE_PROGRESS_86 = 80
CMAKE_PROGRESS_87 = 81
CMAKE_PROGRESS_88 = 82
CMAKE_PROGRESS_89 = 83
CMAKE_PROGRESS_90 = 84
CMAKE_PROGRESS_91 = 85
CMAKE_PROGRESS_92 =
CMAKE_PROGRESS_93 = 61
CMAKE_PROGRESS_94 = 62
CMAKE_PROGRESS_95 =
CMAKE_PROGRESS_96 = 63
CMAKE_PROGRESS_97 = 64
CMAKE_PROGRESS_98 =
CMAKE_PROGRESS_99 = 65
CMAKE_PROGRESS_100 = 66
CMAKE_PROGRESS_101 =
CMAKE_PROGRESS_102 = 67
CMAKE_PROGRESS_103 = 68
CMAKE_PROGRESS_104 =
CMAKE_PROGRESS_105 = 69
CMAKE_PROGRESS_106 = 70
CMAKE_PROGRESS_107 =
CMAKE_PROGRESS_108 = 71
CMAKE_PROGRESS_109 = 72
CMAKE_PROGRESS_110 =
CMAKE_PROGRESS_111 = 73
CMAKE_PROGRESS_112 = 74
CMAKE_PROGRESS_113 =
CMAKE_PROGRESS_114 = 75
CMAKE_PROGRESS_115 = 76
CMAKE_PROGRESS_116 =
CMAKE_PROGRESS_117 = 77
CMAKE_PROGRESS_118 = 78
CMAKE_PROGRESS_119 =
CMAKE_PROGRESS_120 = 79
CMAKE_PROGRESS_121 = 80
CMAKE_PROGRESS_122 =
CMAKE_PROGRESS_123 = 81
CMAKE_PROGRESS_124 = 82
CMAKE_PROGRESS_125 =
CMAKE_PROGRESS_126 = 83
CMAKE_PROGRESS_127 = 84
CMAKE_PROGRESS_128 =
CMAKE_PROGRESS_129 = 85
CMAKE_PROGRESS_130 = 86
CMAKE_PROGRESS_131 =
CMAKE_PROGRESS_132 = 87
CMAKE_PROGRESS_133 = 88
CMAKE_PROGRESS_134 =
CMAKE_PROGRESS_135 = 89
CMAKE_PROGRESS_136 = 90
CMAKE_PROGRESS_137 =
CMAKE_PROGRESS_138 = 91
CMAKE_PROGRESS_139 = 92
CMAKE_PROGRESS_140 =
CMAKE_PROGRESS_141 = 93
CMAKE_PROGRESS_142 = 94
CMAKE_PROGRESS_143 =
CMAKE_PROGRESS_144 = 95
CMAKE_PROGRESS_145 = 96
CMAKE_PROGRESS_146 =
CMAKE_PROGRESS_147 = 97
CMAKE_PROGRESS_148 = 98
CMAKE_PROGRESS_149 =
CMAKE_PROGRESS_150 = 99
CMAKE_PROGRESS_151 = 100
CMAKE_PROGRESS_93 = 86
CMAKE_PROGRESS_94 = 87
CMAKE_PROGRESS_95 = 88
CMAKE_PROGRESS_96 = 89
CMAKE_PROGRESS_97 = 90
CMAKE_PROGRESS_98 = 91
CMAKE_PROGRESS_99 = 92
CMAKE_PROGRESS_100 = 93
CMAKE_PROGRESS_101 = 94
CMAKE_PROGRESS_102 = 95
CMAKE_PROGRESS_103 = 96
CMAKE_PROGRESS_104 = 97
CMAKE_PROGRESS_105 = 98
CMAKE_PROGRESS_106 = 99
CMAKE_PROGRESS_107 = 100
... ...
... ... @@ -28,28 +28,28 @@ The CXX compiler identification is GNU, found in "/mnt/hgfs/share/JZSDK_Linux/pr
Determining if the C compiler works passed with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_16b89/fast"
/usr/bin/make -f CMakeFiles/cmTC_16b89.dir/build.make CMakeFiles/cmTC_16b89.dir/build
Run Build Command:"/usr/bin/make" "cmTC_581fe/fast"
/usr/bin/make -f CMakeFiles/cmTC_581fe.dir/build.make CMakeFiles/cmTC_581fe.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_16b89.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_16b89.dir/testCCompiler.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_16b89
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16b89.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_16b89.dir/testCCompiler.c.o -o cmTC_16b89 -rdynamic
Building C object CMakeFiles/cmTC_581fe.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_581fe.dir/testCCompiler.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_581fe
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_581fe.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_581fe.dir/testCCompiler.c.o -o cmTC_581fe -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_31610/fast"
/usr/bin/make -f CMakeFiles/cmTC_31610.dir/build.make CMakeFiles/cmTC_31610.dir/build
Run Build Command:"/usr/bin/make" "cmTC_b0d07/fast"
/usr/bin/make -f CMakeFiles/cmTC_b0d07.dir/build.make CMakeFiles/cmTC_b0d07.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_31610
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31610.dir/link.txt --verbose=1
/usr/bin/cc -v CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -o cmTC_31610 -rdynamic
Building C object CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_b0d07
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b0d07.dir/link.txt --verbose=1
/usr/bin/cc -v CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o -o cmTC_b0d07 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
... ... @@ -59,8 +59,8 @@ Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_31610' '-rdynamic' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgWce3S.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_31610 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b0d07' '-rdynamic' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccARvm36.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_b0d07 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -68,14 +68,14 @@ Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_31610/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_31610.dir/build.make CMakeFiles/cmTC_31610.dir/build]
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_b0d07/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_b0d07.dir/build.make CMakeFiles/cmTC_b0d07.dir/build]
ignore line: [make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_31610]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31610.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -o cmTC_31610 -rdynamic ]
ignore line: [Building C object CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_b0d07]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b0d07.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o -o cmTC_b0d07 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
... ... @@ -85,13 +85,13 @@ Parsed C implicit link information from above output:
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_31610' '-rdynamic' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgWce3S.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_31610 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b0d07' '-rdynamic' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccARvm36.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_b0d07 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccgWce3S.res] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccARvm36.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
... ... @@ -109,7 +109,7 @@ Parsed C implicit link information from above output:
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_31610] ==> ignore
arg [cmTC_b0d07] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
... ... @@ -121,7 +121,7 @@ Parsed C implicit link information from above output:
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
arg [CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [CMakeFiles/cmTC_b0d07.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
... ... @@ -155,14 +155,14 @@ Parsed C implicit link information from above output:
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d022c/fast"
/usr/bin/make -f CMakeFiles/cmTC_d022c.dir/build.make CMakeFiles/cmTC_d022c.dir/build
Run Build Command:"/usr/bin/make" "cmTC_ffc0a/fast"
/usr/bin/make -f CMakeFiles/cmTC_ffc0a.dir/build.make CMakeFiles/cmTC_ffc0a.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d022c.dir/feature_tests.c.o
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_d022c.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_d022c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d022c.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_d022c.dir/feature_tests.c.o -o cmTC_d022c -rdynamic
Building C object CMakeFiles/cmTC_ffc0a.dir/feature_tests.c.o
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_ffc0a.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_ffc0a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ffc0a.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_ffc0a.dir/feature_tests.c.o -o cmTC_ffc0a -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -175,14 +175,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_45281/fast"
/usr/bin/make -f CMakeFiles/cmTC_45281.dir/build.make CMakeFiles/cmTC_45281.dir/build
Run Build Command:"/usr/bin/make" "cmTC_18fa9/fast"
/usr/bin/make -f CMakeFiles/cmTC_18fa9.dir/build.make CMakeFiles/cmTC_18fa9.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_45281.dir/feature_tests.c.o
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_45281.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_45281
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45281.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_45281.dir/feature_tests.c.o -o cmTC_45281 -rdynamic
Building C object CMakeFiles/cmTC_18fa9.dir/feature_tests.c.o
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_18fa9.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_18fa9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18fa9.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_18fa9.dir/feature_tests.c.o -o cmTC_18fa9 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -195,14 +195,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b1470/fast"
/usr/bin/make -f CMakeFiles/cmTC_b1470.dir/build.make CMakeFiles/cmTC_b1470.dir/build
Run Build Command:"/usr/bin/make" "cmTC_4c36e/fast"
/usr/bin/make -f CMakeFiles/cmTC_4c36e.dir/build.make CMakeFiles/cmTC_4c36e.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b1470.dir/feature_tests.c.o
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_b1470.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_b1470
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1470.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_b1470.dir/feature_tests.c.o -o cmTC_b1470 -rdynamic
Building C object CMakeFiles/cmTC_4c36e.dir/feature_tests.c.o
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_4c36e.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_4c36e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4c36e.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_4c36e.dir/feature_tests.c.o -o cmTC_4c36e -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -213,28 +213,28 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Determining if the CXX compiler works passed with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a5304/fast"
/usr/bin/make -f CMakeFiles/cmTC_a5304.dir/build.make CMakeFiles/cmTC_a5304.dir/build
Run Build Command:"/usr/bin/make" "cmTC_75e57/fast"
/usr/bin/make -f CMakeFiles/cmTC_75e57.dir/build.make CMakeFiles/cmTC_75e57.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a5304.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_a5304.dir/testCXXCompiler.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_a5304
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a5304.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_a5304.dir/testCXXCompiler.cxx.o -o cmTC_a5304 -rdynamic
Building CXX object CMakeFiles/cmTC_75e57.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_75e57.dir/testCXXCompiler.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_75e57
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75e57.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_75e57.dir/testCXXCompiler.cxx.o -o cmTC_75e57 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8f7b9/fast"
/usr/bin/make -f CMakeFiles/cmTC_8f7b9.dir/build.make CMakeFiles/cmTC_8f7b9.dir/build
Run Build Command:"/usr/bin/make" "cmTC_4fdb3/fast"
/usr/bin/make -f CMakeFiles/cmTC_4fdb3.dir/build.make CMakeFiles/cmTC_4fdb3.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_8f7b9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f7b9.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8f7b9 -rdynamic
Building CXX object CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_4fdb3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4fdb3.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4fdb3 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
... ... @@ -244,8 +244,8 @@ Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8f7b9' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccu6JmuP.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_8f7b9 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4fdb3' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7eRSgX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_4fdb3 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -253,14 +253,14 @@ Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_8f7b9/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_8f7b9.dir/build.make CMakeFiles/cmTC_8f7b9.dir/build]
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_4fdb3/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_4fdb3.dir/build.make CMakeFiles/cmTC_4fdb3.dir/build]
ignore line: [make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_8f7b9]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f7b9.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8f7b9 -rdynamic ]
ignore line: [Building CXX object CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_4fdb3]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4fdb3.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4fdb3 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
... ... @@ -270,13 +270,13 @@ Parsed CXX implicit link information from above output:
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8f7b9' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccu6JmuP.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_8f7b9 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4fdb3' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7eRSgX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_4fdb3 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccu6JmuP.res] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cc7eRSgX.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
... ... @@ -294,7 +294,7 @@ Parsed CXX implicit link information from above output:
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_8f7b9] ==> ignore
arg [cmTC_4fdb3] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
... ... @@ -306,7 +306,7 @@ Parsed CXX implicit link information from above output:
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
arg [CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [CMakeFiles/cmTC_4fdb3.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
... ... @@ -338,14 +338,14 @@ Parsed CXX implicit link information from above output:
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e6b93/fast"
/usr/bin/make -f CMakeFiles/cmTC_e6b93.dir/build.make CMakeFiles/cmTC_e6b93.dir/build
Run Build Command:"/usr/bin/make" "cmTC_0d0f0/fast"
/usr/bin/make -f CMakeFiles/cmTC_0d0f0.dir/build.make CMakeFiles/cmTC_0d0f0.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e6b93.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_e6b93.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_e6b93
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6b93.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_e6b93.dir/feature_tests.cxx.o -o cmTC_e6b93 -rdynamic
Building CXX object CMakeFiles/cmTC_0d0f0.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_0d0f0.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_0d0f0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0d0f0.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_0d0f0.dir/feature_tests.cxx.o -o cmTC_0d0f0 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -411,14 +411,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c7b32/fast"
/usr/bin/make -f CMakeFiles/cmTC_c7b32.dir/build.make CMakeFiles/cmTC_c7b32.dir/build
Run Build Command:"/usr/bin/make" "cmTC_ce6d5/fast"
/usr/bin/make -f CMakeFiles/cmTC_ce6d5.dir/build.make CMakeFiles/cmTC_ce6d5.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c7b32.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_c7b32.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c7b32
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c7b32.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_c7b32.dir/feature_tests.cxx.o -o cmTC_c7b32 -rdynamic
Building CXX object CMakeFiles/cmTC_ce6d5.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_ce6d5.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_ce6d5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ce6d5.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_ce6d5.dir/feature_tests.cxx.o -o cmTC_ce6d5 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -484,14 +484,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_68e1e/fast"
/usr/bin/make -f CMakeFiles/cmTC_68e1e.dir/build.make CMakeFiles/cmTC_68e1e.dir/build
Run Build Command:"/usr/bin/make" "cmTC_38c63/fast"
/usr/bin/make -f CMakeFiles/cmTC_38c63.dir/build.make CMakeFiles/cmTC_38c63.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_68e1e.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_68e1e.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_68e1e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_68e1e.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_68e1e.dir/feature_tests.cxx.o -o cmTC_68e1e -rdynamic
Building CXX object CMakeFiles/cmTC_38c63.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_38c63.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_38c63
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38c63.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_38c63.dir/feature_tests.cxx.o -o cmTC_38c63 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ...
cmake_minimum_required(VERSION 2.8)
if (NOT USE_SYSTEM_ARCH)
# select use platform 'LINUX' or 'RTOS' here, reset cache and reload cmake project
set(USE_SYSTEM_ARCH LINUX)
endif ()
if (USE_SYSTEM_ARCH MATCHES RTOS)
cmake_minimum_required(VERSION 3.15)
set(CMAKE_C_COMPILER arm-none-eabi-gcc)
set(CMAKE_CXX_COMPILER arm-none-eabi-g++)
set(CMAKE_ASM_COMPILER arm-none-eabi-gcc)
set(CMAKE_AR arm-none-eabi-ar)
set(CMAKE_OBJCOPY arm-none-eabi-objcopy)
set(CMAKE_OBJDUMP arm-none-eabi-objdump)
set(SIZE arm-none-eabi-size)
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
endif ()
project(entry)
# Disable in-source builds to prevent source tree corruption.
if (" ${CMAKE_SOURCE_DIR}" STREQUAL " ${CMAKE_BINARY_DIR}")
message(FATAL_ERROR "FATAL: In-source builds are not allowed.
You should create a separate directory for build files.")
endif ()
if (USE_SYSTEM_ARCH MATCHES LINUX)
add_definitions(-DSYSTEM_ARCH_LINUX)
add_subdirectory(samples/sample_c/platform/linux/manifold2)
add_subdirectory(samples/sample_c++/platform/linux/manifold2)
execute_process(COMMAND uname -m OUTPUT_VARIABLE DEVICE_SYSTEM_ID)
if (DEVICE_SYSTEM_ID MATCHES x86_64)
set(LIBRARY_PATH psdk_lib/lib/x86_64-linux-gnu-gcc)
elseif (DEVICE_SYSTEM_ID MATCHES aarch64)
set(LIBRARY_PATH psdk_lib/lib/aarch64-linux-gnu-gcc)
else ()
message(FATAL_ERROR "FATAL: Please confirm your platform.")
endif ()
install(FILES ${LIBRARY_PATH}/libpayloadsdk.a
DESTINATION "${CMAKE_INSTALL_PREFIX}/lib"
)
install(DIRECTORY psdk_lib/include
DESTINATION "${CMAKE_INSTALL_PREFIX}"
)
elseif (USE_SYSTEM_ARCH MATCHES RTOS)
add_definitions(-DSYSTEM_ARCH_RTOS)
add_subdirectory(samples/sample_c/platform/rtos_freertos/stm32f4_discovery/project/armgcc)
endif ()
add_custom_target(${PROJECT_NAME} ALL)
... ...
END USER LICENSE AGREEMENT
YOU AGREE TO USE THE SDK SOLELY IN ACCORDANCE WITH THE TERMS AND CONDITIONS OF THIS END USER LICENSE AGREEMENT (THE “AGREEMENT”), AND YOU AGREE THAT YOU ARE BOUND BY AND ARE A PARTY TO THIS AGREEMENT. YOU WARRANT THAT YOU ARE AT LEAST EIGHTEEN YEARS OLD AND THAT YOU HAVE THE LEGAL CAPACITY TO ENTER INTO CONTRACTS. IF YOU ARE AGREEING TO BE BOUND BY THIS AGREEMENT ON BEHALF OF A COMPANY, ORGANIZATION, OR OTHER ENTITY, THEN (i) “YOU” INCLUDES YOU AND THAT COMPANY, ORGANIZATION OR ENTITY, AND (ii) YOU REPRESENT AND WARRANT THAT YOU ARE AN AUTHORIZED REPRESENTATIVE OF SUCH COMPANY, ORGANIZATION OR ENTITY WITH THE AUTHORITY TO BIND SUCH COMPANY, ORGANIZATION OR ENTITY TO THIS AGREEMENT.
YOUR USE OF THE SDK IS EXPRESSLY CONDITIONED ON YOUR ACCEPTANCE OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU MAY NOT INSTALL OR USE THE SDK.
1. About This Agreement.
1.1 Generally. This Agreement applies to the SDK made available by DJI to you.
1.2 Additional Terms. Certain additional and/or different terms may apply to certain types of users. If you are a federal, state, or local government entity (including but not limited to any agency or other sub-governmental organization thereof) utilizing the SDK in your official capacity, and to whom DJI has agreed to provide the SDK, then our Government Terms apply to you.
2. Definitions
“Analytics Data” means information collected from a DJI Product (e.g., a DJI UAV) that is used in connection with an Application and/or devices used to operate the DJI Product (e.g., a mobile device). The Analytics Data may include Header Data and/or Event Data. Analytics Data may be used by DJI for any lawful purpose, including without limitation, for research or to improve its SDK or DJI Products.
“Application” means a software program that is developed by you using the SDK for use with DJI Products.
“Confidential Information” means the SDK and all other information disclosed to you by DJI that would reasonably be considered to be confidential, or is or was considered by DJI to be confidential, except for information which you can demonstrate: (a) is previously rightfully known to you without restriction on disclosure; (b) is or becomes, from no act or failure to act on your part, generally known in the relevant industry or public domain; (c) is disclosed to you by a third-party as a matter of right and without restriction on disclosure; or (d) is or was independently developed by you without access to, use of, or reference to the Confidential Information.
“Documentation” means any online read me, help files, technical specifications, or other related explanatory materials that are contained in the SDK or that accompany the SDK.
“DJI” means SZ DJI TECHNOLOGY CO., LTD. and its affiliates.
“DJI Products” means DJI hardware, software, and services, such as unmanned aerial vehicles (UAVs), flight controllers, sensors, cameras, gimbals, remote controllers, accessories, etc.
“Event Data” means information about time of operation or events, session identification numbers, event types, and flight operation information, including but not limited to GPS data, navigation, operation, speed, distance, modes, mission, command, altitude, takeoff and landing, payload and other component use, battery levels, etc.
“Header Data” means information about the software (including but not limited to installation identification, app key, SDK version of an Application) and hardware (including but not limited to product identifiers and names of UAVs, payloads, remote controllers, etc.).
“Licensee Disclosure” means any information that you may provide to DJI in connection with this Agreement, including, for example, feedback on errors and improvements within or relating to the SDK.
“Privacy Policy” means DJI’s privacy policy located at https://developer.dji.com/policies/privacy/.
“SDK” or “Software Development Kit” means software (source code and object code), applications, tools, sample code, templates, fonts, logos, icons, images, libraries, interfaces, Updates, Documentation, application programming interfaces (APIs), information, data, files, and other materials, whether tangible or intangible, in whatever form or medium provided to you by DJI for use by you in connection with your Application. For the purpose of this Agreement, SDK includes, without limitation, (a) the DJI “Guidance” software development kit (https://developer.dji.com/guidance-sdk/), (b) the DJI “Mobile” software development kit (https://developer.dji.com/mobile-sdk/), (c) the DJI “Payload” software development kit (https://developer.dji.com/payload-sdk/, and/or (d) the DJI “Onboard” software development kit (https://developer.dji.com/onboard-sdk/).
“Open-Source Component” means software, interfaces and firmware subject to an open-source software license, which means any software license approved as open-source licenses by the Open Source Initiative or any substantially similar licenses, including without limitation any license that, as a condition of distribution of the software licensed under such license, requires that the distributor make the software available in source code format.
“Third-Party Component” means software, interfaces and firmware licensed by DJI from a third-party (e.g., a supplier of DJI) for incorporation into the SDK and distributed as an integral part of the SDK, as applicable. Third-Party Components may include Open-Source Components.
“Updates” means bug fixes, service packs, hot fixes, updates, upgrades, enhancements, modifications, and new releases of versions of the SDK.
“Warranty Logs” means information provided to and/or received by the SDK that is necessary for determining warranty eligibility and product reliability, including without limitation SDK function calls (including without limitation time, function name, results/feedback, etc.), protocol or commands sent from or to a mobile device, an Application, and/or a remote controller (including without limitation time, name, type, command/action, etc.).
3. License.
3.1 License Grants. The SDK is licensed, not sold, to you by DJI and/or, if applicable, its suppliers and licensors. Subject to the terms and conditions of this Agreement, you are hereby granted a limited, worldwide, non-exclusive, non-sublicensable, and nontransferable right to use the SDK solely in the manner described in the Documentation and solely to develop, test, and operate Applications in connection with DJI products.
3.2 Use Restrictions. You may not use the SDK except as permitted in this Agreement and any additional terms and conditions that DJI provides pursuant to Section 3.1. Except with DJI’s prior written consent or otherwise provided herein, you may not: (a) alter, modify or create any derivative works of the SDK, including the underlying source code, or the Documentation in any way, including without limitation customization, translation or localization; (b) port, reverse compile, reverse assemble, reverse engineer, or otherwise attempt to separate any of the components of the SDK or derive the source code for the SDK (except to the extent applicable laws specifically prohibit such restriction); (c) copy, redistribute, encumber, sell, rent, lease, sublicense, or otherwise transfer rights to the SDK; (d) remove or alter any trademark, logo, copyright or other proprietary notices, legends, symbols or labels in the SDK; (e) block, disable, or otherwise affect any advertising, advertisement banner window, links to other sites and services, or other features that constitute an integral part of the SDK; or (f) use any part of the SDK to develop applications for use with hardware devices that are not DJI Products, unless they are the devices running the applications or are devices connected (directly or indirectly) to DJI Product(s) the SDK interfaces with. You may not release the results of any performance or functional evaluation of any of the SDK to any third-party without prior written approval of DJI for each such release. You may not cause or permit any third-party to do any of the foregoing.
3.3 Distribution of Object Code. You may distribute your Application with object code of the SDK, provided that you must: (1) distribute such object code of the SDK in execution form only; (2) distribute such code only as a part of your Applications; (3) not distribute any portion of the SDK that is not object code, including but not limited to source code, header files and Documentation; (4) not charge a separate price or fee for the object code of the SDK that is distinct from the fee you charge for your Application; (5) not distribute, link, or integrate the object code of the SDK such that any part of the object code of the SDK becomes subject to an open source license; and (6) include the following copyright notice within your Application’s source code in the same locations as your own copyright notice: “Portions copyright (c) 2014–Present DJI. All rights reserved.”. To the extent that any source code is provided to you as part of the SDK, you may use, modify and compile the source code solely for the purposes of developing your Applications.
3.4 Third-Party Components. You acknowledge that the SDK may contain Third-Party Components. All third-party licensors and suppliers retain all right, title and interest in and to such Third-Party Components and all copies thereof, including all copyright and other intellectual property rights. Your use of any Third-Party Components shall be subject to, and you shall comply with, the terms and conditions of this Agreement, and the applicable restrictions and other terms and conditions set forth in any Third-Party Components documentation or printed materials, including without limitation an end user license agreement.
3.5 Open-Source Components. The SDK may include Open-Source Components that are subject to open-source software licenses. The Documentation accompanying the SDK includes copies of the licenses applicable to the Open-Source Components. To the extent there is conflict between the license terms covering the Open-Source Components and this Agreement, the terms of such licenses will apply in lieu of the terms of this Agreement. To the extent the terms of the licenses applicable to Open-Source Components prohibit any of the restrictions in this Agreement with respect to such Open-Source Component, such restrictions will not apply to such Open-Source Component.
4. Reservation of Rights. DJI and its licensors reserve all rights, including but not limited to ownership and intellectual property rights, including in the SDK, not expressly granted to you. DJI’s licensors are the intended third-party beneficiaries of this Agreement and have the express right to rely upon and directly enforce the terms set forth herein. There are no implied licenses granted by DJI under this Agreement. Except as specified above, you shall have no rights to the SDK. You acknowledge and agree that the form and nature of the SDK that DJI provides may change without prior notice to you and that future versions of the SDK may be incompatible with Applications developed on previous versions of the SDK. You acknowledge and agree that DJI may stop providing the SDK or any features of the SDK permanently or temporarily to you or users generally at DJI’s sole discretion, without prior notice to you. If the SDK is a “beta” release, you acknowledge and agree that the SDK is a “beta” release for evaluation purposes only and may contain bugs, defects and errors and that the SDK may fail, return inaccurate results, and/or be subject to other malfunctions.
5. Your Applications and Use of the SDK.
5.1 Rights in Your Applications. Subject to Section 4 above, DJI agrees that it obtains no right, title, or interest from you (or your licensors) under this Agreement in or to any Applications that you develop using the SDK, including any sole and separate intellectual property rights of yours that subsist in those Applications.
5.2 Permitted Applications. You agree to use the SDK and develop Applications solely for purposes that are permitted by: (a) this Agreement; (b) the DJI Developer Policy available at https://developer.dji.com/policies/developer/; and (c) any applicable law, rule, regulation, or generally accepted practice or guideline in the relevant jurisdiction, including but not limited to laws, rules, or regulations regarding the export of data or software to and from the United States or other relevant countries, and national, public, and personal security.
5.3 Your Responsibilities. You agree that you are solely responsible for, and that DJI has no responsibility to you or any third-party for, or access to: (a) any data, content, or resources that you create, transmit, or display through the Applications you develop on or with the SDK (whether originating with you or a third-party), and for the consequences of your actions (including any loss or damage suffered by DJI) by doing so; and (b) any breach of your obligations under this Agreement, any applicable third-party contract or terms of service, or any applicable law, rule, or regulation, and for the consequences (including any loss or damage suffered by DJI) of any such breach.
5.4 Compliance with Law; Safety. For the avoidance of doubt, you agree that you shall at all times strictly comply with all applicable laws, rules and regulations and shall not threaten the safety of national security, public security, or the health, privacy, or safety of any person.
6. Privacy and Automatically Collected Information.
6.1 SDK Use and User Information. In order to continually improve the SDK, DJI may automatically collect certain usage statistics including, but not limited to, unique identifiers, associated IP address, and other information on which tools and services in the SDK are being used and how they are being used. This data is collected in the aggregate to improve the SDK and is maintained in accordance with DJI’s Privacy Policy. We may also collect certain personal information from you, including but not limited to your legal name, mailing address, phone number, email address, and other contact or personal information. We may also collect additional information in order to verify your identity or provide certain functions. This information will be maintained in accordance with DJI’s Privacy Policy, and you hereby agree that we may share this information with our third-party business partners for purposes of verifying your identity or provide certain functions and as otherwise permitted by our Privacy Policy.
6.2 Application User Information. The SDK may automatically collect Analytics Data, such as Header Data and/or Event Data. The Analytics Data may be provided to DJI and used by DJI for any use in research or improving its SDK or DJI Products. The Analytics Data may be used by DJI for any lawful purpose, including without limitation, for research or to improve its SDK or DJI Products. Certain SDK (e.g., Mobile SDK) may also automatically collect Warranty Log information, for example, for the purpose of determining warranty eligibility and product reliability. The Warranty Logs are stored locally on a device running the Application (e.g., mobile device) and are not automatically transmitted to DJI without prior user consent. You may be required to make the Warranty Logs available to DJI to support any warranty claims regarding the SDK. By using the SDK and creating an Application, you represent and warrant that you will provide clear and conspicuous notice to each user of the Application of the automatic collection, storage, and DJI’s use of the Analytics Data and Warranty Logs, and that you will obtain any legally-required consents for DJI to receive and use the Analytics Data and Warranty Logs for the purposes specified herein. The Application User Information is maintained in accordance with DJI’s Privacy Policy located at https://developer.dji.com/policies/privacy/.
7. Proprietary Rights. You acknowledge and agree that the SDK belongs to DJI or its licensors. You agree that you neither own nor hereby acquire any claim or right of ownership to the SDK or to any related patents, copyrights, trademarks, or other intellectual property. DJI and its licensors retain all right, title, and interest in and to all copies of the SDK at all times, regardless of the form or media in or on which the original or other copies may subsequently exist. This license is not a sale of the original or any subsequent copy. The SDK is protected by copyright and other intellectual property laws and by international treaties. You may not make any copies of the SDK except as otherwise permitted by this Agreement. Any and all other copies of the SDK made by you are in violation of this license. All content accessed through the SDK is the property of the applicable content owner and may be protected by applicable copyright law. This license gives you no rights to such content. All trademarks used in connection with the SDK are owned by DJI, its affiliates and/or its licensors and other suppliers, and no license to use any such trademarks is provided hereunder.
8. Information Submitted to DJI Not Deemed Confidential. DJI works with many application developers and some of their products may be similar to or compete with Your Applications. DJI may also be developing its own similar or competing applications, or may decide to do so in the future. To avoid potential misunderstandings, DJI CANNOT AGREE, AND EXPRESSLY DISCLAIMS, ANY CONFIDENTIALITY OBLIGATIONS OR USE RESTRICTIONS, EXPRESS OR IMPLIED, WITH RESPECT TO ANY LICENSEE DISCLOSURE. Such licensee disclosure may include, for example, feedback on errors and improvements within or relating to the SDK. You agree any such licensee disclosure will be non-confidential. DJI will be free to use and disclose any licensee disclosure on an unrestricted basis without notifying or compensating you. You release DJI from all liability and obligations that may arise from the receipt, review, use, or disclosure of any portion of any licensee disclosure. Any physical materials you submit to DJI will become DJI property and DJI will have no obligation to return those materials to you or to certify their destruction.
9. No Support. This Agreement does not entitle you to receive from DJI or its licensors hard-copy documentation, support, telephone assistance, or enhancements or updates to the SDK.
10. Term and Termination. This Agreement and your right to use the SDK may be terminated by you or by DJI at any time upon written notice. This Agreement automatically terminates if you fail to comply with its terms and conditions. Immediately upon termination, you shall return or destroy all copies of the SDK in your possession, custody, or control and, if requested by DJI, you shall certify to DJI in writing that such return or destruction has occurred. The following Sections of this Agreement survive any expiration or termination hereof: 1, 2, 3.2, 3.3, 3.4, 3.5, and 4 through 18 (inclusive).
11. No warranty. YOU AGREE THAT THE SDK IS PROVIDED “AS IS” AND THAT DJI AND ITS LICENSORS MAKE NO OTHER WARRANTY AS TO THE SDK, INCLUDING, BUT NOT LIMITED TO, UNINTERRUPTED USE, ACCURACY, AND DATA LOSS. DJI AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, PRIVACY, SECURITY, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE (EVEN IF DJI KNOWS OR SHOULD HAVE KNOWN OF SUCH PURPOSE), RELATED TO THE SDK, ITS USE OR ANY INABILITY TO USE IT, THE RESULTS OF ITS USE AND THIS AGREEMENT. DJI AND ITS LICENSORS DO NOT WARRANT THAT THE SDK OR ANY RESULTS OF USE THEREOF WILL BE FREE OF DEFECTS, ERRORS OR VIRUSES, RELIABLE OR ABLE TO OPERATE ON AN UNINTERRUPTED BASIS OR IN A PARTICULAR ENVIRONMENT OR THAT ERRORS THEREIN, IF ANY, WILL BE CORRECTED.
12. Limitation of Liability. TO THE FULLEST EXTENT PERMITTED BY LAW, DJI AND ITS AFFILIATES AND LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES, WHETHER IN CONTRACT OR TORT (INCLUDING NEGLIGENCE) OR ANY OTHER LEGAL OR EQUITABLE THEORY, ARISING FROM THIS AGREEMENT AND/OR YOUR USE OF THE SDK OR DEVELOPMENT OR DISTRIBUTION OF ANY APPLICATION, INCLUDING WITHOUT LIMITATION ANY INDIRECT, CONSEQUENTIAL, SPECIAL, EXEMPLARY, INCIDENTAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. YOU AGREE THAT YOU SHALL HAVE THE SOLE RESPONSIBILITY FOR PROTECTING YOUR DATA, BY PERIODIC BACKUP OR OTHERWISE, USED IN CONNECTION WITH THE SDK. IN ANY CASE, DJI AND ITS AFFILIATES AND LICENSORS’ SOLE LIABILITY AND YOUR EXCLUSIVE REMEDY UNDER ANY PROVISION OF THIS AGREEMENT SHALL BE TO STOP USING THE SDK, WITH THE EXCEPTION OF DEATH OR PERSONAL INJURY CAUSED BY THE SOLE NEGLIGENCE OF DJI, AND SOLELY TO THE EXTENT APPLICABLE LAW PROHIBITS THE LIMITATION OF DAMAGES IN SUCH CASES.
13. Indemnification. TO THE MAXIMUM EXTENT PERMITTED BY LAW, YOU AGREE TO DEFEND, INDEMNIFY, AND HOLD HARMLESS DJI, ITS AFFILIATES AND THEIR RESPECTIVE DIRECTORS, OFFICERS, EMPLOYEES, AND AGENTS FROM AND AGAINST ANY AND ALL CLAIMS, ACTIONS, SUITS, OR PROCEEDINGS, AS WELL AS ANY AND ALL LOSSES, LIABILITIES, DAMAGES, COSTS, AND EXPENSES (INCLUDING REASONABLE ATTORNEYS’ FEES) ARISING OUT OF OR ACCRUING FROM: (A) YOUR USE OF THE SDK, INCLUDING THIRD-PARTY SOFTWARE AND/OR DOCUMENTATION; (B) ANY APPLICATION YOU DEVELOP ON OR WITH THE SDK THAT IS ALLEGED TO OR DETERMINED TO INFRINGE ANY PATENT, COPYRIGHT, TRADEMARK, OR OTHER INTELLECTUAL PROPERTY OR PROPRIETARY RIGHT OF A THIRD PARTY; AND (C) YOUR NONCOMPLIANCE WITH ANY TERM OF THIS AGREEMENT, EXCEPT FOR DEATH OR PERSONAL INJURY CAUSED BY THE SOLE NEGLIGENCE OF DJI.
14. Confidentiality. You shall use your best efforts to preserve and protect the confidentiality of the Confidential Information at all times, both during the term hereof and for a period of at least 3 years after termination of this Agreement, provided, however, that any source code you receive shall be held in confidence in perpetuity. You shall not disclose, disseminate, or otherwise publish or communicate Confidential Information to any person, firm, corporation or other third-party without the prior written consent of DJI. You shall not use any Confidential Information other than in the course of the activities permitted hereunder. You agree to use your best efforts to prevent and protect the contents of the SDK from unauthorized disclosure or use. You shall notify DJI in writing immediately upon discovery of any unauthorized use or disclosure of Confidential Information or any other breach of this Agreement, and will cooperate with DJI in every reasonable way to regain possession of Confidential Information and prevent any further unauthorized use.
If you are legally compelled to disclose any of the Confidential Information, then, prior to such disclosure, you will (i) immediately notify DJI prior to such disclosure to allow DJI an opportunity to contest the disclosure, (ii) assert the privileged and confidential nature of the Confidential Information, and (iii) cooperate fully with DJI in protecting against any such disclosure and/or obtaining a protective order narrowing the scope of such disclosure and/or use of the Confidential Information. In the event such protection is not obtained, you shall disclose the Confidential Information only to the extent necessary to comply with the applicable legal requirements.
15. Injunctive Relief. You acknowledge and agree that your breach or threatened breach of this Agreement shall cause DJI irreparable damage for which recovery of money damages would be inadequate and that DJI therefore may obtain timely injunctive relief to protect its rights under this Agreement in addition to any and all other remedies available at law or in equity.
16. Export Controls. The SDK and the underlying information and technology may not be downloaded or otherwise exported or re-exported (a) into (or to a national or resident of) any country to which the U.S. has embargoed goods; or (b) to or through or involve any party on any U.S. government screening or prohibited list (including those as updated from time-to-time on the U.S. Consolidated Screening List (available at http://export.gov/ecr/eg_main_023148.asp). By downloading or using the SDK and/or Documentation, you are agreeing to the foregoing and you represent and warrant that you are not located in, under the control of, or a national or resident of any such country or on any such list and you agree to comply with all export laws and other applicable laws.
17. Miscellaneous. (a) This Agreement, together with any amendments and any additional agreements you may enter into with DJI in connection with the use of SDK, shall constitute the entire agreement between the parties concerning the subject matter hereof, which may only be modified by a written amendment signed by an authorized executive of DJI. (b) Any dispute, controversy, difference or claim arising out of or relating to this contract, including the existence, validity, interpretation, performance, breach or termination thereof or any dispute regarding non-contractual obligations arising out of or relating to it shall be referred to and finally resolved by arbitration administered by the Hong Kong International Arbitration Centre (“HKIAC”) under the HKIAC Administered Arbitration Rules in force when the Notice of Arbitration is submitted. The law of this arbitration clause shall be Hong Kong law, excluding its conflict of law provisions. The seat of arbitration shall be Hong Kong. The number of arbitrators shall be three (3) in accordance with such rules. The arbitration proceedings shall be conducted in English. Any awards of shall be final and binding upon the applicable parties. (c) This Agreement shall not be governed by the United Nations Convention on Contracts for the International Sale of Goods. (d) If any part of this Agreement is held invalid or unenforceable, that part shall be construed to reflect the parties' original intent, and the remaining portions remain in full force and effect, or DJI may at its option terminate this Agreement. (e) The controlling language of this Agreement is English. If you have received a translation into another language, it has been provided for your convenience only. (f) A waiver by either party of any term or condition of this Agreement or any breach thereof, in any one instance, shall not waive such term or condition or any subsequent breach thereof. (g) You may not assign or otherwise transfer by operation of law or otherwise this Agreement or any rights or obligations herein. DJI may assign this Agreement to any entity at its sole discretion. (h) This Agreement shall be binding upon and shall inure to the benefit of the parties, their successors and permitted assigns.
18. User Outside the People’s Republic of China. If you are using the SDK outside the People’s Republic of China, then the following shall apply: (a) You confirm that this Agreement and all related documentation is and will be in the English language; (b) you are responsible for complying with any local laws in your jurisdiction which might impact your right to import, export or use the SDK, and you represent that you have complied with any regulations or registration procedures required by applicable law to make this license enforceable.
This End User License Agreement was last modified on December 11, 2017.
... ...