Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Xcode 中使用 OpenCV。我一直在关注这个线程,但是 OpenCV 的 dylib 在里面,/usr/local/lib而不是在/opt/local/lib里面有没有办法看到 Xcode 中的第一条路径?我应该更改 OpenCV 的安装路径吗?不知道/usr/local和之间有没有区别/opt/local
/usr/local/lib
/opt/local/lib
/usr/local
/opt/local
该链接假定这/opt/local/是 OpenCV 库的安装路径。您应该能够/opt/local/在教程中简单地用/usr/local/.
/opt/local/
/usr/local/
是的,这两条路径是不同的位置。