|
[Sponsors] |
August 5, 2010, 14:09 |
Qt version of Paraview 3.8.0 in OpenFOAM 1.7
|
#1 |
Senior Member
|
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 is there anyone can help ? thanks |
|
August 7, 2010, 19:16 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
August 8, 2010, 15:07 |
|
#3 |
Senior Member
|
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 |
|
August 9, 2010, 04:20 |
|
#4 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
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 Loaded plugins: kernel-module sl5base 100% |=========================| 1.1 kB 00:00 sl5kernel 100% |=========================| 951 B 00:00 sl5nonfree 100% |=========================| 951 B 00:00 sl5others 100% |=========================| 951 B 00:00 sl5psi 100% |=========================| 951 B 00:00 sl5update 100% |=========================| 951 B 00:00 ============================== Matched: libosmesa ============================== mesa-libOSMesa.i386 : Mesa offscreen rendering libraries mesa-libOSMesa.x86_64 : Mesa offscreen rendering libraries mesa-libOSMesa-devel.i386 : Mesa offscreen rendering development package mesa-libOSMesa-devel.x86_64 : Mesa offscreen rendering development package [root@pc7368 wierink_g]#
__________________
Regards, Gijs |
|
August 9, 2010, 12:41 |
|
#5 |
Senior Member
|
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 Last edited by waynezw0618; August 9, 2010 at 13:00. |
|
March 3, 2011, 05:19 |
|
#6 |
Senior Member
|
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 |
|
March 3, 2011, 05:40 |
|
#7 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
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
__________________
Regards, Gijs |
|
March 3, 2011, 06:00 |
|
#8 | |
Senior Member
|
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 |
||
March 3, 2011, 06:15 |
|
#9 | |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Ivan,
Have a look at this page, in particular the section below: Quote:
__________________
Regards, Gijs |
||
March 3, 2011, 07:38 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM on cluster: version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found | ovie | OpenFOAM | 10 | April 19, 2021 19:06 |
[OpenFOAM] Problem with paraFoam on a linux-64 bit | bunni | ParaView | 4 | April 14, 2010 21:55 |
OpenFOAM Version 1.1 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | March 11, 2005 06:33 |
OpenFOAM Version 1.0.2 Released | Admin (Admin) | OpenFOAM Announcements from ESI-OpenCFD | 0 | January 12, 2005 07:33 |
OpenFOAM Version 1.0 Released | Admin (Admin) | OpenFOAM Announcements from ESI-OpenCFD | 0 | December 14, 2004 11:58 |