On 12/4/07, <b class="gmail_sendername"><a href="mailto:mrcheung@mdanderson.org">mrcheung@mdanderson.org</a></b> &lt;<a href="mailto:mrcheung@mdanderson.org">mrcheung@mdanderson.org</a>&gt; wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi,<br><br>I am testing making volview plugin. I used a plugin already available and
<br>build it. Got this error, although a DLL file was generated. When I<br>manually copy the DLL file generated this way into the Volview Plugin<br>folder, the Volview does not seem to see it. Any help is appreciated.<br>
<br>Rex<br><br>My Cmake setting:<br>Where is the source code: C:\Insight2\InsightApplications<br>Where to build the binaries: C:\Insight2\InsightApplications-VSNET<br>ITK_Dir: C:\Insight2\insight-vc++<br>Volview_Binary_Dir:C:\Insight2\InsightApplications-VSNET\VolviewPlugIns
</blockquote><div><br><br>
Rex:<br>
<br>
The specification of VolView_BINARY_DIR is incorrect. This is supposed
to refer to the binary directory where VolView.exe is present. This is why you get an error from the PostBuild copy process. There is no &quot;Plugins&quot; directory in InsightApplications. The PostBuild Copy is meant to copy the DLL for you to VolV I would
suggest that you simply wipe this cache entry out. (You can do that by
rightclicking on this cache entry and selecting Delete).<br><br>In any case, VolView should&#39;ve been able to load the DLL if you dropped it into its Plugins folder. Could you please verify if you dropped it in the right place as shown below.
<br><br>VolView.exe<br>&nbsp; |<br>&nbsp; ---- Plugins/<br></div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----- vvITKSigmod.dll (should be dropped here).<br><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
------ Build started: Project: vvITKSigmoid, Configuration: Debug Win32<br>------<br><br>Compiling...<br>vvITKSigmoid.cxx<br>Linking...<br>&nbsp;&nbsp; Creating library Debug\vvITKSigmoid.lib and object<br>Debug\vvITKSigmoid.exp<br>
Performing Post-Build Event...<br>Error copying file &quot;/.\Debug/vvITKSigmoid.dll&quot; to<br>&quot;C:/Insight2/InsightApplications-VSNET/VolviewPlugIns/.<br>\Debug/Plugins/vvITKSigmoid.dll&quot;.<br>Project : error PRJ0019: A tool returned an error code from &quot;Performing
<br>Post-Build Event...&quot;<br><br>Build log was saved at &quot;file://c:<br>\Insight2\InsightApplications-VSNET\VolviewPlugIns\Debug\BuildLog.htm&quot;<br>vvITKSigmoid - 1 error(s), 0 warning(s)</blockquote><div>&nbsp;</div>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Karthik Krishnan<br>R&amp;D Engineer,
<br>Kitware Inc.<br>Ph: 518 371 3971 x119<br>Fax: 518 371 3971