# PFramework **Repository Path**: pzy88/pframework ## Basic Information - **Project Name**: PFramework - **Description**: No description available - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-07 - **Last Updated**: 2024-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ubuntu 安装OpenCV ```cmake # sudo cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. #编译 sudo make -j 8 #安装 sudo make install #配置 在文件中增加 include /usr/loacal/lib 后运行 sudo ldconfig sudo gedit /etc/ld.so.conf #配置修改2 sudo gedit /etc/bash.bashrc #在文件末尾新增 后运行 source /etc/bash.bashrc PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig export PKG_CONFIG_PATH #验证 pkg-config opencv --modversion ```