[Paraview] Build errors compiling Paraview with VS2013
Bruce Jones
bruce.david.jones at gmail.com
Mon Feb 24 15:44:38 EST 2014
Hi,
I just found the solution, my build of QT was not build with webkit
support. checking PQWIDGETS_DISABLE_QTWEBKIT in cmake solved the problem.
Cheers,
Bruce
On Fri, Feb 21, 2014 at 1:37 PM, Bruce Jones <bruce.david.jones at gmail.com>wrote:
> Hey,
>
> Adding #include <algorithm> solved those errors. The only project that
> wont build now is pqWidgets, its giving me 54 errors like this one,
>
> Error 23 error LNK2019: unresolved external symbol "__declspec(dllimport)
> public: class QNetworkAccessManager * __cdecl
> QWebPage::networkAccessManager(void)const "
> (__imp_?networkAccessManager at QWebPage@@QEBAPEAVQNetworkAccessManager@@XZ)
> referenced in function "public: __cdecl pqHelpWindow::pqHelpWindow(class
> QHelpEngine *,class QWidget *,class QFlags<enum Qt::WindowType>)"
> (??0pqHelpWindow@@QEAA at PEAVQHelpEngine@@PEAVQWidget@
> @V?$QFlags at W4WindowType@Qt@@@@@Z)
> C:\paraview\bin\Qt\Widgets\pqHelpWindow.obj pqWidgets
>
> Cheers,
> Bruce
>
>
> On Thu, Feb 20, 2014 at 2:59 PM, Utkarsh Ayachit <
> utkarsh.ayachit at kitware.com> wrote:
>
>> Can you try putting #include <algorithm> at the top in those headers?
>>
>> On Thu, Feb 20, 2014 at 10:49 AM, Bruce Jones
>> <bruce.david.jones at gmail.com> wrote:
>> > I'm attempting to compile paraview in windows using visual studio 2013.
>> >
>> > So far I've managed to succesfully compile QT, and Zlib, and have
>> configured
>> > the paraview source with CMake. I now have a Visual Studio solution
>> file,
>> > upon opening the solution and attempting to build I get a bunch of
>> errors.
>> > The root of the problem appears with min and max in various projects
>> within
>> > the solution, I get a lot of these errors.
>> >
>> > Error 22 error C3861: 'min': identifier not found
>> >
>> C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\wire_format_lite_inl.h
>> > 270 1 protobuf
>> > Error 23 error C3861: 'max': identifier not found
>> >
>> C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\repeated_field.cc
>> > 46 1 protobuf
>> >
>> > Any suggestions?
>> >
>> > Cheers,
>> > Bruce
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the ParaView Wiki at:
>> > http://paraview.org/Wiki/ParaView
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140224/251b6594/attachment.html>
More information about the ParaView
mailing list