|
[Sponsors] |
|
May 24, 2009, 16:32 |
svn rev 1263 does not compile
|
#1 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Hello devs!
After updating OpenFoam-1.5-dev to revision 1263 "wmake libso OpenFOAM" fails. The compiler complains that lnInclude/ggiGAMGInterfaceTemplates.C cannot be found. Manually creating a symbolic link fixes the problem, so I'm wondering if the link in lnInclude was not committed by accident. -Anton |
|
May 25, 2009, 03:22 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,689
Rep Power: 40 |
Quote:
The files in lnInclude are normally linked in as part of the wmake process. Of course, if extra C/H files have been added since the last of wmake, they won't get linked in at all. If you examine src/Allwmake, you'll notice how they avoid a similar sort of problem by using "wmakeLnInclude -f OpenFOAM" first. To avoid these sort of problems in general, you use the following snippet after any major code reorganization: Code:
$ find -name lnInclude -exec wmakeLnInclude -f {} \; |
||
May 25, 2009, 12:54 |
|
#3 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
I did use the Allwmake script in src/. Looking at it I see it does not use the "-f" flag, so my lnInclude directory was not updated. Good to know though that i can manually run wmakeLnInclude instead of creating the links on my own.
Consider the matter resolved, thank you Mark. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 04:20 |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
DUNS compile with VC++, VF or gcc/g77 in PC | Ali Irvi | Main CFD Forum | 17 | August 6, 2014 09:19 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
141dev svn repository | egp | OpenFOAM Installation | 1 | August 25, 2008 16:10 |