2016-11-15 99 views
2

我想在macOS上用LuaRocks安裝nn。但運行在MAC上找不到'nanomsg/nn.h'文件

sudo luarocks install nn  //I use sudo because otherwise I don't have permission to install 

當我收到錯誤

lnn.c:4:9: fatal error: 'nanomsg/nn.h' file not found include ^1 error generated.

我怎樣才能解決這個問題?

回答

2

釀造來拯救。

運行:

brew install nanomsg 

這爲我工作。

相關問題