[vtkusers] help

Vincent Daanen Vincent.Daanen at imag.fr
Thu Jul 11 08:52:29 EDT 2002


vtkMarchingCube is in the vtkPatented library. You should rebuild vtk and enable the build of the patented library.

 Vince


"Kou Xinyu (David)" wrote:

> Hello, ALL,
>
> I meet a question when using vtkMarchingCubes, the following is my code :
>
>         vtkVolume16Reader * aVolume=vtkVolume16Reader::New();
>         aVolume->SetDataDimensions(512,512);
>         aVolume->SwapBytesOn();
>         aVolume->SetFilePrefix("demo");
>         aVolume->SetImageRange(1,5);
>         aVolume->SetDataSpacing(3.2,3.2,3.2);
>
>         vtkMarchingCubes * cube=vtkMarchingCubes::New();
>
> The compilation was ok, but there jumps " unresolved external symbol '__declspec(dllimport) public: static class vtkMarchingCubes * __cdecl vtkMarchingCubes::New(void)' (__imp_?New at vtkMarchingCubes@@SAPAV1 at XZ) " error
>
> I don't know how to sovle it, although I have included all the *.lib files inside the project.
> I guess there is no lib for the vtkMarchingCubes currently, so must we include the vtkMarchingCubes.cxx into the project?  did so, but it still does not work.
>
> Hope to get your response.
>
> Best regards.
>
> David
> davidkou at hkusua.hku.hk
> 2002-07-11
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

--
Vincent Daanen,
Research Engineer- Post Doctoral Position
Laboratoire TIMC/IMAG Equipe GMCAO - Université Joseph Fourier - CNRS UMR 5525
Faculté de Médecine - Domaine de la Merci - 38706 La Tronche cedex - France
Tel: +33 (0)4 76 54 95 23
Vincent.Daanen at imag.fr





More information about the vtkusers mailing list