Qt version of Paraview 3.8.0 in OpenFOAM 1.7
Hi everyone
It seems that by using makeParaview tool in the ThirdParty package I can build the paraview 3.8.0 within the ThirdPary package. but with the same machine I can not build the paraview 3.8.0 manual by using ccmake to configure and generate. It error message in ccmake is : CMake Error at CMakeLists.txt:88 (MESSAGE): Qt 4.5.0 or greater not found. Please check the QT_QMAKE_EXECUTABLE variable. CMake Error at VTK/CMakeLists.txt:310 (MESSAGE): Qt 4.5.0 or greater not found. Please check the QT_QMAKE_EXECUTABLE variable. Qt QTGUI library not found. Qt QTSQL library not found. Qt QTCORE library not found. Qt QTGUI library not found. Qt QTSQL library not found. that`s Why? another quiestion is that if anybody have succeed in building OSMesa in RHEL 4? when i built that , I got all share lib by libGL.so and glx can`t build successful with error message: ../../../bin/mklib -o GL -linker 'gcc' \ -major 1 -minor 2 \ -install ../../../lib -lX11 -lXext -lm -lpthread glcontextmodes.o clientattrib.o compsize.o eval.o glxcmds.o glxext.o glxextensions.o indirect.o indirect_init.o indirect_size.o indirect_window_pos.o indirect_transpose_matrix.o indirect_vertex_array.o indirect_vertex_program.o pixel.o pixelstore.o render2.o renderpix.o single2.o singlepix.o vertarr.o xfont.o glx_pbuffer.o glx_query.o glx_texture_compression.o dri_glx.o XF86dri.o ../../../src/mesa/main/dispatch.o ../../../src/mesa/glapi/glapi.o ../../../src/mesa/glapi/glthread.o mklib: Making Linux shared library: libGL.so.1.2 ../../../src/mesa/main/dispatch.o: In function `gl_dispatch_stub_366': dispatch.c:(.text+0xdb10): multiple definition of `gl_dispatch_stub_366' indirect.o:indirect.c:(.text+0xea10): first defined here /usr/bin/ld: Warning: size of symbol `gl_dispatch_stub_366' changed from 205 in indirect.o to 85 in ../../../src/mesa/main/dispatch.o ........... `glAreTexturesResidentEXT': dispatch.c:(.text+0x103d0): multiple definition of `glAreTexturesResidentEXT' indirect.o:indirect.c:(.text+0xf730): first defined here /usr/bin/ld: Warning: size of symbol `glAreTexturesResidentEXT' changed from 293 in indirect.o to 87 in ../../../src/mesa/main/dispatch.o collect2: ld returned 1 exit status mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../../lib mv: cannot stat `libGL.so.1.2': No such file or directory make: *** [../../../lib/libGL.so] Error 1 :confused: is there anyone can help ? thanks |
Greetings Wayne Zhang,
Quote:
As for OSMesa+RHEL4, I'm all out of ideas, since I've rarely managed to build it successfully in Ubuntu and Windows, and I have no experience with RHEL :( Best regards, Bruno |
Hi
Thanks for you reply. I have rebuilt the Qt with -no-openssl and then resolve the first problem. But for the last , I still can`t not make the osmesa correctly in redhat, but fine in Opensuse, osmesa is very usefull of off screen rendering. it is needed to built paraview with tool pvbatch. wayne |
Hi Wayne,
I have no experience with Red Hat itself, but in Fedora and Scientific Linux (both Red Hat based) yum finds libosmesa: Code:
[root@pc7368 wierink_g]# yum search libosmesa |
Hi
Thanks, I am user of machine but NOT root. but I have resolve the problem :) Thanks It works fine right now. pvbatch --use-offscreen-rendering mypythonsrcipt.py |
Hi Foamers,
I'm trying to install OF 1.7.x with Paraview 3.8.0 on a Suse Linux Enterprise Server 11 SP 1, that has as default QT 4.4. I have problems as there aren't packages of QT 4.5.x or higher for this Distro (damned commercial distros!!!), and I don't know how to compile and install a correct version of QT in my system to be used by OF and Paraview only. Could anyone give me some help? Thanks, Ivan |
Hi Ivan,
Can you compile QT from source? Code:
wget ftp://ftp.trolltech.no/qt/source/qt-x11-opensource-src-4.5.3.tar.gz |
Quote:
I've already downloaded a QT 4.6.3 source pack, but I've not allready compiled it. The question is, how can I use this version without overriding the system version and how can I tell OF to use this version and not the system one? Thanks, Ivan |
Hi Ivan,
Have a look at this page, in particular the section below: Quote:
|
Greetings to all!
Here's another tutorial on how to build ParaView 3.8.0 with a custom Qt 4.6: Building ParaView 3.8.0 with custom Qt 4.6.3 Best regards, Bruno |
Quote:
|
All times are GMT -4. The time now is 00:13. |