You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed boost with command brew install boost, but the path of boost is /opt/homebrew/lib and /opt/homebrew/include. Now, when I start compiling, there's a error says "'boost/dynamic_bitset.hpp' file not found" in file TemplatedVocabulary, but actually this .hpp file is in /opt/homebrew/include/boost. My Mac is MacBook pro 2021 with CPU M1 Pro. Hope anyone help me? Thanks!
(我用brew install boost安装了boost库,但是安装目录是在/opt/homebrew下,这是brew程序自动选择的安装路径。然后我编译报错没找到boost/dynamic_bitset.hpp文件,但是实际上这个hpp是找得到的,现在我束手无策,网上也没搜到靠谱能用的教程,求教github里的诸位大佬)
The text was updated successfully, but these errors were encountered:
Not sure if you solved the problem already. Here is the solution for my case. I'm with Macbook air M2 2022.
I followed the instruction of "brew install boost" and the default path of boost is
/opt/homebrew/Cellar/boost/1.80.0/include
/opt/homebrew/Cellar/boost/1.80.0/lib
I manually add the path to the Build Settings. Select the project -->Build Settings --> Select All --> Find the Search Paths
Put /opt/homebrew/Cellar/boost/1.80.0/include in the Header Search Paths
Put /opt/homebrew/Cellar/boost/1.80.0/lib in the Library Search Paths
I have installed boost with command
brew install boost
, but the path of boost is /opt/homebrew/lib and /opt/homebrew/include. Now, when I start compiling, there's a error says "'boost/dynamic_bitset.hpp' file not found" in file TemplatedVocabulary, but actually this .hpp file is in /opt/homebrew/include/boost. My Mac is MacBook pro 2021 with CPU M1 Pro. Hope anyone help me? Thanks!(我用brew install boost安装了boost库,但是安装目录是在/opt/homebrew下,这是brew程序自动选择的安装路径。然后我编译报错没找到boost/dynamic_bitset.hpp文件,但是实际上这个hpp是找得到的,现在我束手无策,网上也没搜到靠谱能用的教程,求教github里的诸位大佬)
The text was updated successfully, but these errors were encountered: