|
[Sponsors] |
September 20, 2010, 04:05 |
Paraview 3.8 on Ubuntu 10.10 (qt 4.7)
|
#1 |
Member
Join Date: Mar 2010
Posts: 42
Rep Power: 16 |
Hi, i compiled OpenFoam sucessfully on ubuntu 10.10, but paraview is not building.
The error is easy to understand Code:
CMake Warning at CMakeLists.txt:105 (MESSAGE): Warning: You are using Qt 4.7.0. Officially supported version is Qt 4.6 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QT_QTASSISTANTCLIENT_INCLUDE_DIR (ADVANCED) used as include directory in directory /home/lindner/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/Qt/ApplicationComponents make: *** No targets specified and no makefile found. Stop. Command exited with non-zero status 2 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 4400maxresident)k 0inputs+0outputs (0major+328minor)pagefaults 0swaps make: *** No rule to make target `install'. Stop. Thanks |
|
September 20, 2010, 04:28 |
|
#2 |
Member
Join Date: Mar 2010
Posts: 42
Rep Power: 16 |
Another question,
Will the paraview installed via apt-get have the same features as the one compiled from ThirdParty? I installed and it seems to be working fine, but i don't know if i will find some problems in the future. thanks |
|
September 20, 2010, 07:09 |
|
#3 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Old paraview versions used to lack an OpenFoam plugin to view results without converting them to VTK. Paraview 3.8 now has a native OpenFoam reader, so I don't think it will have any negative side effect using the repository version.
|
|
September 20, 2010, 08:07 |
|
#4 |
Member
Join Date: Mar 2010
Posts: 42
Rep Power: 16 |
Yes, the overall behavior of OpenFoam seems ok like you said.
The only problem now is with the particles. While opening the VTK files the only option is Legacy VTK files, and it gives me the following error: Code:
ERROR: In /build/buildd/paraview-3.8.1/Servers/ServerManager/vtkSMWriterFactory.cxx, line 337 vtkSMWriterFactory (0xf74580): No matching writer found. Failed to create writer for: "/home/lindner/OpenFOAM/lindner-1.7.x/run/Annex20/particulas/VTK/lagrangian/kinematicCloud/kinematicCloud_..vtk" |
|
September 25, 2010, 15:18 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Guilherme, what Anton meant is to use the internal reader to open OpenFOAM cases. Namely: Quote:
Best regards, Bruno
__________________
|
||
October 11, 2010, 03:25 |
|
#6 |
Disabled
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 15 |
Hi Lindner, Hi all,
I am having the same problem that you stated in your first post (but with an Arch Linux distribution, cmake 2.8.2, qt 4.7.0). Has anyone found a solution to it yet? Best regards, GT PS: Officially supported is qt 4.6 - is there any, like 'compatibility option' for compiling? Last edited by anon_i; October 11, 2010 at 04:17. |
|
October 11, 2010, 08:32 |
|
#7 |
Disabled
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 15 |
Ok, solved for me. Workaround was:
- downgrade to qt-4.6.3 - compile & install - upgrade to qt-4.7 again. Regards, GT |
|
October 11, 2010, 23:28 |
|
#8 |
New Member
AlvinXu
Join Date: Nov 2009
Posts: 15
Rep Power: 16 |
maybe you should install the libqt-devel plugin
when I am installing the ParaView 3.8, I have a similar problem, so I install the libqtwebkit-devel, its done |
|
October 19, 2011, 07:28 |
Paraview 3.8 on Fedora 15 Qt 4.7
|
#9 |
New Member
Join Date: Oct 2011
Posts: 1
Rep Power: 0 |
Had the problem with NOTFOUND QT_QTASSISTANTCLIENT_INCLUDE_DIR (ADVANCED) on Fedora 15. Installing qt-webkit, qt-assistant, qt-assistant-adp and qt-assistant-adp-devel has solved the problem for me
Additionally I had to run: sed -i -e 's=ptrdiff_t=std::ptrdiff_t=' paraview-3.8.0/VTK/Utilities/vtkmetaio/metaUtils.cxx to get Paraview compiled (see http://www.cfd-online.com/Forums/ope...ra-15-x64.html) and had linked /usr/bin/qmake-qt4 to /usr/bin/qmake Thanks to the input from this forum |
|
June 16, 2012, 22:10 |
|
#10 | |
New Member
Chao.W
Join Date: Apr 2012
Posts: 10
Rep Power: 14 |
Quote:
Can you show me more details about how to downgrade to qt-4.6.3. I am quite new to Linux(ubuntu). I met the same problem. Thank you in advance. |
||
June 17, 2012, 06:28 |
|
#11 |
Disabled
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 15 |
Hi,
well, the process would be to uninstall the installed version using Code:
sudo apt-get remove [installed version package name] Code:
dpkg --get-selections | grep libqt Code:
dpkg -i [package.deb] Afterwards, remove the older package that was required to compile openfoam Code:
dpkg -r [package] Code:
sudo apt-get install [package name from the beginning / recent version from repos] a) this is a workaround, not a solution b) it would be better to fix the package requirement in the openfoam/parafoam sources c) my post from above, and the incident when it worked is now over half a year ago. Maybe the sources on openfoam.com are updated and you don't even need that fix anymore. So watch out for changes. I don't know if it is relevant here, but when building openfoam on OpenSuSE recently (openfoam provides precompiled rpm packages for OpenSuSE 12.1 btw.), I found this website very helpful: http://albertopassalacqua.com/?p=973 I hope this helps, regards, gt PS: Before typing all the commands I posted above, I recommend you try to find out what they really do, especially if you want to get to know the debian package manager apt better. You can either browse the web for that or use "man [command]" to display the manual page for the given command. Last edited by anon_i; June 18, 2012 at 08:33. |
|
Tags |
paraview qt compile error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ParaView 3.8 -- missing `update GUI option' | mirko | OpenFOAM Installation | 7 | August 12, 2011 11:32 |
Problems with visualization (bundled ParaView 3.8) in Ubuntu 10.04 | eiffleduarte | OpenFOAM | 1 | July 13, 2010 17:59 |
Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 | AlanR | OpenFOAM Installation | 8 | December 18, 2009 11:14 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |
[OpenFOAM] Paraview 3.4, ppa.launchpad.net and Ubuntu | francois | ParaView | 1 | May 29, 2009 09:07 |