View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002721 | OpenFOAM | Bug | public | 2017-10-12 10:21 | 2017-10-13 11:37 |
Reporter | klausb | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | random |
Status | closed | Resolution | unable to reproduce | ||
Platform | i7 | OS | Ubuntu | OS Version | 16.04 |
Summary | 0002721: Header file directory includes in Make/options are completely ignored by wmake | ||||
Description | I 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. E.g. EXE_INC = \ -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 Reproduce | Try to include a directory containing 3rd party header files e.g. in the code of an existing turbulence model. | ||||
Additional Information | I assume with gcc 5.4 and now 6.3 something is broken which accesses the PATH or other relevant include path. | ||||
Tags | No tags attached. | ||||