如何在 cygwin 上为 g++ 安装 nan.h?
How to install nan.h on cygwin for g++?
我无法在 cygwin 上构建这个简单的程序:
#include <nan.h>
int main(){}
我收到此错误消息:
$ g++ a.cpp
a.cpp:1:17: fatal error: nan.h: No such file or directory
compilation terminated.
是否可以在 cygwin 上安装一些东西以获得正确的结果nan.h?
您需要弄清楚 nan.h 的位置,然后将此路径添加到包含文件中。
How to make g++ search for header files in a specific directory?
nan.h 是旧 gcc 的过时包含。在 Cygwin NAN 上定义在 math.h
您不能使用 2008 年编写的软件
https://boutell.com/fracster-src/doubledouble/doubledouble.html
对于这样的特定问题,只是希望它能开箱即用。
我无法在 cygwin 上构建这个简单的程序:
#include <nan.h>
int main(){}
我收到此错误消息:
$ g++ a.cpp
a.cpp:1:17: fatal error: nan.h: No such file or directory
compilation terminated.
是否可以在 cygwin 上安装一些东西以获得正确的结果nan.h?
您需要弄清楚 nan.h 的位置,然后将此路径添加到包含文件中。
How to make g++ search for header files in a specific directory?
nan.h 是旧 gcc 的过时包含。在 Cygwin NAN 上定义在 math.h
您不能使用 2008 年编写的软件
https://boutell.com/fracster-src/doubledouble/doubledouble.html
对于这样的特定问题,只是希望它能开箱即用。