|
[Sponsors] |
[OpenFOAM.org] wmake doesnt recognize subfolders |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2024, 11:22 |
wmake doesnt recognize subfolders
|
#1 |
New Member
Join Date: Feb 2024
Posts: 12
Rep Power: 2 |
Hello,
I would like to compile a Cantera library. However, when using wmake I get the following error messages that it cannot find many header files Code:
could not open file Reactor.h for source file CanteraSolvers.C due to No such file or directory could not open file ReactorBase.h for source file CanteraSolvers.C due to No such file or directory could not open file IdealGasReactor.h for source file CanteraSolvers.C due to No such file or directory could not open file ConstPressureReactor.h for source file CanteraSolvers.C due to No such file or directory could not open file FlowDevice.h for source file CanteraSolvers.C due to No such file or directory could not open file Phase.h for source file CanteraSolvers.C due to No such file or directory could not open file MultiSpeciesThermo.h for source file CanteraSolvers.C due to No such file or directory could not open file StoichManager.h for source file CanteraSolvers.C due to No such file or directory could not open file ct_defs.h for source file CanteraSolvers.C due to No such file or directory could not open file config.h for source file CanteraSolvers.C due to No such file or directory could not open file ThermoPhase.h for source file CanteraSolvers.C due to No such file or directory could not open file Kinetics.h for source file CanteraSolvers.C due to No such file or directory could not open file MultiRate.h for source file CanteraSolvers.C due to No such file or directory could not open file SparseCore for source file CanteraSolvers.C due to No such file or directory could not open file OrderingMethods for source file CanteraSolvers.C due to No such file or directory could not open file SparseCholesky for source file CanteraSolvers.C due to No such file or directory could not open file SparseLU for source file CanteraSolvers.C due to No such file or directory could not open file SparseQR for source file CanteraSolvers.C due to No such file or directory could not open file IterativeLinearSolvers for source file CanteraSolvers.C due to No such file or directory could not open file core.h for source file CanteraSolvers.C due to No such file or directory could not open file format-inl.h for source file CanteraSolvers.C due to No such file or directory could not open file format.h for source file CanteraSolvers.C due to No such file or directory Code:
#!/bin/sh export PYBIND11_INC_DIR=$(python3 -m pybind11 --includes) export PYBIND11_LIB_DIR=$(python3 -c 'from distutils import sysconfig; print(sysconfig.get_config_var("LIBDIR"))') export CANTERA_INC_DIR="/home/user/miniconda3/envs/openfoam/include" export CANTERA_LIB_DIR="/home/user/miniconda3/envs/openfoam/lib" export OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$PYBIND11_LIB_DIR:$CANTERA_LIB_DIR:$LD_LIBRARY_PATH Code:
EXE_INC = \ -I$(LIB_SRC)/physicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/multicomponentThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/functions/Polynomial \ -I$(LIB_SRC)/ODE/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(CANTERA_INC_DIR) \ -Wno-unused-variable \ -Wno-old-style-cast \ -std=c++17 If I specify these paths separately, it will also find the files. But this is very complicated. I would be grateful for any help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Installing OpenFOAM on hpc | nang19960916 | OpenFOAM Installation | 1 | November 25, 2022 19:52 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |