0

我无法让CUSP(0.2 版)库在 windows7 x64 和 Visual Studio 2008 下运行。包括例如:

#include <cusp/hyb_matrix.h>

我收到以下错误:

error C2039: 'hypotf' : is not a member of '`global namespace'' c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include\cusp\complex.h  742

有人遇到过这个错误或知道如何让它运行吗?

4

1 回答 1

0

POSIX 标准数学库提供hypothypotf. Microsoft 的库定义_hypothypotf. 您可能需要修补cusp/complex.h才能解决它。您可能还想在此处向 CUSP 开发人员发布错误报告,这似乎是他们想要修复的问题。

于 2011-10-18T17:28:04.340 回答