[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] Build Error with 4.0 Sources on VS 2012 Express
From:       Michael Jackson <mike.jackson () bluequartz ! net>
Date:       2013-06-18 16:03:01
Message-ID: 0FB98A7A-AC72-498C-B37D-687574600410 () bluequartz ! net
[Download RAW message or body]


On Jun 18, 2013, at 11:16 AM, Kyle Lutz wrote:

> On Tue, Jun 18, 2013 at 10:43 AM, Michael Jackson
> <mike.jackson@bluequartz.net> wrote:
> > 
> > On Jun 18, 2013, at 10:24 AM, Kyle Lutz wrote:
> > 
> > > On Tue, Jun 18, 2013 at 9:27 AM, Michael Jackson
> > > <mike.jackson@bluequartz.net> wrote:
> > > > 
> > > > On Jun 17, 2013, at 10:34 AM, Kyle Lutz wrote:
> > > > 
> > > > > On Mon, Jun 17, 2013 at 6:57 AM, Michael Jackson
> > > > > <mike.jackson@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
> > > > > <pipe_length_fix.diff>
> > > > 
> > > > so that cleared up a few of the errors but now I am getting this:
> > > > 
> > > > 
> > > > 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) 
> > > > 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. 
> > > > Thoughts?
> > > 
> > > Hmm. I'm not sure (though I don't have much experience with
> > > Windows/MSVC). Could you try with the precompiled Qt 4.8 libraries?
> 
> Untested on Windows, but could you try the attached patch?
> 
> -kyle
> <fix-pqwidgets-export.diff>

Works on my Windows 7x64 running VS 2012 Express. Configured with Qt 4.8.4 self built \
(No QtWebKit) using CMake 2.8.10.1.

Also tested on Windows 7x64 VS 2010 Pro. Configured with Qt 4.8.4 self built (No \
QtWebKit) using CMake 2.8.10.1.


Thanks
Mike Jackson. 
_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic