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

[swak4Foam] problem in compiling groovyBC in OpenFoam 1.71

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2011, 07:23
Default problem in compiling groovyBC in OpenFoam 1.71
  #1
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 13
javad814 is on a distinguished road
hello every body
i have downloaded all the source files from link below that is on http://openfoamwiki.net/index.php/Contrib_groovyBC


svn checkout https://openfoam-extend.svn.sourcefo...aries/groovyBC

and save them in a file ex: groovy
then in terminal write :
javad@javad-H61M-D2P-B3:~$ cd groovy/
javad@javad-H61M-D2P-B3:~/groovy$ wmake libso
but it didn't run and this error has shown


\\
javad@javad-H61M-D2P-B3:~$ cd groovy/
javad@javad-H61M-D2P-B3:~/groovy$ wmake libso
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file PatchResult.C
Making dependency list for source file PatchValueExpressionParser.yy
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy
Making dependency list for source file PatchValueExpressionLexer.ll
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll
Making dependency list for source file PatchValueExpressionDriver.C
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C
Making dependency list for source file groovyBCFvPatchFields.C
could not open file PatchValueExpressionParser.tab.hh for source file groovyBCFvPatchFields.C
Making dependency list for source file groovyBCPointPatchFields.C
could not open file MixedPointPatchField.H for source file groovyBCPointPatchFields.C
could not open file PatchValueExpressionParser.tab.hh for source file groovyBCPointPatchFields.C
could not open file PointPatchFieldMapper.H for source file groovyBCPointPatchFields.C
SOURCE=PatchResult.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -IMake/linuxGccDPOpt -I/opt/openfoam171/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/PatchResult.o
PatchResult.C: In member function ‘void Foam::PatchResult::uglyDelete()’:
PatchResult.C:95:20: warning: deleting ‘void*’ is undefined
SOURCE=PatchValueExpressionParser.yy ; rm -f Make/linuxGccDPOpt/PatchValueExpressionParser.C Make/linuxGccDPOpt/PatchValueExpressionParser.tab.hh; bison -ra -v -d $SOURCE ; mv *.tab.cc Make/linuxGccDPOpt/PatchValueExpressionParser.C ; mv *.tab.hh Make/linuxGccDPOpt/PatchValueExpressionParser.tab.hh ; mv *.hh Make/linuxGccDPOpt ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -IMake/linuxGccDPOpt -I/opt/openfoam171/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linuxGccDPOpt/PatchValueExpressionParser.C -o Make/linuxGccDPOpt/PatchValueExpressionParser.o
/bin/sh: bison: not found
mv: cannot stat `*.tab.cc': No such file or directory
mv: cannot stat `*.tab.hh': No such file or directory
mv: cannot stat `*.hh': No such file or directory
g++: Make/linuxGccDPOpt/PatchValueExpressionParser.C: No such file or directory
g++: no input files
make: *** [Make/linuxGccDPOpt/PatchValueExpressionParser.o] Error 1
\\

i have done this many times and in all of them i have faced this error
i must do something else before it ?!

javad814 is offline   Reply With Quote

Old   July 28, 2011, 12:22
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,214
Rep Power: 49
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by javad814 View Post

<snipped>

Make/linuxGccDPOpt/PatchValueExpressionParser.C -o Make/linuxGccDPOpt/PatchValueExpressionParser.o
/bin/sh: bison: not found
mv: cannot stat `*.tab.cc': No such file or directory
mv: cannot stat `*.tab.hh': No such file or directory
mv: cannot stat `*.hh': No such file or directory
g++: Make/linuxGccDPOpt/PatchValueExpressionParser.C: No such file or directory
g++: no input files
make: *** [Make/linuxGccDPOpt/PatchValueExpressionParser.o] Error 1
\\

i have done this many times and in all of them i have faced this error
i must do something else before it ?!

The important words are "bison: not found". Read the requirements
gschaider is offline   Reply With Quote

Old   July 29, 2011, 07:20
Default
  #3
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 13
javad814 is on a distinguished road
Thank u for your answer but I didn't have this problem in Ubuntu 10.10 .Is this problem because of the version of Ubuntu (11.04)?
I don't know what bison is? Can you give me a link to know this and how to install it?
(I couldn't find any useful page in web that suitable for my problem)
javad814 is offline   Reply With Quote

Old   July 29, 2011, 16:04
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,265
Blog Entries: 1
Rep Power: 22
nimasam is on a distinguished road
write some thing like this in commad line to download and install it:
sudo install apt-get binson

or go to synaptic package and search it and mark it for download and install!
nimasam is offline   Reply With Quote

Old   July 31, 2011, 04:33
Default
  #5
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 13
javad814 is on a distinguished road
Thank you Nima i installed it from synaptic
javad814 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
[Other] Openfoam for windows 16.02 [CFD support] -problem with paraview ditmeyer OpenFOAM Installation 3 May 15, 2017 12:04
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
Problem compiling OpenFOAM on AIX 53 haunschmid OpenFOAM Installation 1 October 17, 2006 12:58


All times are GMT -4. The time now is 15:35.