To set the PATH when debugging from the IDE:<div><br></div><div>1. Right click the project and select Properties</div><div>2. In the tree view on the left select Debugging</div><div>3. In the main panel there will be an entry called &#39;Environment&#39;</div>
<div>4. Set the Path by entering something like:</div><div><br></div><div>PATH=C:\Path\To\Something;%PATH%<br><div><br><div class="gmail_quote">On Tue, May 11, 2010 at 12:28 PM, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Well, unfortunately, the DLL mess is a Windows OS thing. I am not a<br>
regular Windows developer so I cannot tell you exactly how to access<br>
that option, but Visual Studio does have an option somewhere that<br>
allows you to specify the environment in which the application is<br>
running. There you can set the PATH to include the ParaView bin/debug<br>
(or bin/release as the case maybe) and Qt dirs.<br>
<br>
You might want to download dependency walker<br>
(<a href="http://www.dependencywalker.com/" target="_blank">http://www.dependencywalker.com/</a>), a handy utility to determine<br>
exactly what dlls are being used/not found etc. Use this to ensure<br>
that correct versions of the dlls are being imported.<br>
<br>
I&#39;d refrain from copying over dlls, this often leads to user-related<br>
errors down the line.<br>
<br>
As far as the missing symbol error goes, it&#39;s possible your program is<br>
accidentally bringing in a mismatched vtkCommon dll. Do you have other<br>
VTK / ParaView builds in your PATH? Use the dependency walker to<br>
ensure that it&#39;s using the correct vtkCOmmon (and other) dlls.<br>
<br>
Hope that helps.<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
<br>
On Tue, May 11, 2010 at 3:17 PM, A M &lt;<a href="mailto:arsham@uga.edu">arsham@uga.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; As you suggested, I added the dll path (ParaView-3.8.0-bin\bin\Debug) to the<br>
&gt; environment variable as well as the Qt path, however when I ran the .exe<br>
&gt; file again I got the same error, so I added the dll files manually to the<br>
&gt; same directory as the .exe file, at first was asking about some Paraview<br>
&gt; dlls and the some Qt dlls (I have both of this added to the use path<br>
&gt; enviroment variable!) and then asked form some vtk dlls, the last error<br>
&gt; which I can not get passed of is asking for vtkCommon.dll, I added the dll<br>
&gt; to the directory and  I got this:<br>
&gt;<br>
&gt; &quot; the procedure entry point<br>
&gt; ?ComputePointForExtent@vtkStructuredData@@SAQAH0@Z could not be located in<br>
&gt; the dynamic library link vtkCommon.dll&quot; !!!!!<br>
&gt;<br>
&gt; I run on WinXP SP3,  visual studio 9 2008 and the latest version of Paraview<br>
&gt; and Qt<br>
&gt;<br>
&gt; as I mentioned I added all the paths to all this dlls to the user<br>
&gt; environment variable but somehow the system does not see this dlls!!!  and<br>
&gt; it will be really inconvenient to add all this dlls every time you write a<br>
&gt; software and want to run it!<br>
&gt;<br>
&gt; any help is really appreciated!<br>
&gt;<br>
&gt; best<br>
&gt; ~Sam<br>
&gt;<br>
&gt;<br>
&gt; On Mon, May 10, 2010 at 12:31 PM, Utkarsh Ayachit<br>
&gt; &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; When you are running on windows, windows expects that all the dlls are<br>
&gt;&gt; in PATH (or the same location as the exe). You may want to start the<br>
&gt;&gt; clone executable from a terminal ensuring that you set the PATH<br>
&gt;&gt; environment variable correctly to point to the dlls under the ParaView<br>
&gt;&gt; build dir.<br>
&gt;&gt;<br>
&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 10, 2010 at 12:26 PM, A M &lt;<a href="mailto:arsham@uga.edu">arsham@uga.edu</a>&gt; wrote:<br>
&gt;&gt; &gt; thanks Utkarsh<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The page you suggested cleared some stuff for me!<br>
&gt;&gt; &gt; As David suggested I tried to look at the examples under<br>
&gt;&gt; &gt; Examples\CustomApplications directory in the paraview source. I CMake&#39;d<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; examples there such as Clone1&amp;2 and Demo0&amp;1 and tried to run them to see<br>
&gt;&gt; &gt; how<br>
&gt;&gt; &gt; they work (That would be a good working example to understand the<br>
&gt;&gt; &gt; process<br>
&gt;&gt; &gt; better), the projects compiled just fine but when I tried to run them I<br>
&gt;&gt; &gt; got<br>
&gt;&gt; &gt; the following two errors for Clone and Demo respectively:<br>
&gt;&gt; &gt; &quot;pqapplicationcomponents.dll was not found, re-installing the<br>
&gt;&gt; &gt; application<br>
&gt;&gt; &gt; may fix this problem&quot;<br>
&gt;&gt; &gt; &quot;pqCore.dll was not found, re-installing the application may fix this<br>
&gt;&gt; &gt; problem&quot;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; anyone has any idea what I did wrong here! what are these two dll files?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; best<br>
&gt;&gt; &gt; ~sam<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, May 9, 2010 at 11:02 PM, Utkarsh Ayachit<br>
&gt;&gt; &gt; &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; You might also want to refer to the following wiki page details on the<br>
&gt;&gt; &gt;&gt; custom application components:<br>
&gt;&gt; &gt;&gt; <a href="http://paraview.org/Wiki/Writing_Custom_Applications" target="_blank">http://paraview.org/Wiki/Writing_Custom_Applications</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Utkarsh<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Sun, May 9, 2010 at 9:48 PM, David E DeMarle<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Since that time, the branding infrastructure has merged from<br>
&gt;&gt; &gt;&gt; &gt; Utkarsh&#39;s<br>
&gt;&gt; &gt;&gt; &gt; bleeding edge repository mentioned in the paper, into the ParaView<br>
&gt;&gt; &gt;&gt; &gt; development branch, and then into the 3.8 release of ParaView.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; So just follow instructions from <a href="http://www.paraview.org" target="_blank">www.paraview.org</a> to get the ParaView<br>
&gt;&gt; &gt;&gt; &gt; source, either 3.8 or current developement from git and use that make<br>
&gt;&gt; &gt;&gt; &gt; your own custom applications.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; In particular, the sample applications mentioned in the presentation<br>
&gt;&gt; &gt;&gt; &gt; that accompanied the paper are under the Examples/Applications<br>
&gt;&gt; &gt;&gt; &gt; directory.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; David E DeMarle<br>
&gt;&gt; &gt;&gt; &gt; Kitware, Inc.<br>
&gt;&gt; &gt;&gt; &gt; R&amp;D Engineer<br>
&gt;&gt; &gt;&gt; &gt; 28 Corporate Drive<br>
&gt;&gt; &gt;&gt; &gt; Clifton Park, NY 12065-8662<br>
&gt;&gt; &gt;&gt; &gt; Phone: 518-371-3971 x109<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On Sun, May 9, 2010 at 9:33 PM, A M &lt;<a href="mailto:arsham@uga.edu">arsham@uga.edu</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hi<br>
&gt;&gt; &gt;&gt; &gt;&gt; I sent the following email to Paraview mailing list and someone just<br>
&gt;&gt; &gt;&gt; &gt;&gt; answered back the the github was obsolete!! can you please guid me<br>
&gt;&gt; &gt;&gt; &gt;&gt; in a<br>
&gt;&gt; &gt;&gt; &gt;&gt; right direction to download the correct source for the purpose of<br>
&gt;&gt; &gt;&gt; &gt;&gt; Customizing Paraview please. is there any tutorial I can look in to?<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; best<br>
&gt;&gt; &gt;&gt; &gt;&gt; Sam<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hi!<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; So I am a little confused! I read a paper by Utkarsh A. Ayachit and<br>
&gt;&gt; &gt;&gt; &gt;&gt; in<br>
&gt;&gt; &gt;&gt; &gt;&gt; this<br>
&gt;&gt; &gt;&gt; &gt;&gt; paper he mentioned to clone the repository at<br>
&gt;&gt; &gt;&gt; &gt;&gt; git://<a href="http://github.com/utkarshayachit/ParaView.git" target="_blank">github.com/utkarshayachit/ParaView.git</a> to obtain the modified<br>
&gt;&gt; &gt;&gt; &gt;&gt; ParaView<br>
&gt;&gt; &gt;&gt; &gt;&gt; source, up to here it is just fine, I can clone the directory just<br>
&gt;&gt; &gt;&gt; &gt;&gt; fine.<br>
&gt;&gt; &gt;&gt; &gt;&gt; Then he goes on and and says the &quot;The branding code is on the<br>
&gt;&gt; &gt;&gt; &gt;&gt; Branding<br>
&gt;&gt; &gt;&gt; &gt;&gt; branch, and a new reference application, called<br>
&gt;&gt; &gt;&gt; &gt;&gt; paraview_revamed will be found in Applications/Client2 that is what<br>
&gt;&gt; &gt;&gt; &gt;&gt; I<br>
&gt;&gt; &gt;&gt; &gt;&gt; can<br>
&gt;&gt; &gt;&gt; &gt;&gt; NOT find. where is this branding branch exactly and how can I<br>
&gt;&gt; &gt;&gt; &gt;&gt; download<br>
&gt;&gt; &gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; &gt;&gt; rest of what he is talking about? Does anyone knows?<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I looked at   <a href="http://github.com/utkarshayachit/ParaView" target="_blank">http://github.com/utkarshayachit/ParaView</a> the ParaView<br>
&gt;&gt; &gt;&gt; &gt;&gt; code is<br>
&gt;&gt; &gt;&gt; &gt;&gt; there but I didn&#39;t see anything called branding branch! Can anyone<br>
&gt;&gt; &gt;&gt; &gt;&gt; help<br>
&gt;&gt; &gt;&gt; &gt;&gt; me<br>
&gt;&gt; &gt;&gt; &gt;&gt; please!<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Best!<br>
&gt;&gt; &gt;&gt; &gt;&gt; ~sam<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
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><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div></div>