I have got the following error
I have got the following error while recompiling using wmake in trisurface directory:
SOURCE=triSurface/interfaces/STL/readSTL.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/caelinux/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/readSTL.o SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; flex++ -f $SOURCE ; mv lex.yy.cc Make/linuxGccDPOpt/readSTLASCII.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/caelinux/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c Make/linuxGccDPOpt/readSTLASCII.C -o Make/linuxGccDPOpt/readSTLASCII.o /bin/sh: flex++: command not found mv: cannot stat `lex.yy.cc': No such file or directory g++: Make/linuxGccDPOpt/readSTLASCII.C: No such file or directory g++: no input files make: *** [Make/linuxGccDPOpt/readSTLASCII.o] Error 1 Similar error is coming when I am compiling finiteVolume directory of the source. Can anybody comment? regards, nishant |
Hello Nishant,
I think your p
Hello Nishant,
I think your problem (/bin/sh: flex++: command not found) is encountered very frequently on this forum. The answer is always the same: install flex++Dragos |
Thanks Dragos,
In fact I h
Thanks Dragos,
In fact I have flex++ already installed. I can see this at /usr/bin/flex++ [343880@w191-210 Desktop]$ whereis flex++ flex++: /usr/bin/flex++ /usr/share/man/man1/flex++.1.gz Do I need to make any link for flex++ to some other location? Please suggest. Nishant |
Hi Nishant,
Did you solve t
Hi Nishant,
Did you solve the problem with flex++ Best regards, Rita |
All times are GMT -4. The time now is 10:27. |