<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>Thank you for your suggestion.<br><br></div>I am trying to run 2 different examples. Its giving error "Access violation reading location 0x00000000".<br>
<br>I observed that for below classes static new() is not working & can't assign any memory and causing the error.<br></div>vtkPolyDataMapper<br>vtkRenderWindow<br>tkRenderer<br>vtkActor<br><br></div>On the other hand for some classes its working perfectly fine.<br>
vtkSphere<br>vtkContourFilter<br>vtkOutlineFilter<br>vtkConeSource<br><br></div>I can't understand the problem? Would you please help me?<br><div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div>
<div><br>Regards<b>.<br>--Vachik Dave</b></div></div>
<br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 7:45 PM, Dominique Toepfer <span dir="ltr"><<a href="mailto:dominique@toepfer-web.de" target="_blank">dominique@toepfer-web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
did you also use CMake to configure your example project?<br>
Examples together with CMake configuration files can be found
here: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx</a><br>
<br>
HTH<br>
Dominique<br>
<br>
<br>
Am 17.07.2013 00:47, schrieb Vachik Dave:<br>
</div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
It was literally 1000s of errors, which I can not paste
here. However, I successfully build it in my friend's
machine.<br>
</div>
<br>
The next <b>problem</b> I am facing is: I am trying to
run available example from Internet @ <a href="http://www.vtk.org/VTK/help/examplecode.html" target="_blank">http://www.vtk.org/VTK/help/examplecode.html</a><br>
</div>
<br>
I can not find appropriate object library file (.lib) for
vtkSphereSource function for which it is giving me an error
as below:<br>
<br>
1>------ Build started: Project: ConsoleApplication2,
Configuration: Debug Win32 ------<br>
1>ConsoleApplication2.obj : error LNK2019: unresolved
external symbol "__declspec(dllimport) public: static class
vtkSphereSource * __cdecl vtkSphereSource::New(void)"
(__imp_?New@vtkSphereSource@@SAPAV1@XZ) referenced in
function _wmain<br>
1>c:\users\acotaer\documents\visual studio
2012\Projects\ConsoleApplication2\Debug\ConsoleApplication2.exe
: fatal error LNK1120: 1 unresolved externals<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0
skipped ==========<br>
<br>
</div>
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?<br>
<br>
</div>
Thanking you.<br>
<div>
<div>
<div> <b><br>
--Vachik<br>
</b></div>
</div>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On Mon, Jul 15, 2013 at 10:14 PM,
John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>On Mon, Jul 15, 2013 at 8:46 PM, Vachik
Dave <<a href="mailto:vsdave@umail.iu.edu" target="_blank">vsdave@umail.iu.edu</a>>
wrote:<br>
> Hello,<br>
><br>
> I am new to VTK.<br>
> I am trying to build VTK "Install" project
generated by CMake. However it<br>
> fails to build around 155 projects out of 186.<br>
><br>
> I tried the same thing on my friend's machine.
There only one project fails<br>
> while building but it didnt created any folder
(VTK folder containing object<br>
> library files and header files ) in "Program
Files" folder in C drive.<br>
><br>
> I am using wondows 7 operating system in both
case.<br>
><br>
> Would anyone please help me here, as I am
completely clueless how to solve<br>
> this problem.<br>
><br>
> Thanking you.<br>
><br>
</div>
</div>
You will have to post the exact error. There are so many
variables<br>
that 155 out of 186 is not that helpful.<br>
<span><font color="#888888"><br>
John<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>