[vtkusers] Compile errors when using Delaunay2D

David Doria daviddoria at gmail.com
Thu Mar 3 14:29:50 EST 2011


On Thu, Mar 3, 2011 at 2:27 PM, Rong Yang <kusanagirong at hotmail.co.nz>wrote:

>  Hi David,
>
> Thanks for your reply. I could successfully use the MSVS 2010 to compile
> the VTK source code which generated by CMake. My problem is after that, I
> tried to use the vtkDelaunay2D class in my own project.
> I tried to add the Project dependencies
> #pragma comment(lib,"vtkCommon.lib")
> #pragma comment(lib,"vtkFiltering.lib")
> #pragma comment(lib,"vtkGraphics.lib")
> Set the VC Directories (Include directories and Lib Directories)  but I
> still get following link errors. I think I got something wrong with my
> configuration~~~
>

Please keep the discussion on the mailing list.

You aid you have set the include and library directories, but have you
actually set the libraries to link to? (I don't know what the pragma's do,
but there is a place to set them in the VS configuration).

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110303/777b701a/attachment.htm>


More information about the vtkusers mailing list