[Paraview] [Still having Problems] Re: Generating a distribution of ParaView with Plugin

Rafael March rafaelmarch3 at yahoo.com
Fri Mar 20 13:26:05 EDT 2009


Hi,

thanks, Berk, for your answer. As you corrected me, I've compiled my plugin under the same Qt version of the ParaView distro which is in the website. Now, it is built under the following environment:

plugin:
Operating System: Windows Vista Business - SP1Microsoft Visual Studio 2005 Professional Edition 8.0.50727.867no pythonQt 4.3.5 open source version

ParaView of Kitware's site:

paraview-3.4.0-win32-x86.exe:
 Built on Windows XP Professional Version 2002 (Service Pack 3) 
 Microsoft Visual Studio 2005 Professional Edition 8.0.50727.762
 python 2.5.2
 Qt 4.3.5 open source version
But is still doesn't work ! I got another machine that never saw ParaView before, installed it, and tryied to load the plugin. Then I get a message like "The file "blabla.dll" is not a valid Qt plugin. 

I'm wondering if the problem is the slight difference between the visual studio versions. Or maybe the OS. What do you think ? 

Regards,
Rafael March.



--- On Wed, 3/18/09, Berk Geveci <berk.geveci at kitware.com> wrote:

From: Berk Geveci <berk.geveci at kitware.com>
Subject: Re: [Paraview] Generating a distribution of ParaView with Plugin
To: "Rafael March" <rafaelmarch3 at yahoo.com>
Cc: paraview at paraview.org
Date: Wednesday, March 18, 2009, 3:07 PM

> I've developed a plugin for ParaView, and now I would like to distribute it
> to some researchers, so that they can use it. As the binaries of ParaView in
> the website aren't compiled with support to shared libs, I think I must pack
> my own version of it.

This is not true. The binaries we distribute use shared libraries and
it is possible to build plugins that can be run with them. You have to
match the compilers and Qt version we use. On the download page
, there is a link to a wiki page that describes those.

> What I would like to do, is to give them a zipped folder with a distribution
> of ParaView and the dll of the plugin (Windows environment). They should
> execute a .bat file (which would set environment variables like PATH and
> PV_PLUGIN_PATH) to get ParaView to run, and automatically put my filter in
> the filter menu.
>
> The question is: how to get this to work ? I've tried to copy the folder
> which Visual Studio creates when I build the project INSTALL (I thought this
> would be what I needed: a distribution of ParaView), but I'm getting
> problems to run ParaView by this folder in another computer.

You need to use cpack like we do to make binary distributions. You
should probably check out the cpack documentation first. I believe the
CMake book talks about it so does this page:
http://www.cmake.org/Wiki/CMake:Packaging_With_CPack. You will have to
install the nullsoft install system if you want to distribute self
installing packages. Then you have to change the install rules of
ParaView such that you plugin is installed with ParaView. This is
somewhat complicated. We are working on making it simpler.

Is you plugin proprietary? We have plans to create methods for
researchers to contribute plugins that we maintain and build as part
of our release process.

-berk



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090320/060c6f43/attachment.htm>


More information about the ParaView mailing list