c++ - CUDA C - library error from cutil.h to helper_cuda.h -


i have project developed in c, on cuda 4.0. try compile on cuda 5.0 have problem cutil.h, have changed cutil helper_cuda.h , receive error always:

in file included /path/to/helper_cuda.h:24 

and

/path/to/helper_string.h:18: fatal error: fstream: no such file or directory 

fstream c++ library, how can compile without have error?

sorry english :d

my suggestion:

  1. load cuda 4.0 sdk on cuda 5.0 setup
  2. build cuda 4.0 sdk using cuda 5 toolkit (nvcc, etc.)
  3. now include same header files , link against same libraries (that built) correspond cutil arrangement cuda 4.0 sdk.

helper_cuda.h not drop-in replacement cutil.h discovering. likely, if worked past fstream issue, might run one, depending on components out of cutil project using.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -