No subject


Mon Aug 10 18:29:21 EDT 2009


realated to project configurations also. I've attempted to copy the
vtkDLG (MFC) project from the examples. The example project generated
by cmake builds fine, so I figure that if I copied that as far as
possible I might find what setting I had wrong.

My vtkMFCDLG project is happy to compile the project and link to VTK
until the point when I include the line:

pvtkMFCWindow = new vtkMFCWindow(this->GetDlgItem(IDC_MAINVTKWINDOW));

when all the LNK2005 errors occur.

As far as I can see I have the same project settings. Am I missing
something obvious? I'm sure building and linking to VTK really
shouldn't be this hard.

Mark


More information about the vtkusers mailing list