码迷,mamicode.com
首页 > Web开发 > 详细

NetBeans使用pkgconfig开发配置环境

时间:2020-04-04 18:40:07      阅读:76      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!