[vtkusers] Need Help: Installation & Starting example

Dominique Toepfer dominique at toepfer-web.de
Tue Jul 16 19:45:51 EDT 2013


Hi,

did you also use CMake to configure your example project?
Examples together with CMake configuration files can be found here: 
http://www.vtk.org/Wiki/VTK/Examples/Cxx

HTH
Dominique


Am 17.07.2013 00:47, schrieb Vachik Dave:
> Hello,
>
> It was literally 1000s of errors, which I can not paste here. However, 
> I successfully build it in my friend's machine.
>
> The next *problem* I am facing is: I am trying to run available 
> example from Internet @ http://www.vtk.org/VTK/help/examplecode.html
>
> I can not find appropriate object library file (.lib) for 
> vtkSphereSource function for which it is giving me an error as below:
>
> 1>------ Build started: Project: ConsoleApplication2, Configuration: 
> Debug Win32 ------
> 1>ConsoleApplication2.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: static class vtkSphereSource * __cdecl 
> vtkSphereSource::New(void)" (__imp_?New at vtkSphereSource@@SAPAV1 at XZ) 
> referenced in function _wmain
> 1>c:\users\acotaer\documents\visual studio 
> 2012\Projects\ConsoleApplication2\Debug\ConsoleApplication2.exe : 
> fatal error LNK1120: 1 unresolved externals
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped 
> ==========
>
> There are total 111 .lib files in the directory. Is there any place 
> where I can find function name with corresponding .lib name for VTK-6.0.0?
>
> Thanking you.
> *
> --Vachik
> *
>
>
> On Mon, Jul 15, 2013 at 10:14 PM, John Drescher <drescherjm at gmail.com 
> <mailto:drescherjm at gmail.com>> wrote:
>
>     On Mon, Jul 15, 2013 at 8:46 PM, Vachik Dave <vsdave at umail.iu.edu
>     <mailto:vsdave at umail.iu.edu>> wrote:
>     > Hello,
>     >
>     > I am new to VTK.
>     > I am trying to build VTK "Install" project generated by CMake.
>     However it
>     > fails to build around 155 projects out of 186.
>     >
>     > I tried the same thing on my friend's machine. There only one
>     project fails
>     > while building but it didnt created any folder (VTK folder
>     containing object
>     > library files and header files ) in "Program Files" folder in C
>     drive.
>     >
>     > I am using wondows 7 operating system in both case.
>     >
>     > Would anyone please help me here, as I am completely clueless
>     how to solve
>     > this problem.
>     >
>     > Thanking you.
>     >
>     You will have to post the exact error. There are so many variables
>     that 155 out of 186 is not that helpful.
>
>     John
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130717/dab788f5/attachment.htm>


More information about the vtkusers mailing list