CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Need Help: Solver Compilation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2021, 12:23
Default Need Help: Solver Compilation error
  #1
New Member
 
Avinash Kumar Verma
Join Date: Jul 2021
Posts: 5
Rep Power: 4
avinashv20 is on a distinguished road
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.
avinashv20 is offline   Reply With Quote

Old   July 19, 2021, 15:07
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   July 19, 2021, 15:14
Default
  #3
New Member
 
Avinash Kumar Verma
Join Date: Jul 2021
Posts: 5
Rep Power: 4
avinashv20 is on a distinguished road
I don't know. I tried to compile my solver using 'wmake' command. And this is the error it keeps displaying.
avinashv20 is offline   Reply With Quote

Old   July 19, 2021, 16:11
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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).
alexeym is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 18:11
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43


All times are GMT -4. The time now is 23:12.