lnn.c:4:9: fatal error: 'nanomsg/nn.h' file not found, torch nn安装错误解决办法
2018-03-22 15:19
2747 查看
问题:
ubuntu@ubuntu-PC:~/liujie/luarocks-2.1.0$ sudo luarocks install nnInstalling https://rocks.moonscript.org/nn-1.0.4-1.src.rock... Using https://rocks.moonscript.org/nn-1.0.4-1.src.rock... switching to 'build' mode
gcc -O2 -fPIC -I/usr/include/lua5.1 -c lnn.c -o lnn.o
lnn.c:4:23: fatal error: nanomsg/nn.h: No such file or directory
compilation terminated.
Error: Build error: Failed compiling object lnn.o
解决办法:
sudo ~/torch/install/bin/luarocks install nn其中, ~/torch/指的是torch的安装路径
相关文章推荐
- python安装软件出现错误 fatal error: 'libxml/xmlversion.h' file not found
- ADS编译错误Error: Fatal L6002U:Could not open file:.....解决办法
- python解决osx安装PIL时的_imagingft.c:73:10: fatal error: 'freetype/fterrors.h' file not found
- MySQL启动错误ERROR! MySQL server PID file could not be found的解决办法
- 【解决方法】macOS 安装Resin失败:fatal error: 'openssl/ssl.h' file not found
- SAP BPC Automation error 及File not found错误解决办法
- 使用 EasyBCD 安装Ubuntu 14.04 Error 15: file not found错误的解决方法
- 【解决办法】Hadoop安装完后,启动时报Error: JAVA_HOME is not set and could not be found.
- 解决clang"fatal error: 'stdio.h' file not found"问题
- linux 内核编译时出现scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h错误的解决办法
- 编译安装php报错PHP configure: error: mcrypt.h not found. Please reinstall libmcrypt. 解决办法
- android编程中遇到的关于java.io.FileNotFoundException: /mnt/sdcard/update.zip (Permission denied)错误的原因及解决办法
- hadoop 报错Error: java.io.FileNotFoundException: Path is not a file:/xx1/xx2的解决办法
- 当你面对以下错误束手无措时 :fatal error C1902: 程序数据库管理器不匹配;请检查安装的解决办法
- web服务发生错误 System.IO.FileNotFoundException 解决办法
- Docker容器启动lnmp环境下的mysql服务时报"MySQL server PID file could not be found"错误解决办法
- 支付宝sdk集成过程中报 openssl/asn1.h file not found错误的解决办法
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- Win10运行正当防卫2(Just Cause 2),出现“DXGI_ERROR_NOT_FOUND”错误的解决办法。
- (转)安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法