CFLAGS += -I$(PWD)/src
CFLAGS += -I./third_party/hisi/include
CFLAGS += -L./third_party/hisi/lib
CXXFLAGS += -I$(PWD)/src
CXXFLAGS += -I./third_party/hisi/include
CXXFLAGS += -L./third_party/hisi/lib
CXXFLAGS += -I./third_party/opencv343/include
CXXFLAGS += -L./third_party/opencv343/lib
LD_OPENCV_LIBS += -lopencv_world -lopencv_highgui -lopencv_imgproc -lopencv_video -lopencv_videoio -lopencv_dnn -lopencv_ml -lopencv_photo -lopencv_objdetect -lopencv_stitching -lopencv_flann -lopencv_imgcodecs -lopencv_core -lopencv_calib3d -lopencv_features2d
LD_HISI_LIBS += -laacdec -laacenc -laaccomm\
-ldnvqe -lhdmi -lhi_cipher -lhifisheyecalibrate \
-live -lmd -lmpi -lsecurec -lsvpruntime -ltde -lupvqe -lVoiceEngine -lnnie
CXXFLAGS += ${LD_OPENCV_LIBS}
CXXFLAGS += -std=c++11
CXXFLAGS += -Wno-error
CXXFLAGS += -fomit-frame-pointer -fstrict-aliasing -ffunction-sec
gcc/g++交叉编译*.c/*.cpp程序时的配置
最新推荐文章于 2023-07-24 11:07:06 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)