[Paraview] Build Error with 4.0 Sources on VS 2012 Express

Kyle Lutz kyle.lutz at kitware.com
Mon Jun 17 10:34:59 EDT 2013


On Mon, Jun 17, 2013 at 6:57 AM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> 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:
>
> 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
>
> And lots more of those for various files. Is this a known issue with VS2012 or my own Qt or something else?

Hi Mike,

I'm not sure if it's the correct fix but the attached patch should
allow it to compile.

-kyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pipe_length_fix.diff
Type: application/octet-stream
Size: 5147 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130617/989bc783/attachment.obj>


More information about the ParaView mailing list