|
[Sponsors] |
July 19, 2021, 13:23 |
Need Help: Solver Compilation error
|
#1 |
New Member
Avinash Kumar Verma
Join Date: Jul 2021
Posts: 5
Rep Power: 5 |
Hello everyone. Hope you are doing well in these tough times. I have just started working on OpenFOAM-v2012 and while compiling a solver I am getting the following error:
/home/avinash/OpenFOAM/OpenFOAM v2012/ThirdParty/platforms/linux64/gcc-6.3.0/include/c++/6.3.0/x86_64-pc-linux-gnu/bits/os_defines.h:39:22: fatal error: features.h: No such file or directory #include <features.h> ^ compilation terminated. Can anyone help me solve this problem. Thank you. |
|
July 19, 2021, 16:07 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
You should look for features.h . May bit is at another place.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
July 19, 2021, 16:14 |
|
#3 |
New Member
Avinash Kumar Verma
Join Date: Jul 2021
Posts: 5
Rep Power: 5 |
I don't know. I tried to compile my solver using 'wmake' command. And this is the error it keeps displaying.
|
|
July 19, 2021, 17:11 |
|
#4 |
Senior Member
|
Guess, the question should be, what compiler do you use for compilation? features.h header is glibc extension (according to https://stackoverflow.com/a/53412982).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
[swak4Foam] swak4foam openfoam 7 installation problem | Andrea23 | OpenFOAM Community Contributions | 1 | February 17, 2020 19:11 |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |