|
[Sponsors] |
[swak4Foam] [solved]fatal error: meshToMesh.H: No such file or directory (under OpenFOAM2212) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 3, 2023, 21:45 |
[solved]fatal error: meshToMesh.H: No such file or directory (under OpenFOAM2212)
|
#1 |
New Member
Join Date: Apr 2023
Posts: 11
Rep Power: 3 |
Hello,
I installed swak4Foam under the path like this "/home/user/swak4Foam" in OpenFOAM 2212. And swak4Foam works now by typing "FunkySetFields". When I use swak4Foam in a new solver (mySolver/mySolver.C) HTML Code:
#include "fvCFD.H" #include "expressionSource.H" ... (mySolver/Make/files) HTML Code:
mySolver.C EXE = $(FOAM_USER_APPBIN)/mySolver (mySolver/Make/options) HTML Code:
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I../../../../../swak4Foam/Libraries/swak4FoamParsers/lnInclude/ \ -I../../../../../swak4Foam/Libraries/swakSourceFields/lnInclude/ EXE_LIBS = \ -lfiniteVolume \ -lmeshTools \ -lswak4FoamParsers \ -lswakSourceFields There would be en fatal error HTML Code:
In file included from ../../../../../swak4Foam/Libraries/swak4FoamParsers/lnInclude/CommonValueExpressionDriver.H:78, from ../../../../../swak4Foam/Libraries/swak4FoamParsers/lnInclude/FieldValueExpressionDriver.H:57, from ../../../../../swak4Foam/Libraries/swakSourceFields/lnInclude/expressionSource.H:43, from laserAblation01.C:47: ../../../../../swak4Foam/Libraries/swak4FoamParsers/lnInclude/MeshesRepository.H:48:10: fatal error: meshToMesh.H: No such file or directory 48 | #include "meshToMesh.H" | ^~~~~~~~~~~~~~ compilation terminated. (It seems like swak4Foam cannot link to the libraries of OpenFOAM entirely.) How to fix the error then? Thank you very much for any help! Ary Last edited by Ary; April 3, 2023 at 22:24. Reason: Solved |
|
April 3, 2023, 22:25 |
|
#2 |
New Member
Join Date: Apr 2023
Posts: 11
Rep Power: 3 |
Library of sampling is also needed in Make/options
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |