hi there<br><br>I did the find<div class="Ih2E3d"><br><br>find / -name ParaViewConfig.cmake<br>/Users/jmazo/Desktop/paraview/ParaViewConfig.cmake<br><br></div>so I set<br><br>yarumal8:Plugins jmazo$ export ParaView_DIR=/Users/jmazo/<div id=":48" class="ArwC7c ckChnd">
Desktop/paraview<br>
<br>but I get the same error<div class="Ih2E3d"><br><br>Unknown CMake command "ADD_PARAVIEW_ACTION_GROUP".<br><br></div>I'm running ccmake on<div class="Ih2E3d"><br><br>/Users/jmazo/Desktop/fofo/ParaView-3.4.0/Examples/Plugins<br>
<br><br><br></div>and when I did make install I set the dir to<br>
<br>/Users/jmazo/gato</div><br><br><div class="gmail_quote">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 <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</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;">
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..<div class="Ih2E3d"><br>
<br>
---<br>
Mike Jackson <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
<br>
<br>
<br></div><div><div></div><div class="Wj3C7c">
On Jan 6, 2009, at 4:39 PM, Jorge Mario Mazo wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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 <<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>> wrote:<br>
You need to set the environment variable "ParaView_DIR" to the correct 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): 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>
################################################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>
On Tue, Jan 6, 2009 at 4:14 PM, Michael Jackson <<a href="mailto:mike.jackson@bluequartz.net" target="_blank">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" target="_blank">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 me where should I put that<br>
<br>
I'm trying to compile the GUITollbar example<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 <<a href="mailto:mike.jackson@bluequartz.net" target="_blank">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" target="_blank">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 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 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" target="_blank">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" target="_blank">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>
</blockquote>
<br>
_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org" target="_blank">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>
</div></div></blockquote></div><br>