CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Problem about wmake turbFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 21, 2007, 10:33
Default Hello everyone I am trying
  #1
New Member
 
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 8
williamscn is on a distinguished road
Hello everyone

I am trying to compile turbFoam case mentioned in the document. I followed the all steps in the manual. It seems that my lib path has some problem. In fact I can find the file in my computer. weiyan2@weiyan310:~/OpenFOAM/linux/gcc-4.1.2/include/c++/4.1.2>limits.h.

Could anybody give me some suggestion to change that?

rbFoam> wmake
Making dependency list for source file turbFoam.C
SOURCE=turbFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -W
no-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/
home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -I/home/weiyan2/Op
enFOAM/OpenFOAM-1.4/src/turbulenceModels -I/home/weiyan2/OpenFOAM/OpenFOAM-1.4/s
rc/transportModels -IlnInclude -I. -I/home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/Ope
nFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/turbFoam.o
In file included from /home/weiyan2/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686
-pc-linux-gnu/4.1.2/include/syslimits.h:7,
from /home/weiyan2/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686
-pc-linux-gnu/4.1.2/include/limits.h:11,
from /home/weiyan2/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686
-pc-linux-gnu/4.1.2/../../../../include/c++/4.1.2/climits:50,
from /home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude
/label.H:38,
from /home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude
/labelList.H:36,
from /home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude
/Pstream.H:45,
from /home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude
/OPstream.H:37,
from /home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude
/parRun.H:4,
from /home/weiyan2/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInc
lude/fvCFD.H:4,
from turbFoam.C:33:
/home/weiyan2/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/in
clude/limits.h:122:61: error: limits.h: No such file or directory.
williamscn is offline   Reply With Quote

Old   May 21, 2007, 19:54
Default Hi, Maybe you need the system
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi,
Maybe you need the system limits.h, in addition to the one that comes with GCC. Typically it's included in the glibc-devel package (the exact package name depends on your linux distribution).

Takuya
7islands is offline   Reply With Quote

Old   May 27, 2007, 15:34
Default Hi Takuya You are right!
  #3
New Member
 
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 8
williamscn is on a distinguished road
Hi Takuya

You are right!

Wei
williamscn is offline   Reply With Quote

Old   September 19, 2007, 11:55
Default Dear. weiyan Hi. I think I
  #4
New Member
 
Hyunchang Lee
Join Date: Mar 2009
Posts: 5
Rep Power: 8
hyunchang is on a distinguished road
Dear. weiyan

Hi. I think I have the same problem you had before. and could you explain more specifically about the procedure? what is glibc-devel package? what should I do to resolve this wmake problem?

thank you in advance.
i'll wait for any advice from you.

best wishes,

hyunchang.
hyunchang is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wmake ccm26ToFoam compilation problem under Ubuntu x64 810 kprzysowagmailcom OpenFOAM Installation 7 November 6, 2009 05:33
Wmake problem interFoam solver feijooos OpenFOAM Running, Solving & CFD 4 December 8, 2008 12:01
Wmake problem thumthae OpenFOAM Installation 12 December 3, 2008 10:30
Problem with turbFoam skabilan OpenFOAM Running, Solving & CFD 2 September 29, 2008 17:43
Problem with turbFoam sivakumar OpenFOAM Pre-Processing 7 August 28, 2008 04:45


All times are GMT -4. The time now is 16:10.