<div>Hi all,</div>
<div>&nbsp;</div>
<div>I&#39;m brand new to VTK.&nbsp; I got the user&#39;s guide from KitWare and am playing with the first example -- the cone example.&nbsp; In order to do this example, I have to run CMake to create the .dsw workspace for Visual C++ 
6.0 (this is the IDE I&#39;m working in).&nbsp; Then I can compile it and run it and everything&#39;s hunky dorey (sort of).&nbsp; </div>
<div>&nbsp;</div>
<div>However, this seems like a lot of overhead to use VTK.&nbsp; For example, using the Boost libraries only requires that you make the pre-compiled libraries and then tell the compiler where to look for them.&nbsp; So, I wanted to try this with vtk.&nbsp; 
</div>
<div>&nbsp;</div>
<div>I started a new workspace, copied the cone.cpp file into my new workspace, told the linker where to find the vtk binaries and gave it the path for additional include directories.&nbsp; For both of these I copy/pasted&nbsp;the same paths that the workspace created by my use of CMake for the example used.&nbsp; 
</div>
<div>&nbsp;</div>
<div>It didn&#39;t work.&nbsp; I end up several link errors --&nbsp;the error messages from the compiler are shown below.&nbsp; </div>
<div>&nbsp;</div>
<div>So, my question to you more experienced users is, should I always use CMake?&nbsp; If not, then how do I (easily) set up my workspace to allow for the use of the vtk libraries?</div>
<div>&nbsp;</div>
<div>thanks for any help you can provide,</div>
<div>trevis&nbsp;</div>
<div>
<p>Linking...<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in LIBCD.lib(crt0dat.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)<br>MSVCRT.lib(MSVCRT.dll
) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in LIBCD.lib(sprintf.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _abort already defined in 
LIBCD.lib(abort.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in LIBCD.lib(strncpy.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in LIBCD.lib(strchr.obj)<br>MSVCRT.lib(
MSVCRT.dll) : error LNK2005: _strstr already defined in LIBCD.lib(strstr.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj)<br>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in 
LIBCD.lib(dbgheap.obj)<br>LINK : warning LNK4098: defaultlib &quot;MSVCRT&quot; conflicts with use of other libs; use /NODEFAULTLIB:library<br>Debug/cone.exe : fatal error LNK1169: one or more multiply defined symbols found
<br>Error executing link.exe.</p>
<p>cone.exe - 11 error(s), 1 warning(s)</p></div>