compile a library
Hello everyone,
I am new to OpenFOAM, i wnat to implement new solver to OpenFOAM, my solver base on some library in openFOAM-v2106, so i copy this library to my OpenFOAM-dev folder but when i use wmake, openfoam cannot find this library Code:
/home/hieppc/foam/OpenFOAM-dev/src/thermophysicalModels/basic/lnInclude/basicThermo.H:65:10: fatal error: physicalProperties.H: No such file or directory But the output is only wmake libso . Code:
wmake libso . |
Quote:
You don't need to copy the OpenFOAM sources anywhere, you need to appropriate include and link information available. This information is conveyed through the Make/options EXE_INC entry. It would be much, much too long to list everything that you will possibly need but the contents would at least have these lines: Code:
EXE_INC = \ |
Quote:
Code:
EXE_INC = \ |
i have solved this problem by using wclean and rerun wmake libso again.
Now i have another question: I copy src/foam from foam extend to OpenFOAM-dev/src/foam and run wmake libso and terminal tell me it can not create file. I tried to super user and set permission to 777 but cannot resolve it. Code:
hieppc@ubuntu:~/foam/OpenFOAM-dev/src/foam$ wmake libso |
If possible show the Make/file file
|
All times are GMT -4. The time now is 15:51. |