Dear Sebastien, hello, I re-install cmake from binary distribution, ccmake becomes to work!
And I tried the abusolute path instead of the relative path, so the situation progressed.(Makefile has generated) But in make process, following error has occered. -------------------------------------------------------------------------------------------------------------------- : : [ 52%] Built target ParaWebPlugin [ 57%] Building CXX object ParaViewAdapter/CMakeFiles/PWServer.dir/main.cxx.o /root/ParaViewWeb/ParaViewAdapter/main.cxx: In function int main(int, char**): /root/ParaViewWeb/ParaViewAdapter/main.cxx:41: error PROCESS_CLIENT is not a member of 'vtkProcessModule" ---------------------------------------------------------------------------------------------------------------------- I checked ParaViewWeb/ParaViewAdapter/main.cxx and ParaView-3.10.1/Servers/Common/vtkProcessModule.h. Certainly main.cxx refers "PROCESS_CLIENT" but this symbol is not defined in vtkProcessModule.h and other all files... How can I resolve this problem? Best regards, Katsumi SEKIDO > -----Original Message----- > From: Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com] > Sent: Tuesday, May 31, 2011 8:38 PM > To: Sekido, Katsumi > Cc: paraview@paraview.org > Subject: Re: ParaViewWeb Server on Linux > > Hi Katsumi, > > if you have a server X running, you can launch cmake-gui > which will pop-up a graphical application ? > On the other hand, could you explain why ccmake is not working ? > > Moreover, use absolute path inside your configuration instead > of the relative ones. > And the error that you are seeing is because you need to > point to the build directory of ParaView so you can build one > of the components needed by ParaViewWeb. > > Seb > > PS: You shouldn't change anything from the source directory. > And if you use cmake instead of ccmake, it should work in the > same way but less interactively. But the file that you can > change inside the build directory is the CMakeCache.txt... > > > On Tue, May 31, 2011 at 1:42 AM, <katsumi.sek...@unisys.co.jp> wrote: > > Dear Sebastien, > > > > hello, thank you for reply. I understand SOURCE_DIR equals > ParaViewWeb. > > And I will explain my operation. > > > > I use cmake istead of ccmake because ccmake doesn't work in > my environment. > > So I modified "CMakeLists.txt" of "ParaVIewWeb" as follows. > > > ---------------------------------------------------------------------- > > ----------------- > > # > > # ParaView Web Visualisation @ Kitware # > > > > cmake_minimum_required(VERSION 2.6) > > set(ACTIVEMQ_CPP "/usr/local/lib/libactivemq-cpp.so") > > set(ACTIVEMQ_INCLUDE_DIR "/usr/local/include/activemq-cpp-3.1.0/") > > set(BUILD_PW_SERVER "ON") > > set(BUILD_TESTING "ON") > > set(BUILD_WEB_SERVICE "OFF") > > set(CMAKE_BUILD_TYPE "Debug") > > set(CMAKE_INSTALL_PREFIX "../install-pw") set(ParaView_DIR > > "../build-paraview") > > project(PARAVIEW_WEB) > > : > > : > > > > > ---------------------------------------------------------------------- > > -------------------------- > > > > These "set" operations seem to work well in "ParaView > build" process, > > but in "build-pw" process, messages are as follows. > > > > > ---------------------------------------------------------------------- > > -------------------------- > > > > [root@yshimizu1 build-pw]# cmake ../ParaViewWeb > > -- The C compiler identification is GNU > > -- The CXX compiler identification is GNU > > -- Check for working C compiler: /usr/bin/gcc > > -- Check for working C compiler: /usr/bin/gcc -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Check for working CXX compiler: /usr/bin/c++ > > -- Check for working CXX compiler: /usr/bin/c++ -- works > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done CMake Error at > > ParaViewAdapter/CMakeLists.txt:9 (find_package): > > Could not find module FindParaView.cmake or a > configuration file for > > package ParaView. > > > > Adjust CMAKE_MODULE_PATH to find FindParaView.cmake or set > > ParaView_DIR to > > the directory containing a CMake configuration file for ParaView. > > The file > > will have one of the following names: > > > > ParaViewConfig.cmake > > paraview-config.cmake > > > > > > > > CMake Error at ParaViewAdapter/CMakeLists.txt:12 (include): > > include called with wrong number of arguments. Include only takes > > one > > file. > > > > > > CMake Error at ParaViewAdapter/CMakeLists.txt:50 > (add_paraview_plugin): > > Unknown CMake command "add_paraview_plugin". > > > > > > -- Configuring incomplete, errors occurred! > > > > > ---------------------------------------------------------------------- > > --------------------------- > > > > I guess... in this case, setting variable operations are > wrong... If > > so, please let me know the right way to set variable. > > > > Best regards, > > > > Katsumi SEKIDO > > > > > >> -----Original Message----- > >> From: Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com] > >> Sent: Monday, May 30, 2011 9:56 PM > >> To: Sekido, Katsumi > >> Cc: paraview@paraview.org > >> Subject: Re: ParaViewWeb Server on Linux > >> > >> Hi Katsumi, > >> > >> your first attempt was the right one. SOURCE_DIR is the > ParaViewWeb > >> source directory that you get from git. It's the higher directory > >> that contains a CMakeList.txt file. > >> > >> Now the question is, what do you mean by CMake doesn't work. > >> > >> Seb > >> > >> On Mon, May 30, 2011 at 5:53 AM, > <katsumi.sek...@unisys.co.jp> wrote: > >> > Dear Sebastien, > >> > > >> > hello, as you mentioned, I missed activemq-cpp project > >> build. Sorry... > >> > I successed activemq-cpp build and ParaView build. But > in the next > >> > phase, I met a trouble. > >> > > >> > By the manual (website and readme.txt), I have to build the > >> "build-pw" > >> > directory by "ccmake ../SOURCE_DIR". But I couldn't find > >> "SOURCE_DIR". > >> > So I tried "ParaViewWeb" directory gotten by git command. > >> But cmake doesn't work... > >> > How should I indicate directory as the "SOURCE_DIR" ? > >> > > >> > Best regards, > >> > > >> > Katsumi SEKIDO > >> > > >> >> -----Original Message----- > >> >> From: Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com] > >> >> Sent: Thursday, May 26, 2011 8:54 PM > >> >> To: Sekido, Katsumi > >> >> Cc: paraview@paraview.org > >> >> Subject: Re: paraviewweb on windows > >> >> > >> >> Hi Katsumi, > >> >> > >> >> did you looked at that web page ? > >> >> http://activemq.apache.org/building-activemq-cpp.html > >> >> > >> >> The first link refer to the project that you are missing. > >> I guess, in > >> >> your case, you'll have to build that project too. > >> >> > >> >> Seb > >> >> > >> >> On Thu, May 26, 2011 at 4:20 AM, > >> <katsumi.sek...@unisys.co.jp> wrote: > >> >> > Dear Sebastien, > >> >> > > >> >> > hello, now I'm trying build ParaViewWeb server on > >> Linux(CentOS5.6). > >> >> > But at the make process of activemq-cpp, error has occured. > >> >> > The message is "/usr/bin/ld: cannot find -luuid". > >> >> > So I search some uuid-rpms and attached them, but the > >> >> situation doesn't change. > >> >> > So please let me know how can I resolve this error. > >> >> > > >> >> > Best regards, > >> >> > > >> >> > Katsumi SEKIDO > >> >> > > >> >> >> -----Original Message----- > >> >> >> From: Sebastien Jourdain > >> >> >> [mailto:sebastien.jourd...@kitware.com] > >> >> >> Sent: Wednesday, May 11, 2011 3:05 PM > >> >> >> To: Sekido, Katsumi > >> >> >> Cc: paraview@paraview.org > >> >> >> Subject: Re: paraviewweb on windows > >> >> >> > >> >> >> Hi Katsumi, > >> >> >> > >> >> >> If you can get a Linux machine, it will be way simpler. > >> >> >> On the other hand, for git you can use the http url > >> which use the > >> >> >> standard http protocol to communicate. So you shouldn't > >> >> get any issue > >> >> >> with your proxy. > >> >> >> > >> >> >> > git clone http://paraview.org/ParaViewWeb.git > >> >> >> > >> >> >> Seb > >> >> >> > >> >> >> On Wed, May 11, 2011 at 12:03 AM, > <katsumi.sek...@unisys.co.jp> > >> >> >> wrote: > >> >> >> > Dear Sebastien, > >> >> >> > > >> >> >> > hello, thank you for reply. I understand the situation. We > >> >> >> will try to > >> >> >> > build on Linux or (if possible) Windows. > >> >> >> > > >> >> >> > But anyway threre is one problem. I installed Cygwin and > >> >> try to get > >> >> >> > source file and makefile and other resources, but our > >> >> company proxy > >> >> >> > server does not open git-protocol port, so I couldn't get > >> >> >> them. And it might impossible to open this port. > >> >> >> > > >> >> >> > So... if possible, could you send me these resources as > >> >> attachments? > >> >> >> > And if it is difficult, it is very helpful to let me know > >> >> >> any download sites... > >> >> >> > > >> >> >> > Best regards, > >> >> >> > > >> >> >> > Katsumi SEKIDO > >> >> >> > > >> >> >> >> -----Original Message----- > >> >> >> >> From: Sebastien Jourdain > >> >> >> >> [mailto:sebastien.jourd...@kitware.com] > >> >> >> >> Sent: Tuesday, May 10, 2011 9:15 PM > >> >> >> >> To: Sekido, Katsumi > >> >> >> >> Cc: paraview@paraview.org > >> >> >> >> Subject: Re: paraviewweb on windows > >> >> >> >> > >> >> >> >> Hi Katsumi, > >> >> >> >> > >> >> >> >> as I said previously, ParaViewWeb should work on Windows > >> >> >> but it's a > >> >> >> >> non-tested platform. Which means we can't really help you > >> >> >> with that. > >> >> >> >> So if you don't have any skills in building such system on > >> >> >> Windows, > >> >> >> >> you should definitely try to get a Linux or a Mac. > >> >> >> >> That's exactly what happen with Luca who finally managed > >> >> >> to setup a > >> >> >> >> server on Linux. > >> >> >> >> > >> >> >> >> Seb > >> >> >> >> > >> >> >> >> On Tue, May 10, 2011 at 5:48 AM, > >> >> >> <katsumi.sek...@unisys.co.jp> wrote: > >> >> >> >> > Dear Sebastien, > >> >> >> >> > > >> >> >> >> > hello, now I'm trying to build ParaViewWeb server > >> on Windows. > >> >> >> >> > Your colleague could built it smoothly... but now I > >> >> am in a mess. > >> >> >> >> > > >> >> >> >> > I am ashamed my poor skill. And I need your support. > >> >> >> >> > > >> >> >> >> > I read website > >> >> >> >> "http://www.vtk.org/Wiki/ParaViewWeb_Building" and FAQ, > >> >> >> >> > but the description is only for UNIX. So I wonder if I > >> >> >> >> shoud install > >> >> >> >> > Cygwin or install Windows utilities individually. ( > >> >> For example > >> >> >> >> > "nmake" ) > >> >> >> >> > > >> >> >> >> > So it is very helpful for me to know more detailed > >> >> >> >> > building > >> >> >> >> procedure for Windows. > >> >> >> >> > And as you wrote, now getting activemq-cpp > 3.1.0. is very > >> >> >> >> difficult... > >> >> >> >> > Please let me know how to get/build activemq-cpp 3.1.0. > >> >> >> >> > > >> >> >> >> > Best regards, > >> >> >> >> > > >> >> >> >> > Katsumi SEKIDO > >> >> >> >> > > >> >> >> >> >> -----Original Message----- > >> >> >> >> >> From: Sebastien Jourdain > >> >> >> >> >> [mailto:sebastien.jourd...@kitware.com] > >> >> >> >> >> Sent: Thursday, April 28, 2011 8:50 PM > >> >> >> >> >> To: Sekido, Katsumi > >> >> >> >> >> Subject: Re: paraviewweb on windows > >> >> >> >> >> > >> >> >> >> >> Hi Katsumi, > >> >> >> >> >> > >> >> >> >> >> ParaViewWeb should work on windows. But it has never > >> >> >> been really > >> >> >> >> >> tested on Windows. Although one of my colleague did > >> >> >> >> managed to build > >> >> >> >> >> it. > >> >> >> >> >> The tricky part will be to get/build activemq-cpp > >> >> >> 3.1.0. The rest > >> >> >> >> >> should be pretty smooth. > >> >> >> >> >> > >> >> >> >> >> Seb > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> On Thu, Apr 28, 2011 at 1:44 AM, > >> >> >> >> <katsumi.sek...@unisys.co.jp> wrote: > >> >> >> >> >> > Dear Sebastien, > >> >> >> >> >> > > >> >> >> >> >> > Hello, I read the mail thread "[Paraview] > [paraviewweb] > >> >> >> >> >> trouble with paraviewweb on windows". > >> >> >> >> >> > But unfortunately we have to build a > >> paraviewweb server on > >> >> >> >> >> Microsoft Windows. > >> >> >> >> >> > I guess... Mac works as a server well, so it is > >> possible > >> >> >> >> >> > to > >> >> >> >> >> build a server on Windows. > >> >> >> >> >> > Do you have any plan to make it possible to > >> build a server > >> >> >> >> >> on Windows? > >> >> >> >> >> > And if you have no plan, please tell me how can > >> I build a > >> >> >> >> >> server on Windows? > >> >> >> >> >> > > >> >> >> >> >> > Best regards, > >> >> >> >> >> > > >> >> >> >> >> > Katsumi SEKIDO > >> >> >> >> >> > > >> >> >> >> >> > >> >> >> >> > >> >> >> > >> >> > >> > _______________________________________________ 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