[Paraview] plugin for 3D Delaunay

Stefan Murphy stefan.murphy at dal.ca
Tue Feb 19 13:04:26 EST 2008


Is it possible to build with MinGW instead of VS? I was successful in
generating a mingw Makefile with CMake, however I'm not sure what
command to use to compile. mingw-make and make are not recognized.



On Feb 19, 2008 1:38 PM, Mike Jackson <imikejackson at gmail.com> wrote:
> Not sure since I always build from source. Point is that you need to
> have BOTH Qt and ParaView built with the SAME compiler. Period.
>
> So.. download the source code version of Qt.
> If you want to use Qt versions newer than 4.2.3 with ParaView you
> will need to edit a line in a CmakeLists.txt file that checks for
> that version.
>
> Then build Qt with VS 9
> Install Qt
> Build PV 3.x
>
> Mike
>
>
> On Feb 19, 2008, at 12:29 PM, Stefan Murphy wrote:
>
> > I was assuming that the qt-win-opensource-4.3.3-mingw.exe file was a
> > compiled package. I am going to try Qt4.2.3 to see if there is any
> > difference.
> >
> >
> >
> >
> > On Feb 19, 2008 1:18 PM, Mike Jackson <imikejackson at gmail.com> wrote:
> >> Not sure on windows but I don't think you can actually mix a MinGW Qt
> >> with a Visual Studio 9 ParaView. All the code most probably has to be
> >> from the same compiler.
> >>
> >> Also, in the CMakeSetup GUI, there should be an entry for
> >> QT_QMAKE_EXECUTABLE. Edit the entry to point to your Qt 4 qmake
> >> executable, C:\Qt\4.3.3\bin\qmake.
> >>
> >> You will probably have to recompile Qt with VS 9 first.
> >>
> >> Mike
> >>
> >>
> >> On Feb 19, 2008, at 12:11 PM, Stefan Murphy wrote:
> >>
> >>> I have installed CMake, and Qt 4.3.3 from the file
> >>> qt-win-opensource-4.3.3-mingw. MinGW was installed with Qt. I
> >>> obtained
> >>> the source code for ParaView3.2.1.
> >>>
> >>> When I try to run CMake for Visual Studio 9, 2008 it says that Qt is
> >>> not found, specifically asking me to check the QT_QMAKE_EXECUTABLE
> >>> variable. I set this to C:\Qt\4.3.3\bin, but I get the same error.
> >>>
> >>> Is there anything else I have to do with Qt? I ran "configure
> >>> -platform win32-g++" and added C:\Qt\4.3.3\bin to PATH and still get
> >>> the same error.
> >>>
> >>>
> >>> Stefan
> >>>
> >>>
> >>>
> >>> On Feb 18, 2008 6:24 PM, Jean Favre <jfavre at cscs.ch> wrote:
> >>>> On 18, Feb 2008 10:48 PM, Stefan Murphy <stefan.murphy at dal.ca>
> >>>> wrote:
> >>>>
> >>>>> Jean,
> >>>>>
> >>>>> I've been trying to compile your plugin with CMake, but I am
> >>>>> getting
> >>>>> the error:
> >>>>>
> >>>>> "CMake Error: ParaView_DIR is not set. It must be set to the
> >>>>> directory
> >>>>> containing ParaViewConfig.cmake in order to use ParaView."
> >>>>>
> >>>>> I have never used CMake before - Do you have the compiled .dll
> >>>>> or .so
> >>>>> file for the plugin?
> >>>>
> >>>> the procedure documented on the Wiki assumes prior knowledge of
> >>>> Cmake,
> >>>> and assumes that you have compiled your own version of ParaView
> >>>> from the
> >>>> source code distribution.
> >>>>
> >>>> The error above comes up the first time you run cmake while its
> >>>> internal
> >>>> variables are not set. While using Cmake, you should put in the
> >>>> path to
> >>>> the directory where you have previoulsy build ParaView. After
> >>>> that, the
> >>>> configuration can complete, and the Makefile gets generated.
> >>>>
> >>>> Looks however, like you have never done any of this. First step,
> >>>> check
> >>>> the wiki, compile your own Paraview. Once done with that, you may
> >>>> get to
> >>>> the second step of adding pluggins.
> >>>>
> >>>> Jean
> >>>>
> >>>>
> >>
>
> --
> Mike Jackson   Senior Research Engineer
> Innovative Management & Technology Services
>
>
>


More information about the ParaView mailing list