|
[Sponsors] |
January 25, 2011, 15:41 |
How to link to fvPatchField<double>?
|
#1 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Hi,
I am trying to recompile an OF PatchField, and I am getting a bunch of `undefined reference' errors: Code:
(.text+0x20): undefined reference to `main' Make/linux64GccDPOpt/oscillatingFixedValueFvPatchFields.o: In function `global constructors keyed to oscillatingFixedValueFvPatchFields.C': oscillatingFixedValueFvPatchFields.C:(.text+0x1217): undefined reference to `Foam::fvPatchField<double>::constructpatchConstructorTables()' oscillatingFixedValueFvPatchFields.C:(.text+0x1232): undefined reference to `Foam::fvPatchField<double>::patchConstructorTablePtr_' oscillatingFixedValueFvPatchFields.C:(.text+0x1255): undefined reference to `Foam::fvPatchField<double>::constructpatchMapperConstructorTables()' Foam::fvPatchField<Foam::Vector<double> Foam::fvPatchField<Foam::SphericalTensor<double> Foam::fvPatchField<Foam::SymmTensor<double> I found them in doxygen, but I cannot figure out in what library they reside. What do I need to add to my Make/options? I have (copied from OF sources): Code:
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/triSurface/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude LIB_LIBS = \ -lfiniteVolume \ -ltriSurface \ -lmeshTools Thanks, Mirko |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Link faces meshes for periodic BC with ANSYS WORKBENCH | mawi01 | ANSYS Meshing & Geometry | 5 | March 13, 2016 14:10 |
OpenFOAM sub-forum link seems to be damaged | wyldckat | Site Help, Feedback & Discussions | 1 | September 12, 2010 05:58 |
methoden link to other Codefile | sven82 | OpenFOAM | 0 | October 9, 2009 06:32 |
ReleaseNotes13 website link problem | maka | OpenFOAM | 2 | November 22, 2006 05:32 |
hard link mesh | jojo | FLUENT | 5 | March 15, 2006 16:40 |