|
[Sponsors] |
[swak4Foam] problem in compiling groovyBC in OpenFoam 1.71 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 28, 2011, 08:23 |
problem in compiling groovyBC in OpenFoam 1.71
|
#1 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
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 ?! |
|
July 28, 2011, 13:22 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
July 29, 2011, 08:20 |
|
#3 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
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) |
|
July 29, 2011, 17:04 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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! |
|
July 31, 2011, 05:33 |
|
#5 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
Thank you Nima i installed it from synaptic
|
|
|
|
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 13:04 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
Problem compiling OpenFOAM on AIX 53 | haunschmid | OpenFOAM Installation | 1 | October 17, 2006 13:58 |