CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Personal library compilation

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

LinkBack Thread Tools Display Modes
Old   September 12, 2007, 08:53
Default Hej, I have some problems add
Posts: n/a
I have some problems add my own library, during compilation the code produced a lot of errors. I think I'm missing something with files/options but, unfortunately, I could not find where the error .
I have copied the standard openFoam library to my path :

then I made some changes in Make/files:

basicThermo = basicThermo


LIB = $(FOAM_USER_LIBBIN)/libbasicThermophysicalModelsTIG

after that some changes in Make/options:
-I$(LIB_SRC)/finiteVolume/lnInclude \



I have removed the linux64Gcc4DPOpt, files with *.dep

I used this command to compile the library: wmake libso

But unfortunately, during the compilation, the code produced a lot of errors like:

basicThermo/basicThermo.C:90: error: 'mixedEnthalpyFvPatchScalarField'
cannot appear in a constant-expression
basicThermo/basicThermo.C:90: error: no matching function for call to

Do you have any hints where I might done something wrong?

Thank you in advance.
  Reply With Quote

Old   September 13, 2007, 06:10
Default Hi, Rita In basic/ directry
New Member
Masato Otsuki
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 26
Rep Power: 10
otsuki is on a distinguished road
Hi, Rita

In basic/ directry,
basicThermo/basicThermo.C refferes
You can confirm the dependency by investigating
basicThermo/basicThermo.dep after "wmake libso"
in basic/ directry.

The easiest way is to copy whole basic/ directry
to your user space.

otsuki is offline   Reply With Quote


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
Problems in personal library compilation shrina OpenFOAM 3 February 23, 2009 12:12
Advertising and Personal Promotion in the CFD-Wiki Jonas Larsson CFD-Wiki 0 November 20, 2005 20:20
Library JB Phoenics 0 June 20, 2004 15:12
Integration with personal code! Deepak FLUENT 2 August 12, 2002 10:53
personal support Dolker Siemens 1 July 30, 2001 13:18

All times are GMT -4. The time now is 13:07.