CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

compiling the Pv3FoamReader

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2009, 00:09
Default compiling the Pv3FoamReader
  #1
New Member
 
luke
Join Date: Sep 2009
Posts: 2
Rep Power: 0
luke86 is on a distinguished road
Hi i am attempting to install OpenFOAM on ubuntu 9.04 but this has proven quite difficult considering my limited skills in using linux. following the readme file i have managed to install OpenFOAM correctly however when i attempt paraFoam it comes up with an an error saying paraview not found,
following the readme file again i attempted to compile paraview from sources, when that didnt work i downloaded and installed qt-x11-opensource-src-4.3.5 in the third party directory as the readme file has told me to do and then compiled paraview using:
makeParaView -qmake <path_to_qmake>

this has appeared to of worked however when i try and recompile the Pv3FoamReader i get:
Qt QTGUI library not found.
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:
OPENGL_INCLUDE_DIR
used as include directory in directory /home/luke/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader

-- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found. Stop

in addition if i try and use the foamToVTK comand and then open using paraview it still comes up with paraview not found.

any help would be most appreciated keeping in mind that i am new to linux.
luke86 is offline   Reply With Quote

Old   September 27, 2009, 10:49
Default openfoam-in-linux
  #2
New Member
 
Join Date: Sep 2009
Location: IIT Kharagpur
Posts: 10
Rep Power: 16
nimbus1947 is on a distinguished road
hi
ive installed the binary of the openfoam in linux and it works pretty well.Follow the link which ive posted...
foam-installation.
but i haven't compiled from the source as you tried.
Any way wishes....
nimbus1947 is offline   Reply With Quote

Old   September 28, 2009, 02:23
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Luke,

You seem to be missing some OpenGL (and possibly mesa) libraries (libqt4-opengl and libqt4-opengl-dev and those kind of things). Just install the whole bunch that is listed in this post. Hope it helps.

Regards,

Gijs
gwierink is offline   Reply With Quote

Old   September 28, 2009, 04:57
Default
  #4
New Member
 
luke
Join Date: Sep 2009
Posts: 2
Rep Power: 0
luke86 is on a distinguished road
just for anyone who might be experiencing the same problem as me i fixed it by downloading and installing paraview by using the command:
sudo apt-get install paraview

it then downloaded and installed all the missing libraries as well as installing paraview and now paraview and the paraFoam command works fine

a ridiculously easy solution considering the time i spent trying to correct the problem, thanks for the point in the right direction gwierink
luke86 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM-1.6.x PV3FoamReader build failure. aunola OpenFOAM Installation 2 September 5, 2009 08:22
Help PV3FoamReader compile error zzli OpenFOAM Bugs 7 June 30, 2009 15:57
Compiling paraview 33 and pv3foamreader module mcjicpm2 OpenFOAM Installation 1 March 19, 2009 10:59
Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100 sponiar OpenFOAM Running, Solving & CFD 3 February 26, 2008 06:31
Discussing UDF and C++ Compiling Big Stone FLUENT 9 April 12, 2004 15:07


All times are GMT -4. The time now is 03:56.