CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Trisurface compilation error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 27, 2008, 22:50
Default I have got the following error
  #1
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 165
Rep Power: 8
nishant_hull is on a distinguished road
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
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   April 28, 2008, 02:26
Default Hello Nishant, I think your p
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
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
dmoroian is offline   Reply With Quote

Old   April 28, 2008, 11:34
Default Thanks Dragos, In fact I h
  #3
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 165
Rep Power: 8
nishant_hull is on a distinguished road
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
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   May 29, 2008, 04:10
Default Hi Nishant, Did you solve t
  #4
mss
Guest
 
Posts: n/a
Hi Nishant,

Did you solve the problem with flex++

Best regards,
Rita
  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
UDF compilation error Hari FLUENT 0 February 22, 2008 14:40
Compilation error skabilan OpenFOAM Installation 1 September 17, 2007 13:33
Compilation error CFX 11 Beth CFX 0 July 26, 2007 19:36
Compilation error Karthick FLUENT 5 April 16, 2004 13:36
compilation error M.A. Rakib FLUENT 5 June 21, 2000 10:28


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