0

I have trouble getting the CUSP (version 0.2) library running under windows7 x64 and visual studio 2008. When including for example:

#include <cusp/hyb_matrix.h>

i get the following error:

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

Anyone ever encountered this error or know how to get it running?

MvG
  • 57,380
  • 22
  • 148
  • 276
scigor
  • 1,603
  • 5
  • 24
  • 38

1 Answers1

0

POSIX standard math libraries provide hypot and hypotf. Microsoft's libraries define _hypotand hypotf. You will probably have to patch cusp/complex.h to work around it. You might also want to post a bug report with the CUSP developers here, this seems like something they would want to fix.

talonmies
  • 70,661
  • 34
  • 192
  • 269