<div class="gmail_quote">On Wed, Mar 10, 2010 at 11:52 AM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi David, you should copy and paste the exact error message you are getting so people can make more educated guesses. It's probably failing not because of the code inside the btx/etx, but because there is no vtkClass defined in that header. You are listing Factor.cpp as a SERVER_MANAGER_SOURCES, and therefore it gets wrapped. Try listing it as GUI_SOURCES or SERVER_SOURCES. See the macro documentation in ParaView/CMake/ParaViewPlugins.cmake.<br>
<font color="#888888">
<br>Pat<br><br></font></blockquote><div class="gmail_quote"><br></div>Pat, </div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks for pointing me to ParaViewPlugins.cmake. I set the files as SERVER_SOURCES as you recommended and that took care of the problem.</div>
<div class="gmail_quote"><br clear="all">Thanks all,<br><br>David</div>