COMP: missing linkage for ensightToFoam (ldd linker)

This commit is contained in:
Mark Olesen 2022-11-08 17:13:46 +01:00
parent 18216a4639
commit b9c15b8585
3 changed files with 12 additions and 7 deletions

View File

@ -1,7 +1,11 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/fileFormats/lnInclude \ -I$(LIB_SRC)/fileFormats/lnInclude \
-I$(LIB_SRC)/surfMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/conversion/lnInclude -I$(LIB_SRC)/conversion/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lfileFormats \
-lsurfMesh \
-lmeshTools \
-lconversion -lconversion

View File

@ -35,8 +35,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef ensightMeshReader_H #ifndef Foam_ensightMeshReader_H
#define ensightMeshReader_H #define Foam_ensightMeshReader_H
#include "meshReader.H" #include "meshReader.H"
//#include "ensightReadFile.H" //#include "ensightReadFile.H"
@ -46,6 +46,7 @@ SourceFiles
namespace Foam namespace Foam
{ {
// Forward Declarations
class ensightReadFile; class ensightReadFile;
namespace fileFormats namespace fileFormats
@ -59,7 +60,7 @@ class ensightMeshReader
: :
public meshReader public meshReader
{ {
// Private data // Private Data
//- Merge distance //- Merge distance
const scalar mergeTol_; const scalar mergeTol_;
@ -168,13 +169,13 @@ public:
// Access // Access
//- Original node id (if supplied) or -1 //- Original node id (if supplied) or -1
inline const labelList& nodeIds() const const labelList& nodeIds() const noexcept
{ {
return nodeIds_; return nodeIds_;
} }
//- Original element id (if supplied) or -1 //- Original element id (if supplied) or -1
inline const labelList& elementIds() const const labelList& elementIds() const noexcept
{ {
return elementIds_; return elementIds_;
} }