|
[Sponsors] |
Can't add 3rd header filed through Make/options |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
October 11, 2017, 07:26 |
Can't add 3rd header filed through Make/options
|
#1 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22 |
Hello,
Recently (after upgrading to openfoam5 and gcc 5.4 and now gcc 6.3) I started running into wmake compile issues e.g. with turbulence models. The problem is, that when I add additional header file locations to Make/options, their content is ignored EXE_INC = \ -I$(LIB_SRC)/OpenFOAM/lnInclude \ -I$/usr/local/header_source_A/include \ >> this has NO effect, header files included in my source code are not found -I$/opt/header_source_B/include >> this has NO effect, header files included in my source code are not found Header files located in /usr/local/header_source_A/include, including header files from /opt/header_source_B/include don't find them. The latter problem includes to some extend the openfoam5/src too but here, I have the impression, that a (substantial) number of symbolic links to lnInclude directories are missing. I reinstalled openfoam5 which had no effect on the problem. The only thing that works is using absolute paths which is impractical. How can I add 3rd party header file locations (directories containing header files) for usage with openfoam5 wmake? Klaus |
|
November 9, 2017, 13:20 |
|
#2 |
New Member
Qi Yang
Join Date: Oct 2017
Posts: 6
Rep Power: 8 |
I don't think you should add $ before /usr/... and /opt/...
just write -I/usr/local/header_source_A/include \ -I/opt/header_source_B/include |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PyFoam] and paraview | eelcovv | OpenFOAM Community Contributions | 28 | May 30, 2016 09:23 |
How to add a new header (.h) in a UDF | upeksa | Fluent UDF and Scheme Programming | 1 | March 25, 2015 05:49 |
How to add 3rd region to chtMultiRegionFoam | benk | OpenFOAM | 1 | April 3, 2010 17:22 |
add filed to OpenFOAM | sven82 | OpenFOAM Running, Solving & CFD | 2 | April 28, 2009 06:14 |
how to add header file | shanu | FLUENT | 1 | February 14, 2006 09:00 |