<div dir="ltr">Hi Michael,<div><br></div><div style>I saw you also using CTK (<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">ctkDoubleRangeSlider)</span>? how does that gets pulled in when you are building Paraview? The only thing I can think of is QtTesting. Are you using QtTesting built from CTK?</div>
<div style><br></div><div style>Yumin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 11:16 AM, Kyle Lutz <span dir="ltr"><<a href="mailto:kyle.lutz@kitware.com" target="_blank">kyle.lutz@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jun 18, 2013 at 10:43 AM, Michael Jackson<br>
<div class="im"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
><br>
> On Jun 18, 2013, at 10:24 AM, Kyle Lutz wrote:<br>
><br>
>> On Tue, Jun 18, 2013 at 9:27 AM, Michael Jackson<br>
>> <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>>><br>
>>> On Jun 17, 2013, at 10:34 AM, Kyle Lutz wrote:<br>
>>><br>
>>>> On Mon, Jun 17, 2013 at 6:57 AM, Michael Jackson<br>
>>>> <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>>>>> I am trying to build the ParaView 4.0 sources from the download website on Windows 7 x64 with Visual Studio 2012 express as a 64 bit executable. I have a self built Qt 4.8.4 with OUT QtWebkit. I set the appropriate CMake variables for the missing QtWeb kit, configured and started to build. I am getting errors of the type:<br>
>>>>><br>
>>>>> Error 3337 error C2491: 'pqFlatTreeView::PipeLength' : definition of dllimport static data member not allowed C:\Users\mjackson\Workspace\ParaView-v4.0.0\Qt\Widgets\pqFlatTreeView.cxx 158 1 pqWidgets<br>
>>>>><br>
>>>>> And lots more of those for various files. Is this a known issue with VS2012 or my own Qt or something else?<br>
>>>><br>
>>>> Hi Mike,<br>
>>>><br>
>>>> I'm not sure if it's the correct fix but the attached patch should<br>
>>>> allow it to compile.<br>
>>>><br>
>>>> -kyle<br>
>>>> <pipe_length_fix.diff><br>
>>><br>
>>> so that cleared up a few of the errors but now I am getting this:<br>
>>><br>
>>><br>
>>> Error 187 error LNK2019: unresolved external symbol "__declspec(dllimport) const pqAnimationKeyFrame::`vftable'{for `QObject'}" (__imp_??_7pqAnimationKeyFrame@@6BQObject@@@) referenced in function "public: __cdecl pqAnimationKeyFrame::pqAnimationKeyFrame(class pqAnimationTrack *,class QGraphicsScene *)" (??0pqAnimationKeyFrame@@QEAA@PEAVpqAnimationTrack@@PEAVQGraphicsScene@@@Z)<br>
>>><br>
>>> This is also with the just released ParaView 4.0.1 sources. What I find strange is that a release was done from these sources. I think my self compiled Qt is in some way causing these errors as I checked the Dashboard and none of the Windows computers seem to be having these issues. Just seems odd that everyone else can compile ParaView without a problem but I can not.<br>
>>><br>
>>> Thoughts?<br>
>><br>
>> Hmm. I'm not sure (though I don't have much experience with<br>
>> Windows/MSVC). Could you try with the precompiled Qt 4.8 libraries?<br>
<br>
</div>Untested on Windows, but could you try the attached patch?<br>
<span class="HOEnZb"><font color="#888888"><br>
-kyle<br>
</font></span><br>_______________________________________________<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>
<br></blockquote></div><br></div>