<div dir="ltr">Hi,<div><br></div><div>I just found the solution, my build of QT was not build with webkit support. checking PQWIDGETS_DISABLE_QTWEBKIT in cmake solved the problem.</div><div><br></div><div>Cheers,</div><div>
Bruce</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 1:37 PM, Bruce Jones <span dir="ltr"><<a href="mailto:bruce.david.jones@gmail.com" target="_blank">bruce.david.jones@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<div><br></div><div>Adding #include <algorithm> solved those errors. The only project that wont build now is pqWidgets, its giving me 54 errors like this one, </div>
<div><br></div><div><div>Error<span style="white-space:pre-wrap"> </span>23<span style="white-space:pre-wrap"> </span>error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QNetworkAccessManager * __cdecl QWebPage::networkAccessManager(void)const " (__imp_?networkAccessManager@QWebPage@@QEBAPEAVQNetworkAccessManager@@XZ) referenced in function "public: __cdecl pqHelpWindow::pqHelpWindow(class QHelpEngine *,class QWidget *,class QFlags<enum Qt::WindowType>)" (??0pqHelpWindow@@QEAA@PEAVQHelpEngine@@PEAVQWidget@@V?$QFlags@W4WindowType@Qt@@@@@Z)<span style="white-space:pre-wrap"> </span>C:\paraview\bin\Qt\Widgets\pqHelpWindow.obj<span style="white-space:pre-wrap"> </span>pqWidgets</div>
</div><div><br></div><div>Cheers,</div><div>Bruce</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 2:59 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you try putting #include <algorithm> at the top in those headers?<br>
<div><div><br>
On Thu, Feb 20, 2014 at 10:49 AM, Bruce Jones<br>
<<a href="mailto:bruce.david.jones@gmail.com" target="_blank">bruce.david.jones@gmail.com</a>> wrote:<br>
> I'm attempting to compile paraview in windows using visual studio 2013.<br>
><br>
> So far I've managed to succesfully compile QT, and Zlib, and have configured<br>
> the paraview source with CMake. I now have a Visual Studio solution file,<br>
> upon opening the solution and attempting to build I get a bunch of errors.<br>
> The root of the problem appears with min and max in various projects within<br>
> the solution, I get a lot of these errors.<br>
><br>
> Error 22 error C3861: 'min': identifier not found<br>
> C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\wire_format_lite_inl.h<br>
> 270 1 protobuf<br>
> Error 23 error C3861: 'max': identifier not found<br>
> C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\repeated_field.cc<br>
> 46 1 protobuf<br>
><br>
> Any suggestions?<br>
><br>
> Cheers,<br>
> Bruce<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
</div></div></blockquote></div><br></div>