在Mac上使用macport安装的时候什么是Boost库的默认位置? [英] what is the default location for boost library when installed using macport on mac ?

查看:550
本文介绍了在Mac上使用macport安装的时候什么是Boost库的默认位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在Mac上已经安装提振,使用macport使用下面的命令

I just now installed boost on mac, using macport with following command

sudo port install boost

它安装好,但我不知道在哪里Boost库得到了安装。结果
它应该在哪里/我怎么能寻找它?

It's installed fine, but I have no idea where the boost library got installed to.
Where should it be / how could I search for it?

推荐答案

的头应该是的/ usr /本地/包括/升压和库应该在的/ usr / local / lib目录。或者在 /选择/本地/包括/升压 /选择/ local / lib目录,我相信。

The headers should be in /usr/local/include/boost and the libs should be in /usr/local/lib. Or in /opt/local/include/boost and /opt/local/lib, I believe.

您可以搜索使用定位

locate boost

这篇关于在Mac上使用macport安装的时候什么是Boost库的默认位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆