NetBeans使用pkgconfig开发配置环境

2021-03-27 04:28

阅读:638

标签:str   efi   alt   开发   环境   strong   desc   orm   config   

# Package Information for pkg-config

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir_old=${prefix}/include/opencv
includedir_new=${prefix}/include

Name: OpenCV
Description: Open Source Computer Vision Library
Version: 2.4.13.6
Libs: -L${exec_prefix}/lib -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab -lrt -lpthread -lm -ldl
Cflags: -I${includedir_old} -I${includedir_new}

  以上是opencv.pc内容。

 

 

1  NetBeans远程连接linux环境使用opencv开发,若安装过程中未指定地址,则安装在 /usr/local 中。

2  将 /usr/local/lib/pkgconfig opencv.pc复制到 /usr/lib64/pkgconfig 中,则在NetBeans开发过程中可以添加opencv

技术图片

 

NetBeans使用pkgconfig开发配置环境

标签:str   efi   alt   开发   环境   strong   desc   orm   config   

原文地址:https://www.cnblogs.com/mathyk/p/12633053.html


评论


亲,登录后才可以留言!