0
當我嘗試在調試64位配置中使用VS 2010在64位Windows 7上構建項目時,出現此錯誤以及其他兩個錯誤。VS2010編譯器和cuda錯誤:鏈接規範與以前的「hypot」不兼容
error: linkage specification is incompatible with previous "hypot" in math.h line 161
error: linkage specification is incompatible with previous "hypotf" in math.h line 161
error: function "abs(long long)" has already been defined in math_functions.h line 534
我沒有在32位版本中得到這些錯誤。另外,這個64位版本可以在VS2008上運行。有沒有適當的解決這個問題,或者我應該等到nvcc支持VS 2010編譯器?