[Paraview] plugin for 3D Delaunay
Stefan Murphy
stefan.murphy at dal.ca
Wed Feb 20 12:27:15 EST 2008
I am using ParaView3.2.1 downloaded as paraview-3.2.1.zip in the
Latest Stable Release download section.
My first error is:
------ Build started: Project: vtkRendering, Configuration: Debug Win32 ------
Compiling...
vtkWin32OpenGLRenderWindow.cxx
..\..\..\paraview-3.2.1\ParaView3.2.1\VTK\Rendering\vtkWin32OpenGLRenderWindow.cxx(35)
: fatal error C1083: Cannot open include file: 'GL/glaux.h': No such
file or directory
Build log was saved at "file://c:\Documents and
Settings\Owner\Desktop\Organized
Stuff\Software\ParaView3.2.1\paraview-3.2.1-build\VTK\Rendering\vtkRendering.dir\Debug\BuildLog.htm"
vtkRendering - 1 error(s), 0 warning(s)
This is caused by "# include <GL/glaux.h>" in the file
vtkWin32OpenGLRenderWindow.cxx. I searched my C drive and the only
thing with glaux in the file name was libglaux.a in my MinGW\lib
directory. Does this seem like a compiler issue?
When I was installing Qt from the Visual Studio 2008 Command Prompt,
I chose msvc2005 as my compiler. The options were
<g++/msvc/msvc.net/msvc2005/borland/bccx> (msvc2008 not an option). So
the command I used was >qconfigure msvc2005. That's the only compiler
related issue I've had so far, so I thought I would mention it just in
case.
On Feb 20, 2008 10:45 AM, Mike Jackson <imikejackson at gmail.com> wrote:
> There were 34 build errors in your build. Find the first error and try
> to figure out what went wrong.
>
> Also, if you are building ParaView from CVS, then you need Qt 4.3.3
> NOT qt 4.2.3.
>
> Mike
>
>
> On Wed, Feb 20, 2008 at 9:42 AM, Stefan Murphy <stefan.murphy at dal.ca> wrote:
> > Sorry to keep this thread going for so long, but I've been trying for
> > a couple of days to compile paraview in order to try the Delaunay3D
> > filter.
> >
> > I've downloaded the "GPL'ed" source code for Qt4.2.3 so that I could
> > build it with VS 9 2008 and install it.
> >
> > Then with CMake, I generated the (MS VS Solution) file name ParaView,
> > which I opened in VS9. I clicked on ALL_BUILD so that it was
> > highlighted, then from the "Build" menu I selected "Build ALL_BUILD".
> >
> > After a couple of hours, the build stopped. Here are the last lines of
> > the output:
> >
> > Generating Code...
> > Compiling manifest to resources...
> > Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> > Copyright (C) Microsoft Corporation. All rights reserved.
> > Linking...
> > LINK : fatal error LNK1104: cannot open file 'vtklibxml2.lib'
> > Build log was saved at "file://c:\Documents and
> > Settings\Owner\Desktop\Organized
> > Stuff\Software\ParaView3.2.1\paraview-3.2.1-build\Applications\DobranoViz\DobranoViz.dir\Debug\BuildLog.htm"
> > DobranoViz - 1 error(s), 0 warning(s)
> > ------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
> > "Build all projects"
> > Build log was saved at "file://c:\Documents and
> > Settings\Owner\Desktop\Organized
> > Stuff\Software\ParaView3.2.1\paraview-3.2.1-build\ALL_BUILD.dir\Debug\BuildLog.htm"
> > ALL_BUILD - 0 error(s), 0 warning(s)
> > ========== Build: 77 succeeded, 34 failed, 1 up-to-date, 0 skipped ==========
> >
> >
> > There were 1.3 GB of files generated, but no paraview.exe. I've tried
> > it 3 times with identical results. Any ideas?
> >
> >
> > Stefan
> >
> >
> >
> >
> >
> > On Feb 19, 2008 2:10 PM, Mike Jackson <imikejackson at gmail.com> wrote:
> > > Is it possible? Sure? We are beyond my knowledge at this point so
> > > someone else is going to have to chime in at this point.
> > >
> > >
> > > --
> > > Mike Jackson Senior Research Engineer
> > > Innovative Management & Technology Services
> > >
> > >
> > >
> > > On Feb 19, 2008, at 1:04 PM, Stefan Murphy wrote:
> > >
> > > > 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
> > > >>
> > > >>
> > > >>
> > >
> > >
> >
>
>
>
> --
> Mike Jackson
> imikejackson _at_ gee-mail dot com
>
More information about the ParaView
mailing list