[vtkusers] Patented library.

suhai suh at rpi.edu
Wed Apr 24 01:23:11 EDT 2002


Dear All
I was wondering how to use the patented library. I just used the Cmake to generate the patented library and DLL files. I put it in to the vtk40/bin directory, or add the lib file to my project file. But the compiler can not link the library. It is so strange.
The following is error message.
test4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkDecimate * __cdecl vtkDecimate::New(void)" (__imp_?New at vtkDecimate@@SAPAV1 at XZ)
test4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkMarchingCubes::SetValue(int,float)" (__imp_?SetValue at vtkMarchingCubes@@QAEXHM at Z)
test4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkMarchingCubes * __cdecl vtkMarchingCubes::New(void)" (__imp_?New at vtkMarchingCubes@@SAPAV1 at XZ)
Debug/test4.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

test4.exe - 4 error(s), 0 warning(s)

I really need your help about it.

Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020423/2cf17b4d/attachment.htm>


More information about the vtkusers mailing list