Skip to content

Issues Handling

Jim00000 edited this page Dec 8, 2017 · 4 revisions

Build issues

‘memcpy’ was not declared in this scope

If you encounter the compilation error like that

In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
error: ‘memcpy’ was not declared in this scope

Then add compilation options -D_FORCE_INLINES to nvcc flags

That is, nvcc -Xcompiler -fPIC -O2 -c wave_equation_cuda_api.cu -D_FORCE_INLINES

Clone this wiki locally