CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Pls help last problem to be solved for installing OPENfoam (http://www.cfd-online.com/Forums/openfoam-installation/57289-pls-help-last-problem-solved-installing-openfoam.html)

daydayuper November 7, 2008 11:21

HI Follow all the instruction
 
HI
Follow all the instructions of openfoam and related experience of others, and I have reached here, don;t know how to handle.
I find very strange while compiling openfoam with the following errors:
################################################## ##################
/home/dingliang/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:68: 68: error: iostream.h: no such file or directory
/home/dingliang/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:69: 23: error: iomanip.h: no such file or directory
/home/dingliang/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:70: 70: error: fstream.h: no such file or directory
/home/dingliang/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:129 :58: error: strstream.h: no such file or directory
..
################################################## ######################
i am quite new in Linux. But i just find in gcc directory and there exists iostream.h and other files. except the above errors, no other related errors. so pls someone could help?

Many thanks in advance!

Lding

daydayuper November 8, 2008 03:16

I USE UBUNTU 8.10 and have ins
 
I USE UBUNTU 8.10 and have installed related libraries. can someone give some advice? Thanks.

fra76 November 8, 2008 03:48

As an attempt, you can go in P
 
As an attempt, you can go in Paraview3.3-cvs/platforms/[your_platform] and run "ccmake .". In the configuration window, toggle advanced mode on pressing "t" and look for CMAKE_CXX_FLAGS and CMAKE_C_FLAGS and modify them by adding: "-I/path/to/ThirdParty/gcc-4.3.1/platforms/yourplatform/include" or wherever your include directory containing missing headers is.
Then, press "c" to configure and "g" to generate and exit. Go back to ThirdParty directory and run buildParaView3.3-cvs with any argument, to avoid reconfiguring (for example, "buildParaView3.3-cvs 1").
If you are lucky enough, this could resolve your problem...

Francesco

daydayuper November 8, 2008 13:11

Francesco I really apprecia
 
Francesco
I really appreciate yr help and it worked. Thank you. BUT here when compling paraview, I met a new problem:
###
...
-- Looking for strtoll
-- Looking for strtoll - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Check if system supports 64 bit streams
-- Check if system supports 64 bit streams - yes
-- Found Qt-Version 4.3.2
-- Found Qt-Version 4.3.2
-- Application: default ParaView Client enabled
-- Application: Custom Server enabled
-- Application: DobranoViz enabled
-- Plugin: Prism enabled
-- Found Qt-Version 4.3.2
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
OPENGL_INCLUDE_DIR (ADVANCED)

...
##########
seemed it can't find opengl? But i dn't know how to do.I googled it and serached my OS but can't find gl.h? some library not installed?
THANKS AGAIN

fra76 November 9, 2008 05:07

Hi Iding, now depends on your
 
Hi Iding,
now depends on your operating system. You have to install a package for developing graphical application. Something like x11-....-devel.
I'm on a Mac, now, and I cannot check a Linux installation.

Hope this helps, even if it's not so much...

Francesco

gwierink November 9, 2008 05:59

Hi lding, This should conta
 
Hi lding,

This should contain the right packages (at least on Fedora, in Ubuntu just grab anything with X11-..-devel via Synaptic):

yum groupinstall "X Software Development"

Rgds, Gijsbert


All times are GMT -4. The time now is 19:20.