fix include path error

This commit is contained in:
kingecg 2023-04-02 10:44:21 +08:00
parent c844a143fc
commit 43273652a0
5 changed files with 11 additions and 12 deletions

View File

@ -1,7 +1,7 @@
#ifndef CONVERT_H #ifndef CONVERT_H
#define CONVERT_H #define CONVERT_H
#include <string> #include <string>
#include <HCNetSDK.h> #include "HCNetSDK.h"
using namespace std; using namespace std;
void convert_str_chararr(string src, char *dst, int dstlen); void convert_str_chararr(string src, char *dst, int dstlen);
void convert_isotimestr_time(string timestr, int timezone, LPNET_DVR_TIME time); void convert_isotimestr_time(string timestr, int timezone, LPNET_DVR_TIME time);

View File

@ -3,13 +3,12 @@
#include <bitset> #include <bitset>
#include <unistd.h> #include <unistd.h>
#include <time.h> #include <time.h>
#include "HCNetSDK.h" #include "../include/HCNetSDK.h"
#include "HkStreamer.h" #include "../include/HkStreamer.h"
#include "convert.h" #include "../include/convert.h"
using namespace std; using namespace std;
const int outcache_size=1024; const int outcache_size=1024;
void CALLBACK fPlayDataCallBack(LONG lPlayHandle, DWORD dwDataType, BYTE *pBuffer, DWORD dwBufSize, void* dwUser) void CALLBACK fPlayDataCallBack(LONG lPlayHandle, DWORD dwDataType, BYTE *pBuffer, DWORD dwBufSize, void* dwUser){
{
DWORD remained = dwBufSize; DWORD remained = dwBufSize;
char cache[outcache_size]={0}; char cache[outcache_size]={0};
BYTE *cp; // cp head point BYTE *cp; // cp head point

View File

@ -1,7 +1,7 @@
#include "cmdlineparser.h" #include "../include/cmdlineparser.h"
#include <iostream> #include <iostream>
#include "string.h" #include "string.h"
#include "convert.h"
using namespace std; using namespace std;
template<typename T> template<typename T>
bool mapHasKey(map<int, T> *pMap, int key){ bool mapHasKey(map<int, T> *pMap, int key){

View File

@ -1,7 +1,7 @@
#include "convert.h" #include "../include/convert.h"
#include <string> #include <string>
#include <cstring> #include <cstring>
#include <HCNetSDK.h> #include "../include/HCNetSDK.h"
#include "time.h" #include "time.h"
using namespace std; using namespace std;

View File

@ -1,10 +1,10 @@
#include "HkStreamer.h" #include "../include/HkStreamer.h"
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#include <map> #include <map>
#include <getopt.h> #include <getopt.h>
#include <time.h> #include <time.h>
#include "cmdlineparser.h" #include "../include/cmdlineparser.h"
using namespace std; using namespace std;
void error(string msg) void error(string msg)