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

compile a library

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 22, 2021, 05:04
Default compile a library
  #1
Member
 
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 7
hiep.nguyentrong is on a distinguished road
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
   65 | #include "physicalProperties.H"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Next step, I copy a folder src/thermophysicalModels/basic to OpenFOAM-dev then run wmake libso
But the output is only wmake libso .
Code:
wmake libso .
I dont know what should i do. Pls help me
hiep.nguyentrong is offline   Reply With Quote

 


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
Compile the UDF by linking along with an external static library Abhinand Fluent UDF and Scheme Programming 6 June 15, 2020 13:23
Forcing a solver to use your custom library. cdunn6754 OpenFOAM Programming & Development 0 March 30, 2017 16:05
how to compile new thermodynamic library (basicPsiThermo) megacrout OpenFOAM 1 February 2, 2012 03:57
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
Compile of the library is so slow liu OpenFOAM Running, Solving & CFD 1 July 15, 2005 02:49


All times are GMT -4. The time now is 21:41.