FleX icon indicating copy to clipboard operation
FleX copied to clipboard

Unresolved external NvFlexGetSprings with CUDA

Open SaulHP91 opened this issue 7 years ago • 1 comments

I added a line to the flex demo to get the springs just after having set them, inside main.cpp inside "Init" function

NvFlexSetSprings(g_flex, g_buffers->springIndices.buffer, g_buffers->springLengths.buffer, g_buffers->springStiffness.buffer, g_buffers->springLengths.size()); NvFlexGetSprings(g_flex, g_buffers->springIndices.buffer, g_buffers->springLengths.buffer, g_buffers->springStiffness.buffer, g_buffers->springLengths.size());

D3D version works fine, but with CUDA version here is the compiler error log:

Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol NvFlexGetSprings referenced in function "void __cdecl Init(int,bool)" (?Init@@YAXH_N@Z) flexDemoCUDA C:\dev\flex-110\flex\demo\compiler\vc14win64\main.obj 1

SaulHP91 avatar Dec 01 '17 08:12 SaulHP91

Thanks for the report. We will address this in the next release.

mmacklin avatar Apr 23 '18 21:04 mmacklin