hi there<br>so what you are saying is that I need the cvs version of paraview?<br><br>I tried building paraview with sources 3.4.0 in<br>/home/jmazo/parasrc<br><br>then set the variable to /home/jmazo/parasrc<br><br>then tried to build a plugin but I still get the QT error, so I added find_package(Qt4)<br>
<br>but I still get the paraview errors<br><br>thanks in advance, I'm going to try with the cvs version<br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 9:52 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jorge,<br>
<br>
First of, you cannot build new plugins using an installed ParaView (at<br>
for ParaView 3.4.* and earlier, it should work with CVS ParaView). You<br>
need to download the source and build ParaView from scartch. Then set<br>
the ParaView_DIR to the directory in which you've built ParaView.<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Tue, Jan 6, 2009 at 5:50 PM, Jorge Mario Mazo <<a href="mailto:jmm.mecanica@gmail.com">jmm.mecanica@gmail.com</a>> wrote:<br>
> hi there<br>
><br>
> I did the find<br>
><br>
> find / -name ParaViewConfig.cmake<br>
> /Users/jmazo/Desktop/paraview/ParaViewConfig.cmake<br>
><br>
> so I set<br>
><br>
> yarumal8:Plugins jmazo$ export ParaView_DIR=/Users/jmazo/<br>
> Desktop/paraview<br>
><br>
> but I get the same error<br>
><br>
> Unknown CMake command "ADD_PARAVIEW_ACTION_GROUP".<br>
><br>
> I'm running ccmake on<br>
><br>
> /Users/jmazo/Desktop/fofo/ParaView-3.4.0/Examples/Plugins<br>
><br>
><br>
><br>
> and when I did make install I set the dir to<br>
><br>
> /Users/jmazo/gato<br>
><br>
> I tried setting ParaView_DIR to<br>
><br>
> /Users/jmazo/gato<br>
> /Users/jmazo/Desktop/paraview/<br>
> /Users/jmazo/Desktop/fofo/ParaView-3.4.0<br>
><br>
><br>
> but I got the same error on all cases<br>
><br>
> any ideas<br>
><br>
><br>
> thanks<br>
><br>
><br>
> On Tue, Jan 6, 2009 at 4:57 PM, Michael Jackson<br>
> <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>><br>
>> So you installed ParaView 3.4 into /Users/jmazo/gato?<br>
>><br>
>> then ParaView_DIR should be /Users/jmazo/gato<br>
>><br>
>> I think..<br>
>><br>
>> Also, keep the discussion on list in case someone else wants to help out..<br>
>><br>
>> ---<br>
>> Mike Jackson <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>><br>
>><br>
>><br>
>> On Jan 6, 2009, at 4:39 PM, Jorge Mario Mazo wrote:<br>
>><br>
>>> Hi there<br>
>>> and sorry for the bothering<br>
>>><br>
>>><br>
>>> I did the find<br>
>>><br>
>>> find / -name ParaViewConfig.cmake<br>
>>> /Users/jmazo/Desktop/paraview/ParaViewConfig.cmake<br>
>>><br>
>>> so I set<br>
>>><br>
>>> yarumal8:Plugins jmazo$ export ParaView_DIR=/Users/jmazo/Desktop/paraview<br>
>>><br>
>>> but I get the same error<br>
>>><br>
>>> Unknown CMake command "ADD_PARAVIEW_ACTION_GROUP".<br>
>>><br>
>>> I'm running ccmake on<br>
>>><br>
>>> /Users/jmazo/Desktop/fofo/ParaView-3.4.0/Examples/Plugins<br>
>>><br>
>>><br>
>>><br>
>>> and when I did make install I set the dir to<br>
>>><br>
>>> /Users/jmazo/gato<br>
>>><br>
>>> arumal8:gato jmazo$ pwd<br>
>>> /Users/jmazo/gato<br>
>>> yarumal8:gato jmazo$ ls<br>
>>> bin include lib plugins<br>
>>><br>
>>><br>
>>> thank you very much for all your help<br>
>>> On Tue, Jan 6, 2009 at 4:24 PM, Michael Jackson<br>
>>> <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>>> You need to set the environment variable "ParaView_DIR" to the correct<br>
>>> directory.<br>
>>><br>
>>> ---<br>
>>> Mike Jackson <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Jan 6, 2009, at 4:21 PM, Jorge Mario Mazo wrote:<br>
>>><br>
>>> thanks for the quick answer<br>
>>> but I get this error now<br>
>>> ############################################################<br>
>>> CMake Error at CMakeLists.txt:4 (INCLUDE):<br>
>>> i<br>
>>> nclude could not find load file:<br>
>>><br>
>>> /ParaViewConfig.cmake<br>
>>><br>
>>><br>
>>><br>
>>> CMake Error at CMakeLists.txt:20 (ADD_PARAVIEW_ACTION_GROUP):<br>
>>> Unknown CMake command "ADD_PARAVIEW_ACTION_GROUP".<br>
>>> ####################################<br>
>>><br>
>>> a find gave me this:<br>
>>> find / -name ParaViewConfig.cmake<br>
>>> /Users/jmazo/Desktop/paraview/ParaViewConfig.cmake<br>
>>><br>
>>> so moved the file to / and now I get<br>
>>><br>
>>><br>
>>> CMake Error at CMakeLists.txt:20 (ADD_PARAVIEW_ACTION_GROUP):<br>
>>> Unknown CMake command "ADD_PARAVIEW_ACTION_GROUP".<br>
>>><br>
>>><br>
>>> the CMakeLists.txt looks like this<br>
>>> ###########################################<br>
>>> IF (DEFINED ParaView_BINARY_DIR)<br>
>>> INCLUDE(${ParaView_BINARY_DIR}/ParaViewConfig.cmake)<br>
>>> ELSE (DEFINED ParaView_BINARY_DIR)<br>
>>> INCLUDE($ENV{ParaView_DIR}/ParaViewConfig.cmake)<br>
>>> ENDIF (DEFINED ParaView_BINARY_DIR)<br>
>>> PROJECT(RoboMetClientPlugin)<br>
>>><br>
>>> FIND_PACKAGE(Qt4)<br>
>>> IF(QT4_FOUND)<br>
>>><br>
>>> INCLUDE(${QT_USE_FILE})<br>
>>> #-- All your Qt4 dependent code in here.<br>
>>><br>
>>><br>
>>> ################################################CMAKELists.txt#################<br>
>>> # create a plugin that implements an object panel for a source proxy<br>
>>><br>
>>> QT4_WRAP_CPP(MOC_SRCS MyToolBarActions.h)<br>
>>><br>
>>> # we implement a pqConePanel.h for the ConeSource<br>
>>> ADD_PARAVIEW_ACTION_GROUP(IFACES IFACE_SRCS CLASS_NAME MyToolBarActions<br>
>>> GROUP_NAME "ToolBar/MyActions")<br>
>>><br>
>>> # create a plugin for this panel<br>
>>> ADD_PARAVIEW_PLUGIN(GUIMyToolBar "1.0"<br>
>>> GUI_INTERFACES ${IFACES}<br>
>>> SOURCES MyToolBarActions.cxx ${MOC_SRCS} ${IFACE_SRCS})<br>
>>><br>
>>> ENDIF (QT4_FOUND)<br>
>>><br>
>>> ###########################################################################################<br>
>>><br>
>>><br>
>>> On Tue, Jan 6, 2009 at 4:14 PM, Michael Jackson<br>
>>> <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>>> IF (DEFINED ParaView_BINARY_DIR)<br>
>>> INCLUDE(${ParaView_BINARY_DIR}/ParaViewConfig.cmake)<br>
>>> ELSE (DEFINED ParaView_BINARY_DIR)<br>
>>> INCLUDE($ENV{ParaView_DIR}/ParaViewConfig.cmake)<br>
>>> ENDIF (DEFINED ParaView_BINARY_DIR)<br>
>>> PROJECT(RoboMetClientPlugin)<br>
>>><br>
>>> FIND_PACKAGE(Qt4)<br>
>>> IF(QT4_FOUND)<br>
>>><br>
>>> INCLUDE(${QT_USE_FILE})<br>
>>> #-- All your Qt4 dependent code in here.<br>
>>><br>
>>> ################################################CMAKELists<br>
>>> .txt#################<br>
>>> # create a plugin that implements an object panel for a source proxy<br>
>>><br>
>>> QT4_WRAP_CPP(MOC_SRCS MyToolBarActions.h)<br>
>>><br>
>>> # we implement a pqConePanel.h for the ConeSource<br>
>>> ADD_PARAVIEW_ACTION_GROUP(IFACES IFACE_SRCS CLASS_NAME MyToolBarActions<br>
>>> GROUP_NAME "ToolBar/MyActions")<br>
>>><br>
>>> # create a plugin for this panel<br>
>>> ADD_PARAVIEW_PLUGIN(GUIMyToolBar "1.0"<br>
>>> GUI_INTERFACES ${IFACES}<br>
>>> SOURCES MyToolBarActions.cxx ${MOC_SRCS} ${IFACE_SRCS})<br>
>>> #############################################ENDIF (QT4_FOUND)<br>
>>><br>
>>> _________________________________________________________<br>
>>> Mike Jackson <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
>>> BlueQuartz Software <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>>> Principal Software Engineer Dayton, Ohio<br>
>>><br>
>>><br>
>>><br>
>>> On Jan 6, 2009, at 4:02 PM, Jorge Mario Mazo wrote:<br>
>>><br>
>>> Hi there and thanks<br>
>>> since I'm very new to the paraview and cmake build workd, could you tell<br>
>>> me where should I put that<br>
>>><br>
>>> I'm trying to compile the GUITollbar example<br>
>>><br>
>>> ################################################CMAKELists.txt#################<br>
>>> # create a plugin that implements an object panel for a source proxy<br>
>>><br>
>>> QT4_WRAP_CPP(MOC_SRCS MyToolBarActions.h)<br>
>>><br>
>>> # we implement a pqConePanel.h for the ConeSource<br>
>>> ADD_PARAVIEW_ACTION_GROUP(IFACES IFACE_SRCS CLASS_NAME MyToolBarActions<br>
>>> GROUP_NAME "ToolBar/MyActions")<br>
>>><br>
>>> # create a plugin for this panel<br>
>>> ADD_PARAVIEW_PLUGIN(GUIMyToolBar "1.0"<br>
>>> GUI_INTERFACES ${IFACES}<br>
>>> SOURCES MyToolBarActions.cxx ${MOC_SRCS} ${IFACE_SRCS})<br>
>>> #############################################<br>
>>><br>
>>> wich is located in<br>
>>><br>
>>> /Users/jmazo/Desktop/fofo/ParaView-3.4.0/Examples/Plugins/GUIToolBar<br>
>>><br>
>>> #########################<br>
>>><br>
>>><br>
>>> On Tue, Jan 6, 2009 at 3:14 PM, Michael Jackson<br>
>>> <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>>> You probably want something like:<br>
>>><br>
>>> IF (DEFINED ParaView_BINARY_DIR)<br>
>>> INCLUDE(${ParaView_BINARY_DIR}/ParaViewConfig.cmake)<br>
>>> ELSE (DEFINED ParaView_BINARY_DIR)<br>
>>> INCLUDE($ENV{ParaView_DIR}/ParaViewConfig.cmake)<br>
>>> ENDIF (DEFINED ParaView_BINARY_DIR)<br>
>>> PROJECT(RoboMetClientPlugin)<br>
>>><br>
>>> FIND_PACKAGE(Qt4)<br>
>>> IF(QT4_FOUND)<br>
>>><br>
>>> INCLUDE(${QT_USE_FILE})<br>
>>> #-- All your Qt4 dependent code in here.<br>
>>><br>
>>> ENDIF (QT4_FOUND)<br>
>>><br>
>>> _________________________________________________________<br>
>>> Mike Jackson <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
>>> BlueQuartz Software <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>>> Principal Software Engineer Dayton, Ohio<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Jan 6, 2009, at 1:03 PM, Jorge Mario Mazo wrote:<br>
>>><br>
>>> Hi there<br>
>>> I'm very new to paraview, I managed to compile paraview on linux and mac<br>
>>> but when I try to compile a plugin y get the infamous Unknown CMake<br>
>>> command "QT4_WRAP_CPP". error.<br>
>>><br>
>>> I read on this list that I have to setup the variable QT_QMAKE_EXECUTABLE<br>
>>><br>
>>> the problem is that I dont know how and were to set it on<br>
>>> /Applications/CMake<br>
>>> 2.6-2.app/Contents/share/cmake-2.6/Modules/FindQt4.cmake<br>
>>><br>
>>> like this<br>
>>> SET(QT_QMAKE_EXECUTABLE /usr/bin/qmake-4.3)<br>
>>> at the end of the file<br>
>>><br>
>>> but still does not work<br>
>>><br>
>>> one problem is that man cmake skills are very near to 0<br>
>>><br>
>>> any help would be appreciate it.<br>
>>><br>
>>><br>
>>><br>
>>> qmake -v<br>
>>> QMake version 2.01a<br>
>>> Using Qt version 4.3.5 in /Library/Frameworks<br>
>>> _______________________________________________<br>
>>> ParaView mailing list<br>
>>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
>>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> ParaView mailing list<br>
>>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
>>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> ParaView mailing list<br>
>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
> _______________________________________________<br>
> ParaView mailing list<br>
> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br>