2018-07-16 17:08 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002721OpenFOAM[All Projects] Bugpublic2017-10-13 11:37
Assigned Tohenry 
StatusclosedResolutionunable to reproduce 
Platformi7OSUbuntuOS Version16.04
Product Version5.0 
Target VersionFixed in Version 
Summary0002721: Header file directory includes in Make/options are completely ignored by wmake
DescriptionI use customized turbulence models and solvers a lot:

Any directory include to include additional header files through Make/options are ignored by wmake when compiling via "wmake libso" with gcc 6.3. Files are not found. Trouble started with gcc 5.4 but was not as severe.

This applies partially to openfoam5/src lnInclude directories and always to 3rd party libraries like ViennaCL.

    -I$/path_to_viennacl_header_file_directory \

is ignored.

#include "jacobi_precond.hpp" doesn't work

Only header file includes of 3rd party libraries with absolute path work:
#include "/home/klaus/OpenFOAM/klaus-5.0/viennacl/linalg/jacobi_precond.hpp"

Regarding 3rd party libraries, "make" works fine, I compiled numerous applications without any issues. Same with cuda-9.0 where linking the shared library works, while the header files are not found.

Shared library includes work fine IF they are included in /etc/ld.so.conf.d

I checked whether there's a problem with permissions but that's not the case as make works fine.

I reinstalled openfoam5 and started from scratch but that didn't help.
Steps To ReproduceTry to include a directory containing 3rd party header files e.g. in the code of an existing turbulence model.
Additional InformationI assume with gcc 5.4 and now 6.3 something is broken which accesses the PATH or other relevant include path.
TagsNo tags attached.
Attached Files




henry (reporter)

    -I$/path_to_viennacl_header_file_directory \

is incorrect, it is not clear why the path in prepended by a '$'.

    -I/path_to_viennacl_header_file_directory \

is correct.

-Issue History
Date Modified Username Field Change
2017-10-12 10:21 klausb New Issue
2017-10-12 10:36 henry Note Added: 0008859
2017-10-13 11:37 henry Assigned To => henry
2017-10-13 11:37 henry Status new => closed
2017-10-13 11:37 henry Resolution open => unable to reproduce
+Issue History