<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I cleanly redid the configuration and compilation steps (of both RC1 and git master), and I don&#39;t get the problem any more.</div>

<div class="gmail_default">
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 10:09 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dzenan,<br><br></div>Here is a patch to address your issues:<br><a href="http://review.source.kitware.com/#/c/11394/" target="_blank">http://review.source.kitware.com/#/c/11394/</a><br>

<br>Please register for a gerrit account so you can contribute in the future.<br>
<br></div>Thanks for your efforts to towards a better VTK.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Bill<br><br><div><div><div><div><div> </div></div>

</div></div></div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Thu, May 23, 2013 at 3:51 PM, Dženan Zukić <span dir="ltr">&lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Yes, I am using RC1 from the download page (<a href="http://www.vtk.org/files/release/6.0/vtk-6.0.0.rc1.zip" target="_blank">http://www.vtk.org/files/release/6.0/vtk-6.0.0.rc1.zip</a>).</div>





<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I will intersperse a few <span style="font-family:arial,sans-serif;font-size:13px">message() calls in </span><span style="font-family:arial,sans-serif;font-size:13px">CMakeLists.txt tomorrow and report the results. It is 9:51 pm here in Germany :D</span></div>


<div><div>


<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 9:34 PM, Marcus D. Hanwell <span dir="ltr">&lt;<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@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">Adding message(FATAL_ERROR &quot;VTK_LIBRARIES: ${VTK_LIBRARIES}&quot;) to your<br>
CMakeLists.txt would be helpful. That variable is populated each time<br>
you call find_package(VTK COMPONENTS vtkModuleName NO_MODULE) with the<br>
module you ask for and all of its dependencies. If it is called<br>
without a COMPONENTS argument it defaults to containing all enabled<br>
modules - that looks like the case here with the config file perhaps<br>
being out of sync with the build for some reason.<br>
<br>
I can&#39;t reproduce your failure here, but will take a second look on<br>
Windows. Can you confirm you are building against VTK 6.0.0 RC1? It is<br>
possible you have some config files hanging around for the modules<br>
that were later disabled - I can try this on Windows later to see if<br>
it is an issue. Is you VTK_DIR referencing the build tree, or an<br>
installed VTK 6.0 in this case?<br>
<span><font color="#888888"><br>
Marcus<br>
</font></span><div><div><br>
On Thu, May 23, 2013 at 3:24 PM, Dženan Zukić &lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt; wrote:<br>
&gt; Attached is the version of my CMakeLists.txt before I started meddling with<br>
&gt; find_package(vtk). It makes not difference to change it to this:<br>
&gt; FIND_PACKAGE(VTK 6.0 REQUIRED COMPONENTS vtkGUISupportQtOpenGL NO_MODULE)<br>
&gt;<br>
&gt; Also, it is these 3 libraries which are included into projects input<br>
&gt; erroneously:<br>
&gt; vtkTestingGenericBridge.lib<br>
&gt; vtkTestingIOSQL.lib<br>
&gt; vtkTestingRendering.lib<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 23, 2013 at 9:07 PM, Marcus D. Hanwell<br>
&gt; &lt;<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Thu, May 23, 2013 at 11:19 AM, Marcus D. Hanwell<br>
&gt;&gt; &lt;<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On Thu, May 23, 2013 at 11:13 AM, Dženan Zukić &lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; Now I call vtk from CMakeLists like this:<br>
&gt;&gt; &gt;&gt; FIND_PACKAGE(VTK 6.0 REQUIRED COMPONENTS vtkGUISupportQtOpenGL<br>
&gt;&gt; &gt;&gt; NO_MODULE)<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; but when compiling the project I still get LNK1181 with<br>
&gt;&gt; &gt;&gt; vtkTestingGenericBridge.lib if I keep BUILD_TESTING set to off.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Setting BUILD_TESTING to 1 solves the issue (regardless of the way how<br>
&gt;&gt; &gt;&gt; find_package is called). But I think it is stupid to require users to<br>
&gt;&gt; &gt;&gt; enable<br>
&gt;&gt; &gt;&gt; building of internal tests just so their normal applications can link<br>
&gt;&gt; &gt;&gt; properly.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt; No one is suggesting you should have to turn on testing for your<br>
&gt;&gt; &gt; normal application to work. It looks like you have found a bug, and we<br>
&gt;&gt; &gt; will work on ensuring it is fixed in the next rc. Thanks for testing,<br>
&gt;&gt; &gt; and your feedback.<br>
&gt;&gt; &gt;<br>
&gt;&gt; On looking into this further I am unable to reproduce it. I see you<br>
&gt;&gt; are doing this on Windows, and vtkTestingGenericBridge seems to be<br>
&gt;&gt; giving you the issue. This is only referenced by the vtkFiltersGeneric<br>
&gt;&gt; TEST_DEPENDS as far as I can tell, could you provide a fuller sample<br>
&gt;&gt; of your CMake code? It looks like you are trying to find<br>
&gt;&gt; vtkGUISupportQtOpenGL, which has no dependency on this module,<br>
&gt;&gt; printing the contents of ${VTK_LIBRARIES} would be useful, along with<br>
&gt;&gt; exact VTK version (RC1 I guess), compiler, steps to build VTK locally.<br>
&gt;&gt;<br>
&gt;&gt; Thanks for reporting this issue, hopefully we can get to the bottom of<br>
&gt;&gt; this soon (I can give this a try on a Windows machine, but I don&#39;t see<br>
&gt;&gt; how vtkTestingGenericBridge is getting linked to from<br>
&gt;&gt; vtkGUISupportQtOpenGL to be honest - even with testing turned on).<br>
&gt;&gt;<br>
&gt;&gt; Marcus<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div></div></div>
<br></div></div><div class="im">_______________________________________________<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></div></blockquote></div><br><br clear="all"><div class="im"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div>
</blockquote></div><br></div>