That seems to have fixed that problem.

Would also be nice if the macro "paraview_build_optional_plugin" was in the ParaViewPlugins.cmake file as I have to recreate it in each of my Plugins CMake files because the macro is located in ParaView/ Plugins/CMakeLists.txt

Thanks
___________________________________________________________
Mike Jackson                      www.bluequartz.net


On Feb 22, 2010, at 1:30 PM, Dave Partyka wrote:

I just moved the definition of ParaView_QT_DIR to be just before including ParaViewCommon. Give it a shot and let me know if it doesn't fix your problem.

On Mon, Feb 22, 2010 at 12:04 PM, Michael Jackson <[email protected] > wrote:
Pulled the latest CVS Head from GitHub? Is that really the latest?

When I tried to configure ParaView with my plugins using PARAVIEW_EXTRA_EXTERNAL_MODULES I get the following error:

-- Plugin: IPFFilter enabled
CMake Error: File /Components/pqObjectPanelImplementation.h.in does not exist. CMake Error at /Users/Shared/Kitware-CVS/ParaView/CMake/ ParaViewPlugins.cmake:281 (CONFIGURE_FILE):
 configure_file Problem configuring file
Call Stack (most recent call first):
/Users/mjackson/Workspace/PVMXADataModel/Source/Client/IPFFilter/ CMakeLists.txt:93 (ADD_PARAVIEW_OBJECT_PANEL)

IPFFilter is my own plugin. The problem is that ParaView_QT_DIR is NOT defined at the point where my CMake code is executed. Looking at the top level CMakeLists.txt file I see that the Plugins are loaded at line 238 (INCLUDE(ParaViewCommon)) which then picks up my code. The problem is that ParaView_QT_DIR is NOT defined until line 272 in the top level CMakeLists.txt file. This causes problems for my external modules because I have Qt code that needs to be compiled.

 Is this a bug or am I just missing something?

___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       [email protected]
BlueQuartz Software               Dayton, Ohio

_______________________________________________
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

Reply via email to