标签:clu bsp dataset 头文件 flag 版本号 封装 text EOS
pkg-config
简单来说就是向用户向程序提供相应库的路径、版本号等信息的程序。
$ pkg-config --libs --cflags opencv
$ pkg-config --libs --cflags gstreamer-1.0
会显示以下信息
-I/usr/include/opencv -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_datasets -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_line_descriptor -lopencv_optflow -lopencv_video -lopencv_plot -lopencv_reg -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_rgbd -lopencv_viz -lopencv_surface_matching -lopencv_text -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_flann -lopencv_xobjdetect -lopencv_objdetect -lopencv_ml -lopencv_xphoto -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_photo -lopencv_imgproc -lopencv_core
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
是从包名为 xxx.pc
这个文件中找到的,比如以上的两条命令,他就是从opencv.pc
、gstreamer-1.0.pc
中找到的
.pc文件 是对其的库文件路径,头文件路径,版本号等一些参数进行封装。
标签:clu bsp dataset 头文件 flag 版本号 封装 text EOS
原文地址:https://www.cnblogs.com/yangxingsha/p/12905455.html